【发布时间】:2021-12-31 12:05:05
【问题描述】:
我在从 Bybit(连接到 Bybit API)检索比特币的当前价格时遇到问题。我想每隔 n 分之一秒更新一次比特币的当前价格。然而,从 Bybit 检索值似乎需要很长时间,因为它必须搜索一个大字典。有什么方法可以加快这个过程?
This is the code: (Bitcoin's price is being printed every second)
【问题讨论】:
-
请将您的代码作为文本,而不是图像。见Why not upload images of code/errors when asking a question?。