Skip to main content

Type Alias: VWAPConfig

type VWAPConfig = {
color?: string | number;
enabled?: boolean;
resetMinutes?: number;
width?: number;
};

Defined in: types/src/index.ts:295

VWAP overlay config (session anchor). Drawn as a single line on the price pane, resetting each session.

Properties

color?

optional color?: string | number;

Defined in: types/src/index.ts:300

Line color (hex string or packed ARGB number).


enabled?

optional enabled?: boolean;

Defined in: types/src/index.ts:296


resetMinutes?

optional resetMinutes?: number;

Defined in: types/src/index.ts:298

Session reset offset from UTC midnight, in minutes (default 0).


width?

optional width?: number;

Defined in: types/src/index.ts:302

Stroke width in px. Default 1.5.