mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 15:37:44 +00:00
fix: raise exploration rate to 30% — discover indicators beyond MACD
This commit is contained in:
@@ -76,6 +76,7 @@ TIMEFRAMES = ["15min", "30min", "1h", "4h"]
|
||||
INDICATORS_POOL = ["MACD", "RSI", "BBands", "Donchian", "Stoch", "CCI", "WillR", "ADX", "SAR", "ROC", "MOM", "AROON", "MFI", "SMA", "EMA"]
|
||||
STRATEGY_TYPES = ["single", "multi_tf", "portfolio"]
|
||||
MIN_SHARPE, MIN_TRADES = 0.5, 20
|
||||
EXPLORATION_RATE = 0.30 # 30% explore, 70% exploit
|
||||
|
||||
# ═══════════════════════════════════════════════════════════════════════════════
|
||||
# Evaluation
|
||||
@@ -505,9 +506,9 @@ def main():
|
||||
if (i + 1) % 100 == 0:
|
||||
loop.record()
|
||||
|
||||
# Adaptive exploration: reduce over time as SOTA grows
|
||||
# Adaptive exploration: higher rate needed for indicator discovery
|
||||
if len(loop.sota) > 10:
|
||||
loop.exploration_rate = max(0.1, 0.3 - len(loop.sota) * 0.01)
|
||||
loop.exploration_rate = max(0.15, EXPLORATION_RATE - len(loop.sota) * 0.005)
|
||||
|
||||
# Final
|
||||
elapsed = time.time() - t0
|
||||
|
||||
Reference in New Issue
Block a user