From a54699b11d6e2767750a56ff0ebe5bb825da97e5 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Fri, 8 Mar 2019 10:12:21 +0800 Subject: [PATCH] [Fix]Close #1454 --- vnpy/app/cta_strategy/engine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vnpy/app/cta_strategy/engine.py b/vnpy/app/cta_strategy/engine.py index 65ea7f5d..8c6dcea0 100644 --- a/vnpy/app/cta_strategy/engine.py +++ b/vnpy/app/cta_strategy/engine.py @@ -127,6 +127,8 @@ class CtaEngine(BaseEngine): symbol, exchange_str = vt_symbol.split(".") if symbol.upper() not in self.rq_symbols: return None + + end += timedelta(1) # For querying night trading period data df = self.rq_client.get_price( symbol.upper(),