Synchronise 2
This commit is contained in:
@@ -357,9 +357,6 @@ class Zeus_8_3_2_B_4_2(IStrategy):
|
||||
# print("---------------" + pair + "----------------")
|
||||
expected_profit = self.expectedProfit(pair, last_candle)
|
||||
|
||||
dataframe, _ = self.dp.get_analyzed_dataframe(pair, self.timeframe)
|
||||
last_candle = dataframe.iloc[-1]
|
||||
|
||||
# Calcul du prix cible basé sur l'ATR
|
||||
atr_take_profit = trade.open_rate + (last_candle['atr'] * 2) # Prendre profit à 2x l'ATR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user