Calcul 20240101-20250714 4395.115 183.073 ==> 24

This commit is contained in:
Jérôme Delacotte
2025-07-18 15:59:13 +02:00
parent 4ecc40b7aa
commit a0143c38e1
2 changed files with 4732 additions and 4199 deletions

View File

@@ -1827,7 +1827,7 @@ class Zeus_8_3_2_B_4_2(IStrategy):
max_pair = p
total_non_btc += self.pairs[p]['count_of_buys']
pct_max = round((last_candle['close'] - self.pairs[pair]['first_buy']) / self.pairs[pair]['first_buy'], 3)
pct_max = round((last_candle['close'] - self.pairs[pair]['last_buy']) / self.pairs[pair]['last_buy'], 3)
# val = self.getProbaHausse(last_candle)
# if (val < 40):
@@ -1842,6 +1842,6 @@ class Zeus_8_3_2_B_4_2(IStrategy):
self.should_enter_trade_count = 0
if max_pair != '':
return (max_pair == pair and self.pairs[pair]['count_of_buys'] <= 5) or pct_max < - 0.25
return (max_pair == pair and self.pairs[pair]['count_of_buys'] <= 5) or pct_max < - 0.1
else:
return True

File diff suppressed because it is too large Load Diff