From: Jérôme Benoit Date: Mon, 21 Apr 2025 19:49:59 +0000 (+0200) Subject: refactor(reforcexy): protections cleanups X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8f4de5afc04d82c897b69e1c77c3af63a49ab56d;p=freqai-strategies.git refactor(reforcexy): protections cleanups Signed-off-by: Jérôme Benoit --- diff --git a/ReforceXY/user_data/strategies/RLAgentStrategy.py b/ReforceXY/user_data/strategies/RLAgentStrategy.py index 14d4b3c..7458c47 100644 --- a/ReforceXY/user_data/strategies/RLAgentStrategy.py +++ b/ReforceXY/user_data/strategies/RLAgentStrategy.py @@ -38,11 +38,11 @@ class RLAgentStrategy(IStrategy): # "fit_live_predictions_candles", 100 # ) # return [ - # {"method": "CooldownPeriod", "stop_duration_candles": 4}, + # {"method": "CooldownPeriod", "stop_duration_candles": 2}, # { # "method": "MaxDrawdown", # "lookback_period_candles": fit_live_predictions_candles, - # "trade_limit": 20, + # "trade_limit": self.config.get("max_open_trades"), # "stop_duration_candles": fit_live_predictions_candles, # "max_allowed_drawdown": 0.2, # },