Files
exchange-monitor-go/config.json
T
jackyu66git ce204abc81 fix: remove HL-delisted coins from scanner (BNT/CATI/CYBER/ILV/LISTA/OGN/STG) + PIXEL
Root cause: HL WS uses allMids (all coins), BG WS subscribes per-coin.
Delisted coins had stale HL prices showing huge fake spreads (~200%).
Monitor tried entry → BG buy succeeds, HL sell fails (Trading is halted)
→ orphan position on BG accumulated across restarts.

Fix:
- Set HL="" for BNT, CATI, CYBER, ILV, LISTA, OGN, STG, PIXEL
- Add guard in ScanBGHL to skip coins where BG or HL is empty
- Same guard in SpreadWindowTracker.Tick
2026-05-04 23:12:41 +08:00

24 lines
585 B
JSON

{
"test_mode": false,
"trade_enabled": true,
"arb_threshold": 0.3,
"scan_interval_ms": 200,
"trade_threshold": 0.3,
"trade_amount_usd": 20,
"trade_cooldown_ms": 30000,
"alert_cooldown_sec": 300,
"mock_slippage_pct": 0.05,
"max_positions": 1,
"blacklist_duration_sec": 3600,
"initial_capital": 1000,
"taker_fee_bitget": 0.060,
"taker_fee_hyperliquid": 0.045,
"take_profit_pct": 0.3,
"spread_reverse_exit_pct": 0,
"position_timeout_sec": 1800,
"leg_delay_ms": 300,
"reversal_tolerance_pct": 0.1,
"scale_step_pct": 0.3,
"scale_cooldown_sec": 5
}