deprecate ccxt_rate_limt

This commit is contained in:
Matthias
2018-10-04 20:35:28 +02:00
parent 37088cfb39
commit 3973d3697c
3 changed files with 16 additions and 2 deletions

View File

@@ -271,6 +271,11 @@ class Configuration(object):
raise OperationalException(
exception_msg
)
# Depreciation warning
if 'ccxt_rate_limit' in config.get('exchange', {}):
logger.warning("`ccxt_rate_limit` has been deprecated in favor of "
"`ccxt_config` and `ccxt_async_config` and will be removed "
"in future a future version.")
logger.debug('Exchange "%s" supported', exchange)
return True