Synchronise
This commit is contained in:
@@ -395,6 +395,8 @@ class DecisionTreeStrategy(IStrategy):
|
||||
current_entry_profit: float, current_exit_profit: float,
|
||||
**kwargs
|
||||
) -> float | None | tuple[float | None, str | None]:
|
||||
if trade.has_open_orders:
|
||||
return None
|
||||
|
||||
# Obtain pair dataframe (just to show how to access it)
|
||||
dataframe, _ = self.dp.get_analyzed_dataframe(trade.pair, self.timeframe)
|
||||
|
||||
Reference in New Issue
Block a user