* Gets the average prices of a given symbol * @see https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#current-average-price * @param {string} symbol - the symbol * @return {promise or undefined} - omitting the callback returns a promise
(symbol: string, params: Dict = {})
| 3900 | * @return {promise or undefined} - omitting the callback returns a promise |
| 3901 | */ |
| 3902 | async avgPrice(symbol: string, params: Dict = {}) { |
| 3903 | params.symbol = symbol; |
| 3904 | return await this.publicSpotRequest('v3/avgPrice', params); |
| 3905 | } |
| 3906 | |
| 3907 | /** |
| 3908 | * Gets the prices of a given symbol(s) |
nothing calls this directly
no test coverage detected