From 15bdeea4007481f1e2d4662fc6287f4301f1c6e0 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Tue, 17 Sep 2019 23:46:05 +0800 Subject: [PATCH] [Mod] close #2060 --- vnpy/app/cta_backtester/ui/widget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/app/cta_backtester/ui/widget.py b/vnpy/app/cta_backtester/ui/widget.py index 70752e05..6412a99a 100644 --- a/vnpy/app/cta_backtester/ui/widget.py +++ b/vnpy/app/cta_backtester/ui/widget.py @@ -332,7 +332,7 @@ class BacktesterManager(QtWidgets.QWidget): end_date = self.end_date_edit.date() start = datetime(start_date.year(), start_date.month(), start_date.day()) - end = datetime(end_date.year(), end_date.month(), end_date.day()) + end = datetime(end_date.year(), end_date.month(), end_date.day(), 23, 59, 59) self.backtester_engine.start_downloading( vt_symbol,