Type/to search
0
Follow
0
Followers
SetProxy好像无效啊
FAQ
Created 2018-03-11 11:28:37  
 4
 2038

这两天各大交易所出现被墙问题,代理问题变得十分突出。
可是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
Comment
All comments (4)

    测试过了, 是可以的, 我写了个 代理的 策略 https://www.botvs.com/bbs-topic/1559 , 并且 在 自己的 代理服务器上 部署好 SS5 服务

    8 years ago

    通过SetProxy 确实解决了翻墙和日志回传问题,但是会让托管访问的交易所的时间至少扩大一倍。

    6 years ago

    所以最好的方式就是使用海外服务器部署托管者。

    6 years ago

    稍等 我测试下
    稍后回复您。

    8 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)