while True: api.wait_update() print(datetime.time(datetime.now()).strftime("%H:%M:%S"), "**" ) if api.is_changing(k.iloc[-1], "datetime"): # print(datetime.time(datetime.now()).strftime("%H:%M:%S"),"--------------"+instrument+"------------------")
查看问题