Calcul 20240101-20250714 4395.115 183.073 ==> 24
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user