0
Follow
0
Followers
这两天各大交易所出现被墙问题,代理问题变得十分突出。
可是SetProxy好像无效。
现象:
(1)浏览器www.okex.com直接访问不行,说明被限制,设代理地址后流畅访问,但是exchange.SetProxy设置此代理地址后仍然提示:
GetDepth: Get https://www.okex.com/api/v1/depth.do?symbol=btg_usdt: dial tcp 31.13.65.18:443: connectex: The semaphore timeout period has expired.
(2)exchange.SetProxy设置一个胡乱地址,访问币安仍然能够正常访问。
已上好像说明SetProxy不起作用
Related Recommendations
in main TypeError: IO() takes at most 3 arguments (5 given)symbol not setGetTicker: 400: {"code": 2, "data": {}, "message": "invalid params"}gateio getdepth 502Decrypt: Secret key decrypt failedGetOrders: 400: {"code":-1121,"msg":"Invalid symbol."}HTTP 403 errorBitcoin trading by using botsPlease translate the buy plan pageRunning botvs docker on android
Comment
All comments (4)
- (部署SS5 可以参看 https://www.cnblogs.com/soar1688/p/7183722.html )。
- 根据 API 文档 SetProxy 函数的 配置说明( https://www.botvs.com/api#SetProxy ), 可以使 我华南的 阿里云 访问到不少交易所。
测试过了, 是可以的, 我写了个 代理的 策略 https://www.botvs.com/bbs-topic/1559 , 并且 在 自己的 代理服务器上 部署好 SS5 服务
8 years ago
- 1

