(unifiedChannel, symbol = undefined, extra = undefined)
| 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 |
no outgoing calls
no test coverage detected