feat: 大幅扩展数据源至325个验证通过端点 + Go集成方案 + 社交媒体情绪分析实现

新增文件:
- 数据源与交易品种完整手册_325个.md (100+加密品种 + 50+传统金融品种)
- Go数据源集成方案.md (三级速率限制器 + 指数退避 + 自动降级)
- 社交媒体实时情绪分析Go实现.md (VADER词典 + LLM增强)
- scripts/verify_batch6_crypto_varieties.py (加密品种验证)
- scripts/verify_batch7_fix.py (修复+新增验证)

验证统计: 325个端点通过, 19个平台, 100%免费
这个提交包含在:
Manus Quant Agent
2026-03-06 02:17:59 -05:00
父节点 5455b52baa
当前提交 1a0288a256
修改 10 个文件,包含 18382775 行新增0 行删除

查看文件

@@ -0,0 +1,161 @@
{
"sources": {
"Binance": {
"doc_url": "https://developers.binance.com/docs/derivatives/usds-margined-futures/general-info",
"rate_limit": "2400 req/min (IP), 1200 req/min (单端点)",
"weight_system": true,
"weight_note": "每个端点有不同权重,depth limit=5 权重2,klines 权重5",
"retry_after_header": "Retry-After",
"ban_duration": "IP封禁2-30分钟"
},
"OKX": {
"doc_url": "https://www.okx.com/docs-v5/en/",
"rate_limit": "20 req/2s (公共端点), 10 req/2s (市场数据)",
"weight_system": false,
"retry_after_header": null,
"ban_duration": "限流后需等待"
},
"Bybit": {
"doc_url": "https://bybit-exchange.github.io/docs/v5/intro",
"rate_limit": "120 req/5s (公共端点)",
"weight_system": false,
"retry_after_header": null,
"ban_duration": "限流后等待5秒"
},
"Kraken": {
"doc_url": "https://docs.kraken.com/api/",
"rate_limit": "1 req/s (公共端点), 15 req/s (认证)",
"weight_system": true,
"weight_note": "计数器系统,公共端点每秒+1,上限15",
"retry_after_header": null,
"ban_duration": "限流后等待几秒"
},
"Gate.io": {
"doc_url": "https://www.gate.io/docs/developers/apiv4/",
"rate_limit": "900 req/min (IP), 300 req/min (单端点)",
"weight_system": false,
"retry_after_header": "X-Gate-RateLimit-Remaining",
"ban_duration": "限流后等待60秒"
},
"KuCoin": {
"doc_url": "https://www.kucoin.com/docs/rest/spot-trading/market-data/get-klines",
"rate_limit": "100 req/10s (IP)",
"weight_system": false,
"retry_after_header": null,
"ban_duration": "限流后等待10秒"
},
"HTX": {
"doc_url": "https://www.htx.com/en-us/opend/newApiPages/",
"rate_limit": "100 req/10s (IP)",
"weight_system": false
},
"Bitfinex": {
"doc_url": "https://docs.bitfinex.com/reference/rest-public-ticker",
"rate_limit": "90 req/min (公共端点)",
"weight_system": false
},
"Crypto.com": {
"doc_url": "https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html",
"rate_limit": "100 req/s (公共端点)",
"weight_system": false
},
"MEXC": {
"doc_url": "https://mexcdevelop.github.io/apidocs/spot_v3_en/",
"rate_limit": "20 req/s (IP)",
"weight_system": true,
"weight_note": "每个端点有不同权重"
},
"Deribit": {
"doc_url": "https://docs.deribit.com/",
"rate_limit": "20 req/s (非认证), 5 req/s (认证)",
"weight_system": false,
"ban_duration": "限流后等待1秒"
},
"DeFiLlama": {
"doc_url": "https://defillama.com/docs/api",
"rate_limit": "无官方限制,建议 <30 req/min",
"weight_system": false,
"note": "完全免费开源,无需Key,但高频会429"
},
"CoinGecko": {
"doc_url": "https://docs.coingecko.com/reference/introduction",
"rate_limit": "30 req/min (免费层)",
"weight_system": false,
"retry_after_header": "Retry-After",
"ban_duration": "限流后等待60秒"
},
"CoinPaprika": {
"doc_url": "https://api.coinpaprika.com/",
"rate_limit": "10 req/s (免费层)",
"weight_system": false
},
"Alternative.me": {
"doc_url": "https://alternative.me/crypto/fear-and-greed-index/#api",
"rate_limit": "无官方限制,建议 <10 req/min",
"weight_system": false
},
"Reddit": {
"doc_url": "https://www.reddit.com/dev/api/",
"rate_limit": "60 req/min (OAuth), 10 req/min (无认证JSON)",
"weight_system": false,
"note": "JSON端点需User-Agent,否则429"
},
"Nitter": {
"doc_url": "https://github.com/zedeus/nitter",
"rate_limit": "取决于实例,建议 <5 req/min",
"weight_system": false,
"note": "实例不稳定,需多实例轮询"
},
"Yahoo Finance": {
"doc_url": "https://finance.yahoo.com/",
"rate_limit": "2000 req/h (非官方估计)",
"weight_system": false,
"note": "非官方API,可能变更"
},
"WorldBank": {
"doc_url": "https://datahelpdesk.worldbank.org/knowledgebase/articles/889392-about-the-indicators-api-documentation",
"rate_limit": "无官方限制,建议 <30 req/min",
"weight_system": false
},
"Blockchain.info": {
"doc_url": "https://www.blockchain.com/explorer/api",
"rate_limit": "无官方限制,建议 <30 req/min",
"weight_system": false
},
"Mempool.space": {
"doc_url": "https://mempool.space/docs/api/rest",
"rate_limit": "无官方限制,建议 <60 req/min",
"weight_system": false
},
"Blockchair": {
"doc_url": "https://blockchair.com/api",
"rate_limit": "30 req/min (免费层)",
"weight_system": false
},
"DexScreener": {
"doc_url": "https://docs.dexscreener.com/api/reference",
"rate_limit": "300 req/min",
"weight_system": false
},
"Hyperliquid": {
"doc_url": "https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api",
"rate_limit": "1200 req/min",
"weight_system": false
},
"Raydium": {
"doc_url": "https://docs.raydium.io/",
"rate_limit": "无官方限制",
"weight_system": false
},
"CoinGlass": {
"doc_url": "https://docs.coinglass.com/reference/api-introduction",
"rate_limit": "30 req/min (免费Key)",
"weight_system": false
},
"Etherscan": {
"doc_url": "https://docs.etherscan.io/",
"rate_limit": "5 req/s (免费Key)",
"weight_system": false
}
}
}