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

Trading Analyzer

Trading Analyzer · v0.0.2
安全 unknown 级 作者 baoduy 公开目录收录
2.5k 下载 2 安装 10.5k 收藏 1 浏览

简介

Trading Analyzer

原始描述

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.

通过你的 Agent 添加

安装目录:trading-analyzer/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/trading-analyzer-19540/
Codex CLI~/.codex/skills/trading-analyzer-19540/
DeepSeek Harness~/.agents/skills/trading-analyzer-19540/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


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"], "requires": { "bins": ["python3", "node"] }, "install": [ { "id": "uv-install", "kind": "exec", "command": "pip3 install uv", "label": "Install uv package manager", }, ], }, }

Trading Analyzer Skill

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

Quick Start

Analyze Cryptocurrency

# MCP tools available:
# - coin_analysis: Get crypto analysis (TradingView)
# - smart_volume_scanner: Volume + technical analysis scan
# - top_gainers: Bullish coins by Bollinger Band analysis
# - advanced_candle_pattern: Multi-timeframe candle patterns

Analyze Stock

# MCP tools available:
# - get-ticker-info: Company fundamentals (Alpha Vantage)
# - get-ticker-news: Latest news articles (Yahoo Finance)
# - get-price-history: Historical OHLC data
# - ticker-earning: Earnings data and dates

Common Use Cases

1. Quick Crypto Analysis

  • Call coin_analysis for immediate technical overview
  • Use smart_volume_scanner to identify breakout opportunities
  • Check top_gainers for bullish signals

2. Fundamental Stock Research

  • Call get-ticker-info for company metrics
  • Fetch get-ticker-news for sentiment analysis
  • Review get-price-history for trend confirmation

3. Market Screening

  • Use crypto screeners (top_gainers, top_losers, volume_breakout_scanner) to find opportunities
  • Consolidate results into unified trading strategy

4. Consolidated Report

  • Combine price + technical + news + fundamentals
  • Deliver single analysis with actionable recommendations

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

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

标签

没有标签

同类 Skill