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:
6
.env
6
.env
@@ -129,8 +129,8 @@ MAX_DAILY_DRAWDOWN=-50
|
||||
# Maximum number of trades allowed per hour (prevents overtrading)
|
||||
MAX_TRADES_PER_HOUR=20
|
||||
|
||||
# Minimum time between trades in seconds (cooldown period)
|
||||
# Example: 600 = 10 minutes between trades
|
||||
# Minimum time between trades in minutes (cooldown period)
|
||||
# Example: 10 = 10 minutes between trades
|
||||
MIN_TIME_BETWEEN_TRADES=0
|
||||
|
||||
# DEX execution settings
|
||||
@@ -305,7 +305,7 @@ NEW_RELIC_LICENSE_KEY=
|
||||
# Recommended Daily Limits:
|
||||
# - MAX_DAILY_DRAWDOWN=-150 (stop at -15% loss)
|
||||
# - MAX_TRADES_PER_HOUR=6 (prevent overtrading)
|
||||
# - MIN_TIME_BETWEEN_TRADES=600 (10min cooldown)
|
||||
# - MIN_TIME_BETWEEN_TRADES=10 (10min cooldown)
|
||||
#
|
||||
# Expected Risk Per Trade (with defaults):
|
||||
# - Max Loss: $7.50 (50 * 10 * 0.015)
|
||||
|
||||
Reference in New Issue
Block a user