Interface GetCandlesParams

Defines the parameters for retrieving candlestick data from the Wallex.ir exchange.

interface GetCandlesParams {
    from: number | Date;
    resolution: Resolution;
    symbol: string;
    to: number | Date;
}

Properties

from: number | Date

The start time of the data range to retrieve.

resolution: Resolution

The resolution of the candlestick data (e.g., "1m", "1h", "1d").

symbol: string

The symbol (e.g., BTC/USD) for the trading pair.

to: number | Date

The end time of the data range to retrieve.

Generated using TypeDoc