patch_get_signal test updates

This commit is contained in:
Sam Germain
2021-10-03 17:41:01 -06:00
parent d75934ce92
commit 2a2b759419
3 changed files with 75 additions and 60 deletions

View File

@@ -986,7 +986,11 @@ class FreqtradeBot(LoggingMixin):
Check and execute trade exit
"""
should_exit: SellCheckTuple = self.strategy.should_exit(
trade, exit_rate, datetime.now(timezone.utc), enter=enter, exit_=exit_,
trade,
exit_rate,
datetime.now(timezone.utc),
enter=enter,
exit_=exit_,
force_stoploss=self.edge.stoploss(trade.pair) if self.edge else 0
)