* Gets the book tickers of given symbol(s) * @see https://developers.binance.com/docs/binance-spot-api-docs/testnet/rest-api/market-data-endpoints#symbol-order-book-ticker * @param {string} symbol - the symbol * @return {promise or undefined} - omitting the callback returns a promise
(symbol?: string, params: Dict = {})
| 3971 | * @return {promise or undefined} - omitting the callback returns a promise |
| 3972 | */ |
| 3973 | async bookTickers(symbol?: string, params: Dict = {}): Promise<{ [key: string]: BookTicker }> { |
| 3974 | if (symbol) params.symbol = symbol; |
| 3975 | const data = await this.publicSpotRequest('v3/ticker/bookTicker', params); |
| 3976 | return this.bookPriceData(data); |
| 3977 | } |
| 3978 | |
| 3979 | /** |
| 3980 | * Gets the prevday percentage change |
nothing calls this directly
no test coverage detected