Documentation menu

Interface

OhlcData

Columns of Series.setData. All columns have the same length.

Properties

NameTypeDescription
timeBigInt64Array | Float64Array | number[]

Bar open times, UTC milliseconds, strictly increasing.

openFloat64Array | number[]
highFloat64Array | number[]
lowFloat64Array | number[]
closeFloat64Array | number[]
volume?Float64Array | number[]

Declaration

export interface OhlcData {
    time: BigInt64Array | Float64Array | number[];
    open: Float64Array | number[];
    high: Float64Array | number[];
    low: Float64Array | number[];
    close: Float64Array | number[];
    volume?: Float64Array | number[];
}

Used by

Series, randomWalk