realistic should be False by default and enabled with a --realistic-simulation flag

This commit is contained in:
Janne Sinivirta 2018-02-15 13:11:17 +02:00
parent 028700d86f
commit f64c8cc9ce

View File

@ -109,7 +109,7 @@ def backtest(args) -> DataFrame:
headers = ['date', 'buy', 'open', 'close', 'sell']
processed = args['processed']
max_open_trades = args.get('max_open_trades', 0)
realistic = args.get('realistic', True)
realistic = args.get('realistic', False)
record = args.get('record', None)
records = []
trades = []