[Fix] max limit bug with rqdatac

This commit is contained in:
vn.py 2019-09-30 11:22:16 +08:00
parent 32639a1ed7
commit 746ac00854

View File

@ -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())