From: Jérôme Benoit Date: Tue, 5 Aug 2025 23:32:49 +0000 (+0200) Subject: refactor(qav3): typo in variable name X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4bea233188c4b7f64c64591af0fb0e988b51a665;p=freqai-strategies.git refactor(qav3): typo in variable name Signed-off-by: Jérôme Benoit --- diff --git a/quickadapter/user_data/strategies/QuickAdapterV3.py b/quickadapter/user_data/strategies/QuickAdapterV3.py index 525be0b..7c61bd7 100644 --- a/quickadapter/user_data/strategies/QuickAdapterV3.py +++ b/quickadapter/user_data/strategies/QuickAdapterV3.py @@ -1003,7 +1003,7 @@ class QuickAdapterV3(IStrategy): df: DataFrame, trade: Trade, min_history_window_secs: int = 3600, - max_history_windows_secs: int = 43200, + max_history_window_secs: int = 43200, ) -> tuple[float, float]: unrealized_pnl_history = QuickAdapterV3.get_trade_unrealized_pnl_history(trade) @@ -1019,7 +1019,7 @@ class QuickAdapterV3(IStrategy): history_window_secs = np.interp( last_label_natr_value_quantile, [0.0, 1.0], - [max_history_windows_secs, min_history_window_secs], + [max_history_window_secs, min_history_window_secs], ) process_throttle_secs = self.config.get("internals", {}).get(