MCPcopy Create free account
hub / github.com/ccxt/ccxt / getMessageHash

Method getMessageHash

js/src/pro/bingx.js:329–341  ·  view source on GitHub ↗
(unifiedChannel, symbol = undefined, extra = undefined)

Source from the content-addressed store, hash-verified

327 return limit;
328 }
329 getMessageHash(unifiedChannel, symbol = undefined, extra = undefined) {
330 let hash = unifiedChannel;
331 if (symbol !== undefined) {
332 hash += '::' + symbol;
333 }
334 else {
335 hash += 's'; // tickers, orderbooks, ohlcvs, etc ...
336 }
337 if (extra !== undefined) {
338 hash += '::' + extra;
339 }
340 return hash;
341 }
342 /**
343 * @method
344 * @name bingx#watchTrades

Callers 9

watchTickerMethod · 0.95
unWatchTickerMethod · 0.95
handleTickerMethod · 0.95
unWatchTradesMethod · 0.95
watchOrderBookMethod · 0.95
handleOrderBookMethod · 0.95
handleOHLCVMethod · 0.95
watchOHLCVMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected