CZCE.SPD RM409&RM411
CZCE.SPD RM407&RM501
CZCE.SPD TA406&TA407
DCE.SPC b2409&m2409
CZCE.SPD TA406&TA501
CZCE.SPD RM407&RM411
DCE.SP c2407&c2411
CZCE.SPD RM407&RM408
CZCE.SPD RM411&RM501
DCE.SPC c2409&cs2409
CZCE.SPD TA406&TA409
DCE.SP c2501&c2503
DCE.SP m2407&m2411
DCE.SP cs2407&cs2409
DCE.SP c2411&c2503
DCE.SP m2407&m2409
CZCE.SPD TA407&TA409
DCE.SP m2408&m2411
CZCE.SPD RM408&RM411
CZCE.SPD RM408&RM501
DCE.SP cs2407&cs2411
DCE.SP c2407&c2409
这些用get_kline_serial查不到k线
李思恒 已回答的问题 2024年5月20日
Traceback (most recent call last):
File “C:UsersAdministratorPycharmProjectspythonProject1.venvScriptste.py”, line 95, in
k = api.get_kline_serial(“DCE.SP c2411&c2503”, 1, data_length=100)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:UsersAdministratorPycharmProjectspythonProject1.venvLibsite-packagestqsdkapi.py”, line 728, in get_kline_serial
raise TqTimeoutError(“获取 %s (%d) 的K线超时,请检查客户端及网络是否正常” % (symbol, duration_seconds))
tqsdk.exceptions.TqTimeoutError: 获取 [‘DCE.SP c2411&c2503’] (1) 的K线超时,请检查客户端及网络是否正常
Task was destroyed but it is pending!