diff --git a/config.go b/config.go index 0630d28..636c397 100644 --- a/config.go +++ b/config.go @@ -63,7 +63,7 @@ func LoadConfig() *Config { TelegramChatID: getEnv("TELEGRAM_CHAT_ID", ""), AlertCooldownSec: 300, ArbThreshold: 0.03, - ScanIntervalMs: 500, + ScanIntervalMs: int(getFloat("SCAN_INTERVAL_MS", 500)), TradeEnabled: getBool("TRADE_ENABLED", false), TradeThreshold: getFloat("TRADE_THRESHOLD", 0.15),