2020-05-23 02:42:31.731693 l30 I MainThread real trade mode
2020-05-23 02:42:31.960300 l121 I BinanceWebsocket open websocket
2020-05-23 02:42:31.966790 l121 I BinanceWebsocket open websocket
2020-05-23 02:42:31.977858 util.py run_forever l50 E BinanceWebsocketPrivate BinanceWebsocketPrivate Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/ccxt/base/exchange.py", line 565, in fetch
response.raise_for_status()
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.binance.com/api/v3/userDataStream
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/botfw/etc/util.py", line 44, in run_forever
cb()
File "/usr/local/lib/python3.7/site-packages/botfw/binance/websocket.py", line 82, in __worker
self.__api.websocket_key('PUT') # keep alive
File "/usr/local/lib/python3.7/site-packages/botfw/binance/api.py", line 35, in websocket_key
return self.request('userDataStream', 'v3', method)
File "/usr/local/lib/python3.7/site-packages/botfw/base/api.py", line 39, in request
request['headers'], request['body'])
File "/usr/local/lib/python3.7/site-packages/ccxt/base/exchange.py", line 577, in fetch
self.handle_errors(http_status_code, http_status_text, url, method, headers, http_response, json_response, request_headers, request_body)
File "/usr/local/lib/python3.7/site-packages/ccxt/binance.py", line 1864, in handle_errors
raise ExchangeError(feedback)
ccxt.base.errors.ExchangeError: binance {"code":-1102,"msg":"Mandatory parameter 'listenKey' was not sent, was empty/null, or malformed."}