require start/end-date argument in backtest
This commit is contained in:
parent
83a8d79115
commit
66487f2a13
@ -283,8 +283,8 @@ class Backtesting(object):
|
|||||||
processed = args['processed']
|
processed = args['processed']
|
||||||
max_open_trades = args.get('max_open_trades', 0)
|
max_open_trades = args.get('max_open_trades', 0)
|
||||||
position_stacking = args.get('position_stacking', False)
|
position_stacking = args.get('position_stacking', False)
|
||||||
start_date = args.get('start_date')
|
start_date = args['start_date']
|
||||||
end_date = args.get('end_date')
|
end_date = args['end_date']
|
||||||
trades = []
|
trades = []
|
||||||
trade_count_lock: Dict = {}
|
trade_count_lock: Dict = {}
|
||||||
ticker: Dict = {}
|
ticker: Dict = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user