some short freqtradebot parametrized tests

This commit is contained in:
Sam Germain
2021-09-16 03:23:45 -06:00
parent d604757056
commit 4c91126c49
2 changed files with 7 additions and 10 deletions

View File

@@ -812,8 +812,10 @@ class FreqtradeBot(LoggingMixin):
exit_signal_type = "exit_short" if trade.is_short else "exit_long"
# TODO-lev: change to use_exit_signal, ignore_roi_if_enter_signal
if (self.config.get('use_sell_signal', True) or
self.config.get('ignore_roi_if_buy_signal', False)):
if (
self.config.get('use_sell_signal', True) or
self.config.get('ignore_roi_if_buy_signal', False)
):
analyzed_df, _ = self.dataprovider.get_analyzed_dataframe(trade.pair,
self.strategy.timeframe)