- collector.symbols 与 supportedSymbols 加 SOL/BNB/DOGE,env-default 与 README 同步 - entity 追加 TechnicalStructure.Intervals(每周期 Bollinger + Vegas,omitempty 不破坏既有字段)与 DerivativesBundle.Signal - 新增纯解析 usecase derivatives_signal.go:fundingBias 绝对阈值、oiSignal 用 P20 baseline + 价格方向(OI up + 价格 up/down → long/short_building,funding 不参与方向)、lsrRegime 绝对阈值;signal 数据不足走 warnings 进 DataQuality - indicator.go 加 sma/stddev/ema/bollinger/vegas + computeIntervalTechnicals;IndicatorComputer 签名收 klines map - harness 同步:G12 扩入 derivatives_signal.go(含 Makefile G12.5/6 + ADR-0002 适用范围 + project-map / harness-health 更新)
38 lines
542 B
YAML
38 lines
542 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
|
|
|
|
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
|