Add configurable minimum quality score setting

- Added minQualityScore to TradingConfig (default: 60)
- Updated settings UI with slider control (0-100, step 5)
- Updated check-risk endpoint to use config value
- Made scoreSignalQuality function accept minScore parameter
- Updated API to read/write MIN_QUALITY_SCORE env variable
- Allows users to adjust quality threshold from settings page
This commit is contained in:
mindesbunister
2025-11-01 01:59:08 +01:00
parent 553c1f105a
commit a6005b6a5b
6 changed files with 26 additions and 108 deletions

2
.env
View File

@@ -131,7 +131,7 @@ MAX_TRADES_PER_HOUR=20
# Minimum time between trades in minutes (cooldown period)
# Example: 10 = 10 minutes between trades
MIN_TIME_BETWEEN_TRADES=21
MIN_TIME_BETWEEN_TRADES=10
# DEX execution settings
# Maximum acceptable slippage on market orders (percentage)