FIX ISSUES

This commit is contained in:
Jérôme Delacotte
2025-12-04 19:12:59 +01:00
parent 496c4d7827
commit 3efc95e415
13 changed files with 33 additions and 32 deletions

View File

@@ -1061,7 +1061,8 @@ class FrictradeLearning(IStrategy):
# FIN ########################## ALGO ATH
condition = last_candle['hapercent'] > 0 and last_candle['sma24_deriv1'] > 0 \
and last_candle['close'] < self.pairs[pair]['first_buy'] and last_candle['ml_prob'] > 0.65
and last_candle['close'] < self.pairs[pair]['first_buy'] \
and last_candle['ml_prob'] > 0.65
limit_buy = 40
# or (last_candle['close'] <= last_candle['min180'] and hours > 3)
if (decline >= dca_threshold) and condition: