Skip to main content

VWAPConfig

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

Source: types/src/index.ts:703

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

Properties​

color?​

optional color?: string | number;

Source: types/src/index.ts:709

Line color (hex string or packed ARGB number).


enabled?​

optional enabled?: boolean;

Source: types/src/index.ts:705

Draw the line. Default false.


resetMinutes?​

optional resetMinutes?: number;

Source: types/src/index.ts:707

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


width?​

optional width?: number;

Source: types/src/index.ts:711

Stroke width in px. Default 1.5.