Merge pull request #617 from gcarq/feature/ccxt-enable-ratelimit

let ccxt handle rate limits internally
This commit is contained in:
Samuel Husso 2018-04-21 21:25:19 +03:00 committed by GitHub
commit 4eb66aa9ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,7 @@ def init(config: dict) -> None:
'secret': exchange_config.get('secret'), 'secret': exchange_config.get('secret'),
'password': exchange_config.get('password'), 'password': exchange_config.get('password'),
'uid': exchange_config.get('uid'), 'uid': exchange_config.get('uid'),
'enableRateLimit': True,
}) })
except (KeyError, AttributeError): except (KeyError, AttributeError):
raise OperationalException('Exchange {} is not supported'.format(name)) raise OperationalException('Exchange {} is not supported'.format(name))