Calcul 20240101-20250714 2302 242.986$ Max 11
This commit is contained in:
@@ -420,8 +420,9 @@ class Zeus_8_3_2_B_4_2(IStrategy):
|
|||||||
self.pairs[pair]['current_profit'] = current_profit
|
self.pairs[pair]['current_profit'] = current_profit
|
||||||
self.pairs[pair]['max_profit'] = max(self.pairs[pair]['max_profit'], current_profit)
|
self.pairs[pair]['max_profit'] = max(self.pairs[pair]['max_profit'], current_profit)
|
||||||
|
|
||||||
# if last_candle['sma20_deriv1_1d'] > 0 and last_candle['sma5_deriv1_1d'] > 0 and last_candle['mid_smooth_1h_deriv1'] > 0:
|
if last_candle['sma20_deriv1_1d'] > 0 and last_candle['sma5_deriv1_1d'] > 0 and last_candle['mid_smooth_1h_deriv1'] > 0\
|
||||||
# return None
|
and last_candle['mid_smooth_1h_deriv2'] > 0:
|
||||||
|
return None
|
||||||
|
|
||||||
# if (last_candle['mid_smooth_deriv1'] >= 0):
|
# if (last_candle['mid_smooth_deriv1'] >= 0):
|
||||||
# return None
|
# return None
|
||||||
@@ -1104,7 +1105,7 @@ class Zeus_8_3_2_B_4_2(IStrategy):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
pct = 0.05
|
pct = 0.05
|
||||||
lim = - pct - (count_of_buys * 0.001)
|
lim = - pct - (count_of_buys * 0.005)
|
||||||
#lim = self.getLimitBuy(pair, last_candle, pct)
|
#lim = self.getLimitBuy(pair, last_candle, pct)
|
||||||
|
|
||||||
if (len(dataframe) < 1):
|
if (len(dataframe) < 1):
|
||||||
@@ -1989,9 +1990,9 @@ class Zeus_8_3_2_B_4_2(IStrategy):
|
|||||||
|
|
||||||
pct_max = self.getPctFirstBuy(pair, last_candle) #self.getPctLastBuy(pair, last_candle)
|
pct_max = self.getPctFirstBuy(pair, last_candle) #self.getPctLastBuy(pair, last_candle)
|
||||||
|
|
||||||
# val = self.getProbaHausse(last_candle)
|
val = self.getProbaHausseSma5d(last_candle)
|
||||||
# if (val < 40):
|
if (val < 15):
|
||||||
# return False
|
return False
|
||||||
|
|
||||||
# if count_decrease == len(non_btc_pairs):
|
# if count_decrease == len(non_btc_pairs):
|
||||||
# self.should_enter_trade_count += 1
|
# self.should_enter_trade_count += 1
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user