Interface IMarketProfileBuilderConfig

Configuration interface for building a Market Profile.

IMarketProfileBuilderConfig

interface IMarketProfileBuilderConfig {
    candles: ICandle[];
    period: MARKET_PROFILE_PERIODS;
    pricePrecision: number;
    tickMultiplier: number;
    tickSize: number;
    timezone: string;
}

Properties

candles: ICandle[]

An array of candle objects.

The time period for which to generate the market profile.

pricePrecision: number

The number of decimal places to use when rounding prices. This affects the precision of price levels in the resulting market profile.

tickMultiplier: number

A multiplier applied to the tick size. This can be used to adjust the scale of the price levels.

tickSize: number

The size of each price tick. This determines the granularity of the price levels in the market profile.

timezone: string

The timezone to use for time-based calculations, e.g., 'Europe/London'. This ensures consistent time handling across different market sessions.

Generated using TypeDoc