Files
exchange-monitor-go/config.json
T
jackyu66git e5ea78ffd2 feat: real trading mode, auto-stop after 5 trades, HL testnet support
- config.json: test_mode=false, ready for sim/testnet trading
- trader.go: auto-stop after 5 real trades, exchange response logging,
  Stop()/Start() API, shuttingDown flag for graceful stop
- dashboard.go: POST /api/stop + POST /api/start endpoints,
  trading status in SSE stats
- exchange/hyperliquid.go: switch HL WS to testnet endpoint
- exchange/hyperliquid_trade.go: switch REST to testnet endpoint,
  support base64 + 32-byte EVM private keys
- main.go: listen on trader.StopCh (graceful, no process exit)
- scanner.go: trim TrackedCoins to only 6 core coins (DOGE/LINK/ONDO/OP/WIF/ARB)
- .gitignore: ignore main binary
2026-05-04 14:31:52 +08:00

24 lines
588 B
JSON

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