Skip to content

API Reference


API Reference / Candle

Interface: Candle ​

Defined in: src/ta/candles.ts:4

A single OHLCV bar with its timestamp in epoch seconds.

Extends ​

Properties ​

timestamp ​

timestamp: number

Defined in: src/ta/candles.ts:5


open ​

open: number

Defined in: src/ta/candles.ts:6

Overrides ​

OhlcBar.open


volume ​

volume: number

Defined in: src/ta/candles.ts:7

Overrides ​

OhlcBar.volume


openInterest? ​

optional openInterest?: number

Defined in: src/ta/candles.ts:8


high ​

high: number

Defined in: src/ta/indicators.ts:11

Inherited from ​

OhlcBar.high


low ​

low: number

Defined in: src/ta/indicators.ts:12

Inherited from ​

OhlcBar.low


close ​

close: number

Defined in: src/ta/indicators.ts:13

Inherited from ​

OhlcBar.close

Community project — not affiliated with Dhan. MIT License.