[Fix] max limit bug with rqdatac
This commit is contained in:
parent
32639a1ed7
commit
746ac00854
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user