3
Follow
0
Followers
Binance의 spot userDataStream에 연결할 때 listenKey를 가져오는 중 오류가 발생했습니다.
Created 2021-05-11 13:47:06
3
1508
python
코드: exchange.IO (('api', 'POST', '/api/v3/userDataStream')
오류: Futures_OP 4: 400: {"code":-1101, "msg":"Too many parameters; expected '0' and received '2'".}
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?
Comment
All comments (3)
解决了
if not self.is_spot:
self.exchange.IO('api', 'PUT', self.listenKeyUrl)
else:
requests.put(self.spot_url + self.listenKeyUrl,
headers= {'X-MBX-APIKEY': self.APIKEY}, timeout=3)
5 years ago
类似于:HttpQuery('https://fapi.binance.com/fapi/v1/listenKey', {method: 'POST',data: ''}, null, 'X-MBX-APIKEY:' + APIKEY)
5 years ago
- 1
