0
Follow
0
Followers
지난 2일에는 대형 거래소에서 벽이 설치됐고, 대리점 문제가 크게 대두됐다.
하지만 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

