微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📈

加密货币与股票智能分析助手

trading-analyzer · vlatest
专业技能 安全 S 级 作者 Unknown 公开目录收录
下载 2.1k 安装 729 收藏 5.9k 浏览 63.5k
原始页面

简介

整合三大权威金融数据源,基于 MCP 协议提供加密货币与股票的统一技术分析与基本面研究,助力智能投资决策。

原始描述

Multi-source trading analyzer (`/drunk-trading-analyzer`) combining crypto data (TradingView), stock data (Alpha Vantage), and market intelligence (Yahoo Finance) into unified analysis reports with price trends, technical indicators, and sentiment analysis.

中文使用说明 来自收录源

Trading Analyzer Skill 综合评估

核心用法

trading-analyzer 是一款纯文档型 Skill(T-MD 分类),本身不包含可执行代码,而是提供标准化的 MCP 工具调用指南,帮助用户通过 mcporter 命令行工具整合三大金融数据源:TradingView(加密货币技术分析)、Alpha Vantage(股票基本面数据)、Yahoo Finance(市场新闻与情绪)。用户通过预定义的命令模板获取实时价格、技术指标(RSI、MACD、布林带)、成交量扫描、财报数据及新闻情绪分析,最终生成结构化的交易分析报告。

显著优点

  1. 多源数据整合:单一入口打通加密与股票市场,支持 Binance、KuCoin、Bybit 等主流交易所及美股行情
  2. 零代码安全架构:纯 Markdown 文档设计,无可执行脚本、无依赖包、无动态行为风险,获得 S 级安全认证
  3. MCP 生态兼容:基于 Model Context Protocol 标准,可与 Claude 等 AI Agent 无缝协作,实现自动化分析流水线
  4. 灵活的扫描策略:内置智能成交量扫描、突破检测、连续 K 线形态识别等进阶筛选工具
  5. 清晰的报告模板:预定义加密和股票两类输出格式,降低用户解读门槛

潜在局限

  1. 数据源依赖性:所有功能依赖外部 API 可用性,任一 MCP 服务器故障将导致对应模块失效
  2. API 成本门槛:Alpha Vantage 高频调用需付费 API key,Yahoo Finance 非官方接口存在稳定性风险
  3. 无内置缓存机制:虽建议 5 分钟窗口缓存,但需用户自行实现,重复查询可能触发速率限制
  4. 地区合规限制:部分交易所数据在特定司法管辖区可能受限,用户需自行确认合法性
  5. 非实时决策工具:技术分析滞后性本质未改变,不适合高频交易场景

适合人群

  • 个人投资者寻求结构化多资产分析框架
  • 量化研究者构建自动化投研 Agent
  • 金融教育场景演示技术分析方法论
  • 加密货币与股票并持的资产配置者

常规风险

  • 市场数据偏差风险:交易所数据延迟或异常可能误导技术指标计算
  • API 密钥泄露风险:用户需自行管理环境变量中的敏感凭证
  • 情绪化交易风险:AI 生成的"买入/卖出"建议可能强化确认偏误
  • 监管合规风险:加密货币交易在某些地区受严格限制,用户需自担合规责任
  • 第三方服务变更:MCP 服务器接口或数据政策更新可能导致功能中断

技能正文


name: trading-analyzer description: Multi-source trading analyzer (/drunk-trading-analyzer) combining crypto data (TradingView), stock data (Alpha Vantage), and market intelligence (Yahoo Finance) into unified analysis reports with price trends, technical indicators, and sentiment analysis. metadata: { "openclaw": { "emoji": "📈", "os": ["darwin", "linux", "win32"], "mcp_servers": ["tradingview-mcp", "alphavantage", "yahoo-finance-server"], "description": "Uses MCP (Model Context Protocol) tools auto-discovered by mcporter for seamless integration with TradingView, Alpha Vantage, and Yahoo Finance APIs", }, }

Trading Analyzer Skill

Multi-source market analysis combining cryptocurrency and stock data with AI-powered insights.

Quick Start

Analyze Cryptocurrency

# List available TradingView tools
mcporter list tradingview-mcp

# Analyze a specific coin
mcporter call tradingview-mcp.coin_analysis symbol=BTCUSDT exchange=BINANCE timeframe=15m

# Find bullish coins
mcporter call tradingview-mcp.top_gainers exchange=BINANCE timeframe=4h limit=25

# Detect volume breakouts
mcporter call tradingview-mcp.volume_breakout_scanner exchange=KUCOIN timeframe=15m volume_multiplier=2.0

Analyze Stock

# List available Alpha Vantage and Yahoo Finance tools
mcporter list alphavantage
mcporter list yahoo-finance-server

# Get company fundamentals
mcporter call alphavantage.get_ticker_info symbol=AAPL

# Fetch latest news
mcporter call yahoo-finance-server.get_ticker_news symbol=AAPL count=10

# Get stock price history
mcporter call alphavantage.get_price_history symbol=AAPL period=1y interval=1d

# Get earnings data
mcporter call alphavantage.ticker_earning symbol=AAPL period=quarterly

Common Use Cases

1. Quick Crypto Analysis

# 1. Get immediate technical overview
mcporter call tradingview-mcp.coin_analysis symbol=BTCUSDT

# 2. Identify breakout opportunities
mcporter call tradingview-mcp.smart_volume_scanner \
  exchange=BINANCE min_volume_ratio=2.0 min_price_change=2.0

# 3. Find bullish signals
mcporter call tradingview-mcp.top_gainers exchange=BINANCE timeframe=4h

2. Fundamental Stock Research

# 1. Get company metrics
mcporter call alphavantage.get_ticker_info symbol=TSLA

# 2. Get sentiment from latest news
mcporter call yahoo-finance-server.get_ticker_news symbol=TSLA count=5

# 3. Confirm trend with historical data
mcporter call alphavantage.get_price_history symbol=TSLA period=1y interval=1d

3. Market Screening

Use crypto screeners to identify opportunities:

# Top performers
mcporter call tradingview-mcp.top_gainers exchange=BINANCE timeframe=1h limit=50

# Volume + momentum
mcporter call tradingview-mcp.smart_volume_scanner \
  exchange=KUCOIN min_volume_ratio=3.0 rsi_range=oversold

# Top stock sectors
mcporter call yahoo-finance-server.get_top_entities \
  entity_type=performing_companies sector=technology count=10

4. Consolidated Report

Combine multiple data sources for comprehensive analysis - use scripting or agent calls to orchestrate these tool calls together.

MCP Tools Reference

TradingView (Crypto Analysis)

Tool Purpose
coin_analysis Detailed analysis on specific coin (indicators, metrics)
smart_volume_scanner Volume + RSI + price change combination scan
volume_breakout_scanner Coins with volume and price breakouts
top_gainers Best performing coins (Bollinger Band filtered)
top_losers Worst performing coins
advanced_candle_pattern Progressive candle size patterns across timeframes
consecutive_candles_scan Growing/shrinking consecutive candles

Alpha Vantage (Stock Data)

Tool Purpose
get_ticker_info Company fundamentals, metrics, governance
get_price_history Historical OHLC data for trend analysis
ticker_earning Earnings data and upcoming dates

Yahoo Finance (Market Intelligence)

Tool Purpose
get_ticker_news Recent news articles with sentiment
get-top-entities Top stocks/ETFs by sector

Configuration

Exchange Options (Crypto)

  • BINANCE (default highest liquidity)
  • KUCOIN
  • BYBIT

Timeframes (Crypto)

  • 5m, 15m, 1h, 4h, 1D (default), 1W, 1M

Output Formats

  • markdown (default) - Formatted report
  • json - Raw data structure

Asset Detection

Automatically routes to correct analyzer:

  1. Crypto: Ends with USDT, USDC, BTC, ETH, BNB OR common crypto pairs (BTC, ETH, SOL, ADA)
  2. Stock: 1-5 letter tickers (AAPL, TSLA, MSFT)
  3. Fallback: Attempts stock lookup first, then crypto

Example Reports

Crypto Report Structure

# Trading Analysis: BTCUSDT

## Price Overview
Current: $45,200 (-2.3%) | 24h High: $46,100 | Low: $44,800
Volume: $28.5B | Change: -$1,050

## Technical Analysis (1D)
Trend: Bearish | RSI: 35 (Oversold) | MACD: Negative
Bollinger Bands: Below MA | Support: $44,200 | Resistance: $46,500

## Market Data
Exchange: BINANCE | Sentiment: Neutral-Bearish

## Recommendation
Signal: HOLD | Risk: Moderate

Stock Report Structure

# Trading Analysis: AAPL

## Price Overview
Current: $278.12 (+0.80%) | Open: $277.12 | Volume: 50.4M
52-week High: $305.25 | Low: $201.50

## Company Fundamentals
P/E Ratio: 28.5 | Market Cap: $2.8T | Dividend: 0.92%
Revenue Growth: 2.3% | Profit Margin: 28.1%

## Latest News (5 articles)
1. "Apple announces AI features" - CNBC (2h ago) [Positive]
2. "Q1 earnings beat estimates" - Reuters (1d ago) [Positive]

## Recommendation
Outlook: BULLISH | Target: $295 | Risk: Low

Error Handling

  • Graceful fallback if MCP server unavailable
  • Partial reports if single data source fails
  • Caching support for repeated queries
  • Clear error messages with retry guidance

Performance Notes

  • Cache queries within 5-minute windows
  • Parallel data fetching for multi-source reports
  • Typical analysis time: 2-5 seconds per asset

Troubleshooting

# Verify MCP servers running
echo "Check .vscode/mcp.json configuration"

# Debug API keys
echo "Ensure Alpha Vantage API key is set"

# Test connectivity
python3 -c "import requests; print(requests.__version__)"

Extensions

To add new data sources:

  1. Create new analyzer in analyzers/ directory
  2. Implement analyze(symbol, options) interface
  3. Register in routing logic
  4. Update tools reference

License

MIT

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

finance-accountingdata-analyticsapiautomationcontent-media

同类 Skill