Skip to main content

PerInstrumentHistoricalDataInfo

Package: velox.api.layer1.data

Type: Class

Inheritance: java.lang.Object รขโ€ โ€™ PerInstrumentHistoricalDataInfo

All Implemented Interfaces: HistoricalDataInfo

Descriptionโ€‹

Allows historical data info to be different for each instrument

Fieldsโ€‹

instrumentToHistoricalDataInfoโ€‹

public final Function<SubscribeInfo, HistoricalDataInfo> instrumentToHistoricalDataInfo

A mapping from SubscribeInfo to the HistoricalDataInfo. Currently multiple levels of PerInstrumentHistoricalDataInfo are not supported.

Constructorsโ€‹

PerInstrumentHistoricalDataInfoโ€‹

public PerInstrumentHistoricalDataInfo(Function<SubscribeInfo, HistoricalDataInfo> instrumentToHistoricalDataInfo)