getClosePrice

declare function getClosePrice(symbol: string, interval: CandleInterval): Promise<number>;

Returns the close price of the last completed candle for the given interval.

Parameter Description
symbol Trading pair symbol (e.g., "BTCUSDT")
interval Candle interval ("1m" | "3m"