File size: 1,209 Bytes
99e6ac3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# API Resources Runtime Plan

`api-resources/provider_capabilities_v4.json` is the primary provider capability catalog.

`api-resources/crypto_resources_unified_2025-11-11.json` is retained as the extended registry/reference.

`api-resources/ultimate_crypto_pipeline_2025_NZasinich.json` has been normalized to valid JSON by removing the preserved filename prefix line.

Runtime logic uses provider adapters under `providers/` and exposes catalog validation through:

```bash
GET /api/short-hunter/catalog
GET /api/short-hunter/health
```

Provider rotation can be tuned with environment variables:

- `SH_PROVIDER_ORDER_UNIVERSE`
- `SH_PROVIDER_ORDER_CONTRACT`
- `SH_PROVIDER_ORDER_TICKER`
- `SH_PROVIDER_ORDER_OHLCV`
- `SH_PROVIDER_ORDER_ORDERBOOK`
- `SH_PROVIDER_ORDER_FUNDING`
- `SH_PROVIDER_ORDER_OPEN_INTEREST`
- `SH_PROVIDER_ORDER_MARK_INDEX`
- `SH_PROVIDER_ORDER_SENTIMENT`

Example:

```bash
SH_PROVIDER_ORDER_TICKER=kucoin,binance,coingecko,cryptocompare
```

For exchange region/DNS issues, use provider base URL overrides or proxy variables instead of trying to mutate host DNS from the Space:

- `KUCOIN_FUTURES_BASE_URL`
- `BINANCE_FUTURES_BASE_URL`
- `HTTP_PROXY`
- `HTTPS_PROXY`
- `ALL_PROXY`