Skip to main content

VWAPConfig

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

Source: types/src/index.ts:546

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:552

Line color (hex string or packed ARGB number).


enabled?

optional enabled?: boolean;

Source: types/src/index.ts:548

Draw the line. Default false.


resetMinutes?

optional resetMinutes?: number;

Source: types/src/index.ts:550

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


width?

optional width?: number;

Source: types/src/index.ts:554

Stroke width in px. Default 1.5.