this error:
node:events:495
throw er; // Unhandled 'error' event
Error: WebSocket was closed before the connection was established
Emitted 'error' event on WebSocket instance at:
at emitErrorAndClose (D:\ww\workspace\webs\quants_app\QuantBotServer\node_modules\ws\lib\websocket.js:1033:13)
client.ws.candles(symbol, interval, candle => { console.log('candle--', candle) });
this error: node:events:495 throw er; // Unhandled 'error' event Error: WebSocket was closed before the connection was established Emitted 'error' event on WebSocket instance at: at emitErrorAndClose (D:\ww\workspace\webs\quants_app\QuantBotServer\node_modules\ws\lib\websocket.js:1033:13)