Merge pull request #3939 from drdux/historic-pair

Historic pair
This commit is contained in:
Matthias
2020-11-19 19:46:08 +01:00
committed by GitHub
4 changed files with 14 additions and 2 deletions

View File

@@ -124,7 +124,8 @@ class Exchange:
# Check if all pairs are available
self.validate_stakecurrency(config['stake_currency'])
self.validate_pairs(config['exchange']['pair_whitelist'])
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', {}))
self.validate_required_startup_candles(config.get('startup_candle_count', 0))