This commit is contained in:
zhangkun9038@dingtalk.com 2025-05-30 22:14:12 +00:00
parent 27793e36d9
commit eacad43b80

View File

@ -246,7 +246,8 @@ class FreqaiPrimer(IStrategy):
return df
def populate_exit_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
# Compute sell_signal_high outside the conditions list
# pair = metadata['pair']
pair = metadata['pair']
trade = Trade.get_trades([("pair", pair)]).first()
if trade and trade.is_open: