@ringo jupyter 已经支持 asyncio了,可以考虑支持一下
https://stackoverflow.com/questions/47518874/how-do-i-run-python-asyncio-code-in-a-jupyter-notebook
ringo 发表新评论 2020年11月2日


看了一下,支持异步是指可以在 notebook 里写异步函数,但是由于 jupyter 已经在使用 asyncio, 因此其他库就不能使用 asyncio 了. 反而当 jupyter 不支持异步的时候,tqsdk 就可以正常运行
参见这里 jupyter ide并不支持 python异步模块,所以使用tqsdk时不支持该ide
https://doc.shinnytech.com/tqsdk/latest/quickstart.html#quickstart
ringo 已回答的问题 2020年10月30日
收到建议~