From 66487f2a133decf3ef887f732fc58b1927c9079a Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 16 Oct 2018 20:36:24 +0200 Subject: [PATCH] require start/end-date argument in backtest --- freqtrade/optimize/backtesting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/optimize/backtesting.py b/freqtrade/optimize/backtesting.py index 212c675fd..49f6375f7 100644 --- a/freqtrade/optimize/backtesting.py +++ b/freqtrade/optimize/backtesting.py @@ -283,8 +283,8 @@ class Backtesting(object): processed = args['processed'] max_open_trades = args.get('max_open_trades', 0) position_stacking = args.get('position_stacking', False) - start_date = args.get('start_date') - end_date = args.get('end_date') + start_date = args['start_date'] + end_date = args['end_date'] trades = [] trade_count_lock: Dict = {} ticker: Dict = {}