quote = api.get_quote(“INE.sc2505”) # 确保合约代码格式正确 # 打印最新价和时间 while True: api.wait_update()
print (quote.datetime, quote.last_price)
web界面目前没有维护了,以api返回的为准
欢迎加入官方群聊611806823一起讨论,也可以试试首页右边小助手答疑~
欢迎加入官方群聊611806823一起讨论,也可以试试首页右边小助手答疑~