Files
John Doe f19655cb08 Add Telegram notifications for trade signals and scan summaries
- Add requests + logging imports
- Add TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID to config
- Add send_telegram(), tg_signal(), tg_scan_summary() functions
- Configure SOCKS5h proxy (socks5h://127.0.0.1:6922) for Telegram API
- Send tg_signal() on order filled/failed in scan_and_trade()
- Send tg_scan_summary() after each scan cycle
- Update config.json with bot token and chat ID
2026-04-18 16:53:02 +08:00

18 lines
410 B
JSON

{
"balance": 0.0,
"max_bet": 2.0,
"min_ev": 0.10,
"max_price": 0.45,
"min_volume": 500,
"min_hours": 2.0,
"max_hours": 72.0,
"kelly_fraction": 0.25,
"scan_interval": 3600,
"calibration_min": 30,
"vc_key": "DFPWW2VD4LTZSM32ZS2R6XTSA",
"mode": "live",
"max_slippage": 0.03,
"telegram_bot_token": "8448304532:AAEdg-gSneZW_WPliKq_0QLmi7NIEh1Z5Tc",
"telegram_chat_id": "-5106762842"
}