mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
only skip pair validation rather than all of it
This commit is contained in:
parent
2424ac94c2
commit
2d6bfe1592
|
@ -115,7 +115,7 @@ class Exchange:
|
|||
|
||||
logger.info('Using Exchange "%s"', self.name)
|
||||
|
||||
if validate and not exchange_config.get('skip_validation'):
|
||||
if validate:
|
||||
# Check if timeframe is available
|
||||
self.validate_timeframes(config.get('timeframe'))
|
||||
|
||||
|
@ -124,6 +124,7 @@ class Exchange:
|
|||
|
||||
# Check if all pairs are available
|
||||
self.validate_stakecurrency(config['stake_currency'])
|
||||
if not exchange_config.get('skip_pair_validation'):
|
||||
self.validate_pairs(config['exchange']['pair_whitelist'])
|
||||
self.validate_ordertypes(config.get('order_types', {}))
|
||||
self.validate_order_time_in_force(config.get('order_time_in_force', {}))
|
||||
|
|
Loading…
Reference in New Issue
Block a user