From 2b0b8953c8ebb049d6016e71a3f6b8650bb81e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Delacotte?= Date: Wed, 16 Jul 2025 13:35:02 +0200 Subject: [PATCH] Calcul 20250101-20250714 843.349 235.135 --- Zeus_8_3_2_B_4_2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Zeus_8_3_2_B_4_2.py b/Zeus_8_3_2_B_4_2.py index 234a005..0966eec 100644 --- a/Zeus_8_3_2_B_4_2.py +++ b/Zeus_8_3_2_B_4_2.py @@ -1130,8 +1130,8 @@ class Zeus_8_3_2_B_4_2(IStrategy): if (count_of_buys < limit_buy) and condition and ( pct_max < lim): # and val > self.buy_val_adjust.value and last_candle['mid_smooth_deriv1_1d'] > - 1): try: - if 6 <= count_of_buys and last_candle['sma24_deriv1_1h'] < 0: - return None + # if 6 <= count_of_buys and last_candle['sma24_deriv1_1h'] < 0: + # return None # print(f"{trade.pair} current_profit={current_profit} count_of_buys={count_of_buys} pct_first={pct_first:.3f} pct_max={pct_max:.3f} lim={lim:.3f} index={index}") # self.pairs[trade.pair]['last_palier_index'] = index @@ -1808,6 +1808,6 @@ class Zeus_8_3_2_B_4_2(IStrategy): pct_max = round((last_candle['close'] - self.pairs[pair]['first_buy']) / self.pairs[pair]['first_buy'], 3) if max_pair != '': - return max_pair == pair or pct_max < - 0.25 + return max_pair == pair #or pct_max < - 0.25 else: return True