- 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
36 lines
301 B
Plaintext
36 lines
301 B
Plaintext
# Binaries
|
|
exchange-monitor
|
|
main
|
|
|
|
# Logs
|
|
*.log
|
|
*.log.bak
|
|
|
|
# Local config (secrets)
|
|
.env
|
|
|
|
# IDE / OS
|
|
.DS_Store
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Database
|
|
trades.db
|
|
*.db
|
|
*.db-*
|
|
|
|
# Generated stats
|
|
trade_stats.txt
|
|
|
|
# Temp
|
|
/tmp/
|
|
|
|
# Python scripts
|
|
check_db.py
|
|
|
|
# Frontend
|
|
frontend/node_modules/
|
|
frontend/dist/
|