Files
cryptoHermes/config/config.yml
dela 1b61541ff5
Some checks failed
ci / build + vet + guard + race (push) Has been cancelled
feat: 接入 CoinGlass 清算热力图隔离链路
2026-05-25 16:57:22 +08:00

53 lines
901 B
YAML

app:
name: crypto-hermes-gateway
env: local
port: 8080
http:
read_timeout: 5s
write_timeout: 10s
idle_timeout: 60s
binance:
base_url: https://fapi.binance.com
timeout: 10s
retry_count: 2
rps: 20
burst: 40
coinglass:
enabled: false
base_url: https://capi.coinglass.com
totp_secret: ""
data_aes_key: 1f68efd73f8d4921acc0dead41dd39bc
timeout: 15s
fake_success_retry: 1
fake_success_retry_wait: 2s
liq_heatmap_cron: "*/5 * * * *"
liq_heatmap_interval: "5"
liq_heatmap_limit: 288
startup_jitter_max: 30s
backoff_initial: 30s
backoff_max: 10m
postgres:
dsn: postgres://postgres:postgres@localhost:5432/hermes_market?sslmode=disable
max_conns: 10
min_conns: 2
collector:
enabled: true
symbols:
- BTCUSDT
- ETHUSDT
- SOLUSDT
- BNBUSDT
- DOGEUSDT
intervals:
- 15m
- 1h
- 4h
- 1d
- 1w
default_limit: 500