We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In [6]: api.get_quote("SSE.000510") --------------------------------------------------------------------------- TqTimeoutError Traceback (most recent call last) Cell In[6], line 1 ----> 1 api.get_quote("SSE.000510") File ~/shared/dev/MarketDataBase/miniconda3/lib/python3.11/site-packages/tqsdk/api.py:431, in TqApi.get_quote(self, symbol) 429 if symbol == "": 430 raise Exception(f"get_quote 中请求合约代码不能为空字符串") --> 431 return self.get_quote_list([symbol])[0] File ~/shared/dev/MarketDataBase/miniconda3/lib/python3.11/site-packages/tqsdk/api.py:484, in TqApi.get_quote_list(self, symbols) 482 while not quote_list._task.done(): 483 if not self.wait_update(deadline=deadline, _task=quote_list._task): --> 484 raise TqTimeoutError(f"获取 {symbols} 的行情信息超时,请检查客户端及网络是否正常") 485 return quote_list TqTimeoutError: 获取 ['SSE.000510'] 的行情信息超时,请检查客户端及网络是否正常
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: