Skip to main content

Interface: PeriodParams

Charting Library.PeriodParams

Parameters passed to getBars

Properties

countBack

countBack: number

The exact amount of bars to load, should be considered a higher priority than from if your datafeed supports it


firstDataRequest

firstDataRequest: boolean

Used to identify if it's the first call of getBars


from

from: number

Unix timestamp (leftmost requested bar)


to

to: number

Unix timestamp (rightmost requested bar - not inclusive)