0
Follow
0
Followers
API 문서를 보고 이해가 안 되셨다면, 알고 계신 분들은 답변해 주시기 바랍니다.
2.10.2 SetTimeout
오직 rest 프로토콜만, rest 요청을 설정하는 데 사용된 오버타임은 한 번만 설정하면 유효하다.
예를 들어: exchange.SetTimeout(3000), exchange 거래소 객체를 설정하고, rest 요청을 보내기 시작 시계가 시작되고, 3초가 넘으면, 초과 시간은 null을 반환한다.
Related Recommendations
The grid trading strategyPython streamlined multi-variety MACD trending strategy frameworkin 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 bots
Comment
All comments (1)
就是 设置 exchange.SetTimeout(3000) 后, 这个 exchange 对象 成员函数 被调用的时候 , 发送 http 请求 ,响应超时 设置 为3秒, 超过 3秒 没有接收到 交易所服务器响应,就报错 超时。
8 years ago
- 1
