[Mod] query all instruments available from RQData server
This commit is contained in:
parent
b117e84167
commit
73e893cfdb
@ -57,7 +57,7 @@ class RqdataClient:
|
|||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
df = rqdata_all_instruments(date=datetime.now())
|
df = rqdata_all_instruments()
|
||||||
for ix, row in df.iterrows():
|
for ix, row in df.iterrows():
|
||||||
self.symbols.add(row['order_book_id'])
|
self.symbols.add(row['order_book_id'])
|
||||||
except (RuntimeError, AuthenticationFailed):
|
except (RuntimeError, AuthenticationFailed):
|
||||||
|
Loading…
Reference in New Issue
Block a user