Skip to content

Documentation / @finchart/react / UseInfiniteHistoryOptions

Interface: UseInfiniteHistoryOptions<T> ​

Defined in: react/src/hooks/use-infinite-history.ts:14

Type Parameters ​

T ​

T extends BaseDataPoint

Properties ​

coordinates? ​

optional coordinates?: CoordinateAccessor<T>

Defined in: react/src/hooks/use-infinite-history.ts:16

The accessor the series reading data uses — an OHLCAccessor for candles. Judges pages by its rules and reads the first x through it.


screensAhead? ​

optional screensAhead?: number

Defined in: react/src/hooks/use-infinite-history.ts:18

Prefetch when less than this many screens of past is held. Default 1.