108 浏览
0

raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host=’api.shinnytech.com’, port=443): Read timed out. (read timeout=30)
Task was destroyed but it is pending!
task: <Task pending name=’Task-2′ coro=<TqApi._notify_watcher() running at C:\Users\huanyu\Anaconda3\envs\scientificProject\lib\site-packages\tqsdk\api.py:3000> cb=[TqApi._on_task_done()]>
Task was destroyed but it is pending!
task: <Task pending name=’Task-1′ coro=<TqApi._windows_patch() running at C:\Users\huanyu\Anaconda3\envs\scientificProject\lib\site-packages\tqsdk\api.py:2995> cb=[TqApi._on_task_done()]>
sys:1: RuntimeWarning: coroutine ‘TqApi._notify_watcher’ was never awaited
sys:1: RuntimeWarning: coroutine ‘TqApi._windows_patch’ was never awaited

已回答的问题