From 1f5a57c2c7cbbd63237736f71155fc3beab7af5f Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Wed, 5 Jun 2019 18:09:10 +0800 Subject: [PATCH] [Fix] close #1753 --- vnpy/trader/rqdata.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vnpy/trader/rqdata.py b/vnpy/trader/rqdata.py index 070843c8..ef55a031 100644 --- a/vnpy/trader/rqdata.py +++ b/vnpy/trader/rqdata.py @@ -75,6 +75,11 @@ class RqdataClient: if word.isdigit(): break + # Check for index symbol + time_str = symbol[count:] + if time_str in ["88", "888", "99"]: + return symbol + # noinspection PyUnboundLocalVariable product = symbol[:count] year = symbol[count]