Calcul 20240101-20250714 4045.139 187.323 ==> 21.59
This commit is contained in:
@@ -1805,11 +1805,11 @@ class Zeus_8_3_2_B_4_2(IStrategy):
|
|||||||
|
|
||||||
limit = 3
|
limit = 3
|
||||||
|
|
||||||
if pair.startswith('BTC'):
|
if pair.startswith('BTC') or self.pairs[pair]['count_of_buys'] == 0:
|
||||||
return True # BTC toujours autorisé
|
return True # BTC toujours autorisé
|
||||||
|
|
||||||
# Filtrer les paires non-BTC
|
# Filtrer les paires non-BTC
|
||||||
non_btc_pairs = [p for p in self.pairs if not p.startswith('BTC')]
|
non_btc_pairs = [p for p in self.pairs] # if not p.startswith('BTC')]
|
||||||
|
|
||||||
# Compter les positions actives sur les paires non-BTC
|
# Compter les positions actives sur les paires non-BTC
|
||||||
max_nb_trades = 0
|
max_nb_trades = 0
|
||||||
@@ -1842,6 +1842,6 @@ class Zeus_8_3_2_B_4_2(IStrategy):
|
|||||||
self.should_enter_trade_count = 0
|
self.should_enter_trade_count = 0
|
||||||
|
|
||||||
if max_pair != '':
|
if max_pair != '':
|
||||||
return max_pair == pair or pct_max < - 0.25
|
return (max_pair == pair and self.pairs[pair]['count_of_buys'] <= 5) or pct_max < - 0.25
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user