MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / reconnect

Function reconnect

deprecated/node-binance-api.js:4983–4985  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4981 */
4982 futuresAggTradeStream: function futuresAggTradeStream(symbols, callback) {
4983 let reconnect = () => {
4984 if (Binance.options.reconnect) futuresAggTradeStream(symbols, callback);
4985 };
4986 let subscription, cleanCallback = data => callback(fAggTradeConvertData(data));
4987 if (Array.isArray(symbols)) {
4988 if (!isArrayUnique(symbols)) throw Error('futuresAggTradeStream: "symbols" cannot contain duplicate elements.');

Callers 7

handleSocketCloseMethod · 0.85
connectWsApiMethod · 0.85
handleSocketCloseFunction · 0.85
handleFuturesSocketCloseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected