Skip to main content

Interface: Bar

Charting Library.Bar

Bar data point

Properties​

close​

close: number

Closing price


high​

high: number

High price


low​

low: number

Low price


open​

open: number

Opening price


time​

time: number

Bar time. Amount of milliseconds since Unix epoch start in UTC timezone. time for daily, weekly, and monthly bars is expected to be a trading day (not session start day) at 00:00 UTC. The library adjusts time according to session from LibrarySymbolInfo.

HistoryMetadata.nextTime is also in milliseconds, while most other time values in the Datafeed API, such as PeriodParams.from, are in seconds.


volume​

Optional

volume: number

Trading Volume