node_modules/binance/lib/websocket-client.js
/**
     * Subscribe to partial book depths. Note, spot only supports 1000ms or 100ms for updateMs, while futures only support 100, 250 or 500ms.
     */
Subscribe to partial book depths. Note, spot only supports 1000ms or 100ms for updateMs, while futures only support 100, 250 or 500ms.
Subscribe to partial book depths . Note spot only supports 1000ms or 100ms for updateMs while futures only support 100 250 or 500ms .
subscribePartialBookDepths(symbol, levels, updateMs, market, forceNewConnection) {
        const lowerCaseSymbol = symbol.toLowerCase();
        const streamName = 'depth';
        const wsKey = requestUtils_1.getWsKeyWithContext(market, streamName, lowerCaseSymbol);
        const updateMsSuffx = updateMs === 100 ? `@${updateMs}ms` : '';
        return this.connectToWsUrl(this.getWsBaseUrl(market, wsKey) + `/ws/${lowerCaseSymbol}@${streamName}${levels}${updateMsSuffx}`, wsKey, forceNewConnection);
    }
subscribePartialBookDepths ( symbol , levels , updateMs , market , forceNewConnection ) { const lowerCaseSymbol = symbol . toLowerCase ( ) ; const streamName = 'depth' ; const wsKey = requestUtils_1 . getWsKeyWithContext ( market , streamName , lowerCaseSymbol ) ; const updateMsSuffx = updateMs === 100 ? ` ${ updateMs } ` : '' ; return this . connectToWsUrl ( this . getWsBaseUrl ( market , wsKey ) + ` ${ lowerCaseSymbol } ${ streamName } ${ levels } ${ updateMsSuffx } ` , wsKey , forceNewConnection ) ; }
Subscribe to partial book depths.
Subscribe to partial book depths .