Merge pull request #3026 from yazeed/add_default_to_ignore_roi_if_buy_signal

default for ignore_roi_if_buy_signal in freqtradebot.py
This commit is contained in:
Matthias 2020-03-06 19:35:41 +01:00 committed by GitHub
commit 847df7b70c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -671,7 +671,7 @@ class FreqtradeBot:
config_ask_strategy = self.config.get('ask_strategy', {})
if (config_ask_strategy.get('use_sell_signal', True) or
config_ask_strategy.get('ignore_roi_if_buy_signal')):
config_ask_strategy.get('ignore_roi_if_buy_signal', False)):
(buy, sell) = self.strategy.get_signal(
trade.pair, self.strategy.ticker_interval,
self.dataprovider.ohlcv(trade.pair, self.strategy.ticker_interval))