node_modules/binance/lib/websocket-client.js
/**
     * Subscribe to index klines(candles) for a symbol in a coinm futures
     */
Subscribe to index klines(candles) for a symbol in a coinm futures
Subscribe to index klines ( candles ) for a symbol in a coinm futures
subscribeMarkPriceKlines(symbol, interval, forceNewConnection) {
        const lowerCaseSymbol = symbol.toLowerCase();
        const streamName = 'markPrice_kline';
        const market = 'coinm';
        const wsKey = requestUtils_1.getWsKeyWithContext(market, streamName, lowerCaseSymbol, interval);
        return this.connectToWsUrl(this.getWsBaseUrl(market, wsKey) + `/ws/${lowerCaseSymbol}@${streamName}_${interval}`, wsKey, forceNewConnection);
    }
subscribeMarkPriceKlines ( symbol , interval , forceNewConnection ) { const lowerCaseSymbol = symbol . toLowerCase ( ) ; const streamName = 'markPrice_kline' ; const market = 'coinm' ; const wsKey = requestUtils_1 . getWsKeyWithContext ( market , streamName , lowerCaseSymbol , interval ) ; return this . connectToWsUrl ( this . getWsBaseUrl ( market , wsKey ) + ` ${ lowerCaseSymbol } ${ streamName } ${ interval } ` , wsKey , forceNewConnection ) ; }
Subscribe to index klines(candles) for a symbol in a coinm futures
Subscribe to index klines ( candles ) for a symbol in a coinm futures