mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
fix
This commit is contained in:
parent
78d189564f
commit
80dd586dc7
|
@ -187,7 +187,7 @@ class Exchange:
|
||||||
self._api_async = self._init_ccxt(
|
self._api_async = self._init_ccxt(
|
||||||
exchange_conf, ccxt_async, ccxt_kwargs=ccxt_async_config)
|
exchange_conf, ccxt_async, ccxt_kwargs=ccxt_async_config)
|
||||||
|
|
||||||
if exchange_config.get('sandboxMode'):
|
if exchange_conf.get('sandboxMode'):
|
||||||
self._api.set_sandbox_mode(True)
|
self._api.set_sandbox_mode(True)
|
||||||
self._api_async.set_sandbox_mode(True)
|
self._api_async.set_sandbox_mode(True)
|
||||||
logger.info('Using ccxt with sandbox mode for paper trading')
|
logger.info('Using ccxt with sandbox mode for paper trading')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user