Add dry_run=True to config during backtesting

This commit is contained in:
enenn 2018-04-10 17:20:27 +02:00
parent 838bd5824e
commit 1678518cd4
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ class Backtesting(object):
# Reset keys for backtesting
self.config['exchange']['key'] = ''
self.config['exchange']['secret'] = ''
self.config['exchange']['password'] = ''
self.config['exchange']['uid'] = ''
self.config['dry_run'] = True
exchange.init(self.config)
@staticmethod