The OKCoin platform, which frequently reports the following errors, causes the inability to order automatically:
OKCOIN GetDepth: timeout
OKCOIN 获取1fK线时发生错误: 不完整的JSON数据
OKCOIN Get https://www.okcoin.cn/api/v1/kline.do?symbol=btc_cny&type=1min: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Ask if there is a good solution.
Inventors quantify - small dreamsThe first is latency, which may be related to factors such as network, trading platform servers etc. The second mistake is less common and can be seen in the diagram below. Third, is the API being accessed too frequently?