Loading...
Loading...
Compare original and translation side by side
Use coingecko_get_historical_chart tool with:
- coin_id: Target cryptocurrency (e.g., 'bitcoin', 'ethereum')
- days: Time range ('7', '30', '90', '365', 'max')
- vs_currency: Base currency (default 'usd')Use coingecko_get_historical_chart tool with:
- coin_id: Target cryptocurrency (e.g., 'bitcoin', 'ethereum')
- days: Time range ('7', '30', '90', '365', 'max')
- vs_currency: Base currency (default 'usd')from scripts.data_converter import normalize_ohlcv, validate_data_qualityfrom scripts.data_converter import normalize_ohlcv, validate_data_quality
**Backward compatible** with old CoinGecko converter:
```python
from scripts.data_converter import prepare_analysis_data
ohlcv_df = prepare_analysis_data(coingecko_json_data)
**向后兼容**旧版CoinGecko转换器:
```python
from scripts.data_converter import prepare_analysis_data
ohlcv_df = prepare_analysis_data(coingecko_json_data)from scripts.ta_analyzer import TechnicalAnalyzer
import jsonfrom scripts.ta_analyzer import TechnicalAnalyzer
import jsonundefinedundefined{
"scoreTotal": 8.5,
"tradeSignal": "STRONG_UPTREND",
"tradeSignal7Tier": "STRONG_BUY",
"tradeTrigger": true,
"currentPrice": 45234.56,
"priceChange24h": 3.45,
"confidence": 0.75,
"normalizedScore": 0.42,
"volumeConfirmation": 0.85,
"squeezeDetected": false,
"divergences": {
"RSI": "NONE",
"MACD": "NONE",
"OBV": "NONE"
},
"individualScores": {
"RSI": 1.0,
"MACD": 1.0,
"BB": 0.75,
"OBV": 0.8,
"ICHIMOKU": 1.0,
...
},
"individualSignals": {
"RSI": "BUY",
"MACD": "BUY",
"BB": "BUY",
...
},
"regime": {
"regime": "TRENDING",
"adx": 32.5,
"dmiDirection": "UP"
},
"warnings": []
}{
"scoreTotal": 8.5,
"tradeSignal": "STRONG_UPTREND",
"tradeSignal7Tier": "STRONG_BUY",
"tradeTrigger": true,
"currentPrice": 45234.56,
"priceChange24h": 3.45,
"confidence": 0.75,
"normalizedScore": 0.42,
"volumeConfirmation": 0.85,
"squeezeDetected": false,
"divergences": {
"RSI": "NONE",
"MACD": "NONE",
"OBV": "NONE"
},
"individualScores": {
"RSI": 1.0,
"MACD": 1.0,
"BB": 0.75,
"OBV": 0.8,
"ICHIMOKU": 1.0,
...
},
"individualSignals": {
"RSI": "BUY",
"MACD": "BUY",
"BB": "BUY",
...
},
"regime": {
"regime": "TRENDING",
"adx": 32.5,
"dmiDirection": "UP"
},
"warnings": []
}1. Call coingecko_get_historical_chart for target coin (7-30 days)
2. Convert data using coingecko_converter
3. Run ta_analyzer.analyze_all()
4. Present scoreTotal and tradeSignal to user1. 调用coingecko_get_historical_chart获取目标币种数据(7-30天)
2. 使用coingecko_converter转换数据
3. 运行ta_analyzer.analyze_all()
4. 向用户展示scoreTotal和tradeSignal1. Call coingecko_compare_coins for target coins
2. For each coin:
- Fetch historical chart data
- Run technical analysis
- Store results
3. Create comparison table with scores and signals
4. Identify strongest/weakest performers1. 调用coingecko_compare_coins获取目标币种数据
2. 对每个币种:
- 获取历史图表数据
- 运行技术分析
- 存储结果
3. 创建包含分数和信号的对比表格
4. 识别表现最强/最弱的币种1. Fetch multiple timeframes (7d, 30d, 90d)
2. Run analysis on each timeframe
3. Check for signal agreement across timeframes
4. Review individual indicator signals for divergences
5. Cross-reference with market data (market cap, volume, dominance)
6. Provide detailed report with confidence levels1. 获取多个时间框架数据(7天、30天、90天)
2. 对每个时间框架运行分析
3. 检查不同时间框架的信号一致性
4. 查看单个指标信号的背离情况
5. 与市场数据(市值、成交量、主导地位)交叉参考
6. 提供包含置信度的详细报告1. Fetch current data for watchlist
2. Run analysis on all coins
3. Filter for STRONG_UPTREND signals (score >= 7)
4. Rank by score descending
5. Present top opportunities with context1. 获取观察列表的当前数据
2. 对所有币种运行分析
3. 筛选出STRONG_UPTREND信号(分数 >=7)
4. 按分数降序排名
5. 结合上下文展示顶级机会- 7 days (short-term trend)
- 30 days (medium-term trend)
- 90 days (long-term trend)- 7天(短期趋势)
- 30天(中期趋势)
- 90天(长期趋势)coingecko_get_historical_chartcoingecko_get_pricecoingecko_compare_coinscoingecko_get_market_datacoingecko_get_historical_chartcoingecko_get_pricecoingecko_compare_coinscoingecko_get_market_dataBitcoin Technical Analysis (7-day period)
📊 7-Tier Signal: STRONG_BUY
🎯 Confidence: 78%
💰 Current Price: $45,234.56 (+3.45% 24h)
📈 Volume Confirmation: 85%
Key Indicators:
✅ RSI: BUY (38.2 - healthy level, no divergence)
✅ MACD: BUY (bullish crossover, no divergence)
✅ Bollinger: BUY (price near upper band, no squeeze)
✅ OBV: BUY (volume confirms trend, no divergence)
✅ Ichimoku: BUY (price above cloud)
✅ Volume: ACCUMULATION (MFI bullish)
Warnings: None
Recommendation: Strong buy signal with volume confirmation.
No divergences or overbought conditions detected.Bitcoin Technical Analysis (7-day period)
📊 7-Tier Signal: STRONG_BUY
🎯 Confidence: 78%
💰 Current Price: $45,234.56 (+3.45% 24h)
📈 Volume Confirmation: 85%
Key Indicators:
✅ RSI: BUY (38.2 - healthy level, no divergence)
✅ MACD: BUY (bullish crossover, no divergence)
✅ Bollinger: BUY (price near upper band, no squeeze)
✅ OBV: BUY (volume confirms trend, no divergence)
✅ Ichimoku: BUY (price above cloud)
✅ Volume: ACCUMULATION (MFI bullish)
Warnings: None
Recommendation: Strong buy signal with volume confirmation.
No divergences or overbought conditions detected.Top 5 Cryptocurrencies by Technical Score (30-day analysis)
1. Solana (SOL): 9.0 - STRONG_UPTREND
- All momentum indicators bullish
- Strong volume confirmation
2. Ethereum (ETH): 7.5 - STRONG_UPTREND
- Trending higher, minor overbought warning
3. Bitcoin (BTC): 5.0 - NEUTRAL
- Consolidating after recent move
4. Cardano (ADA): 2.5 - DOWNTREND
- Multiple bearish signals
5. XRP: 1.0 - DOWNTREND
- Weak momentum and volumeTop 5 Cryptocurrencies by Technical Score (30-day analysis)
1. Solana (SOL): 9.0 - STRONG_UPTREND
- All momentum indicators bullish
- Strong volume confirmation
2. Ethereum (ETH): 7.5 - STRONG_UPTREND
- Trending higher, minor overbought warning
3. Bitcoin (BTC): 5.0 - NEUTRAL
- Consolidating after recent move
4. Cardano (ADA): 2.5 - DOWNTREND
- Multiple bearish signals
5. XRP: 1.0 - DOWNTREND
- Weak momentum and volume