Lần đầu tiên sử dụng Inventor Quantify, chúng tôi đã thử nghiệm với một robot nhỏ, xem thông tin tài khoản của okex, và khi robot hoạt động, nó đã báo cáo lỗi sau:
GetAccount: Post https://www.okex.com/api/v1/userinfo.do: dial tcp 69.171.233.24:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Có phải địa chỉ truy cập của API là không đúng không? địa chỉ của okex đã thay đổi thành https://www.okex.cn, có ảnh hưởng gì không?
GetAccount: Post https://www.okex.com/api/v1/userinfo.do: dial tcp 69.171.233.24:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
这个报错信息是说 交易所 没响应了。
目前 大部分交易所 都被墙了 , 只能 使用一个 外部的 vps 访问了, 可以使用 亚马逊 之类的VPS , 然后在上面运行托管者 应该可以 。
(本机的 梯子 不是全局的代理 即使用了,可能本地托管者也访问不到 交易所)。
- 1
