472 views
0

kline=api.get_kline_serial(‘SHFE.al2104’,20,20)

api.wait_update()

然而kline一直没更新,可能是什么原因导致的?

Answered question
0

建议参照我们文档来写,把time.sleep()去掉,同时将wait_update放入while True循环

Posted new comment

去掉sleep后正常了,谢谢

You are viewing 1 out of 2 answers, click here to view all answers.