node_modules/binance/lib/websocket-client.js
/**
     * Subscribe to mark price for all symbols in a market category
     */
Subscribe to mark price for all symbols in a market category
Subscribe to mark price for all symbols in a market category
subscribeAllMarketMarkPrice(market, updateSpeedMs = 3000, forceNewConnection) {
        const streamName = '!markPrice@arr';
        const speedSuffix = updateSpeedMs === 1000 ? '@1s' : '';
        const wsKey = requestUtils_1.getWsKeyWithContext(market, streamName);
        return this.connectToWsUrl(this.getWsBaseUrl(market, wsKey) + `/ws/${streamName}${speedSuffix}`, wsKey, forceNewConnection);
    }
subscribeAllMarketMarkPrice ( market , updateSpeedMs = 3000 , forceNewConnection ) { const streamName = '!markPrice@arr' ; const speedSuffix = updateSpeedMs === 1000 ? '@1s' : '' ; const wsKey = requestUtils_1 . getWsKeyWithContext ( market , streamName ) ; return this . connectToWsUrl ( this . getWsBaseUrl ( market , wsKey ) + ` ${ streamName } ${ speedSuffix } ` , wsKey , forceNewConnection ) ; }
Subscribe to mark price for all symbols in a market category
Subscribe to mark price for all symbols in a market category