Change cooldown unit from seconds to minutes

- Updated minTimeBetweenTrades config to use minutes instead of seconds
- Changed default from 600 seconds to 10 minutes
- Updated Settings UI label from 'seconds' to 'minutes' and adjusted range (0-60 min)
- Updated .env comments to reflect new unit
- No functional change since cooldown enforcement not yet implemented (TODO in check-risk route)
This commit is contained in:
mindesbunister
2025-10-30 10:35:47 +01:00
parent 25d31ff75a
commit b7b0fb9bb2
3 changed files with 11 additions and 8 deletions

View File

@@ -385,12 +385,12 @@ export default function SettingsPage() {
description="Maximum number of trades allowed per hour."
/>
<Setting
label="Cooldown Between Trades (seconds)"
label="Cooldown Between Trades (minutes)"
value={settings.MIN_TIME_BETWEEN_TRADES}
onChange={(v) => updateSetting('MIN_TIME_BETWEEN_TRADES', v)}
min={0}
max={3600}
step={60}
max={60}
step={1}
description="Minimum wait time between trades to prevent overtrading."
/>
</Section>