File size: 2,473 Bytes
b51f3c0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
  "version": "1.0.0",
  "updated": "2026-06-07",
  "description": "Hierarchical fallback chains. Try primary first; rotate on 429/5xx.",
    "rules": {
      "max_retries_per_chain": 4,
      "retry_delay_seconds": 1.5,
      "rate_limit_backoff_seconds": 60,
      "prefer_free_before_paid": true,
      "v4_complement_url": "https://really-amin-datasourceforcryptocurrency-4.hf.space",
      "v4_complement_last_resort": true,
    "cache_ttl_seconds": {
      "market_data": 45,
      "news": 120,
      "sentiment": 300,
      "blockchain": 60
    }
  },
  "chains": {
    "market_price": {
      "strategy": "priority",
      "providers": [
        "binance_spot",
        "coincap",
        "coinpaprika",
        "coingecko",
        "cryptocompare",
        "coinmarketcap_primary",
        "coinmarketcap_alt",
        "messari",
        "v4_complement_market"
      ]
    },
    "sentiment_analyze": {
      "strategy": "priority",
      "providers": [
        "v2_hf_local",
        "v2_ai_models",
        "v4_complement_sentiment"
      ]
    },
    "market_ohlcv": {
      "strategy": "priority",
      "providers": [
        "binance_klines",
        "cryptocompare_ohlc",
        "coingecko_ohlc",
        "coinpaprika_ohlc"
      ]
    },
    "news": {
      "strategy": "round_robin",
      "providers": [
        "cryptocompare_news",
        "cryptopanic",
        "newsapi",
        "coindesk_rss",
        "cointelegraph_rss"
      ]
    },
    "sentiment": {
      "strategy": "priority",
      "providers": [
        "alternative_me_fng",
        "lunarcrush",
        "coingecko_community",
        "reddit_crypto",
        "cryptobert_hf"
      ]
    },
    "block_explorer_eth": {
      "strategy": "round_robin",
      "providers": [
        "etherscan_primary",
        "etherscan_backup",
        "blockscout_eth",
        "ethplorer",
        "blockcypher_eth"
      ]
    },
    "block_explorer_bsc": {
      "strategy": "round_robin",
      "providers": [
        "bscscan",
        "ankr_bsc",
        "blockscout_bsc"
      ]
    },
    "block_explorer_tron": {
      "strategy": "round_robin",
      "providers": [
        "tronscan",
        "trongrid",
        "blockchair_tron"
      ]
    },
    "whale_tracking": {
      "strategy": "priority",
      "providers": [
        "whale_alert",
        "arkham"
      ]
    }
  }
}