Skip to content

charton API


charton API / @chart-on/core / index / Adjustment

Interface: Adjustment ​

Defined in: packages/core/src/data/adjust.ts:11

A corporate action that changes how earlier prices compare with later ones. factor multiplies the prices of every bar before time: 0.25 for a 4-for-1 split, about 0.98 for a dividend worth 2% of the price. A split also divides earlier volumes by its factor, so traded value stays the same.

Properties ​

factor ​

factor: number

Defined in: packages/core/src/data/adjust.ts:15


kind ​

kind: "other" | "split" | "dividend"

Defined in: packages/core/src/data/adjust.ts:14


label? ​

optional label?: string

Defined in: packages/core/src/data/adjust.ts:17

Short text for markers and tooltips, e.g. "4:1 split".


time ​

time: number

Defined in: packages/core/src/data/adjust.ts:13

When it takes effect: bars before this time are adjusted. Unix seconds.