Constants

Constants and presets exported by @reincharts/datafeed.

DAY

One day in milliseconds.

const DAY: number

HOUR

One hour in milliseconds.

const HOUR: number

MINUTE

One minute in milliseconds.

const MINUTE: number

RESOLUTIONS

Common resolutions, in increasing order (handy for interval pickers).

const RESOLUTIONS: readonly Resolution[]

SECOND

One second in milliseconds.

const SECOND: 1000

WEEK

One week in milliseconds.

const WEEK: number

On this page