(category?: 'public' | 'market' | 'private')
| 325 | } |
| 326 | |
| 327 | getFStreamUrl(category?: 'public' | 'market' | 'private') { |
| 328 | if (category) { |
| 329 | if (this.Options.demo) return `wss://fstream.binancefuture.com/${category}/stream?streams=`; |
| 330 | if (this.Options.test) return `wss://stream.binancefuture.${this.domain}/${category}/stream?streams=`; |
| 331 | return `wss://fstream.binance.${this.domain}/${category}/stream?streams=`; |
| 332 | } |
| 333 | if (this.Options.demo) return this.fstreamDemo; |
| 334 | if (this.Options.test) return this.fstreamTest; |
| 335 | return this.fstream; |
| 336 | } |
| 337 | |
| 338 | getDStreamUrl() { |
| 339 | if (this.Options.demo) return this.dstreamDemo; |
no outgoing calls
no test coverage detected