mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
trading_mode is not necessarily mandatory
This commit is contained in:
parent
183bf6819f
commit
5b3304189c
|
@ -12,7 +12,7 @@ logger = logging.getLogger(__name__)
|
|||
def migrate_binance_futures_names(config: Config):
|
||||
|
||||
if (
|
||||
not (config['trading_mode'] == TradingMode.FUTURES
|
||||
not (config.get('trading_mode', TradingMode.SPOT) == TradingMode.FUTURES
|
||||
and config['exchange']['name'] == 'binance')
|
||||
):
|
||||
# only act on new futures
|
||||
|
|
Loading…
Reference in New Issue
Block a user