1.72K 浏览
0

直接调用

api.query_symbol_info()

告警:

FutureWarning: Passing literal json to 'read_json' is deprecated and will be removed in a future version. To read from a literal string, wrap it in a 'StringIO' object.
symbol_info = api.query_symbol_info(symbol)

在tqskd2的API文档中没有找到这个方法, https://doc.shinnytech.com/tqsdk2/latest/reference/tqsdk2.tqapi.html#tqsdk2.TqApi

tqskd2应该用什么方法替换?

李思恒 已回答的问题 2024年8月9日