From 746ac00854d5292f7c98614f0cb0ccf55b6aa15f Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Mon, 30 Sep 2019 11:22:16 +0800 Subject: [PATCH] [Fix] max limit bug with rqdatac --- vnpy/trader/rqdata.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vnpy/trader/rqdata.py b/vnpy/trader/rqdata.py index 1df27232..de4a8d37 100644 --- a/vnpy/trader/rqdata.py +++ b/vnpy/trader/rqdata.py @@ -49,8 +49,12 @@ class RqdataClient: if not self.username or not self.password: return False - rqdata_init(self.username, self.password, - ('rqdatad-pro.ricequant.com', 16011)) + rqdata_init( + self.username, + self.password, + ('rqdatad-pro.ricequant.com', 16011), + use_pool=True, + ) try: df = rqdata_all_instruments(date=datetime.now())