getClosePrice
declare function getClosePrice(symbol: string, interval: CandleInterval): Promise<number>;
Returns the close price of the last completed candle for the given interval.
Parameters
| Parameter |
Description |
symbol |
Trading pair symbol (e.g., "BTCUSDT") |
interval |
Candle interval ("1m" | "3m" |