try:
while True:
api.wait_update()
if api.is_changing(klines.iloc[-1],"datetime"):
# cdate=datetime.datetime.fromtimestamp(klines.datetime.iloc[-1]/1e9)
print(klines.iloc[-1])
except Exception as e:
print(f"发生了其他异常: {str(e)}")
finally:

orzass 已回答的问题 2025年2月17日
WEB打开的K线图是正确的