mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
JW; testing with sandbox mode
This commit is contained in:
parent
2b0b85330e
commit
78d189564f
|
@ -187,6 +187,11 @@ class Exchange:
|
|||
self._api_async = self._init_ccxt(
|
||||
exchange_conf, ccxt_async, ccxt_kwargs=ccxt_async_config)
|
||||
|
||||
if exchange_config.get('sandboxMode'):
|
||||
self._api.set_sandbox_mode(True)
|
||||
self._api_async.set_sandbox_mode(True)
|
||||
logger.info('Using ccxt with sandbox mode for paper trading')
|
||||
|
||||
logger.info(f'Using Exchange "{self.name}"')
|
||||
self.required_candle_call_count = 1
|
||||
if validate:
|
||||
|
|
Loading…
Reference in New Issue
Block a user