Package velox.api.layer1.data
Class SymbolMappingInfo
java.lang.Object
velox.api.layer1.data.SymbolMappingInfo
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
public class SymbolMappingInfo
extends Object
Information to be injected into the symbols mapping system
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Set<InstrumentCoreInfo> Alternative representations of the same symbol, i.e.final Set<InstrumentCoreInfo> Cross trading targets to add.final doubleMutiplier, seeInstrumentInfo.multiplierFunction that supplies pips value (seeInstrumentInfo.pips) based on the provided price. -
Constructor Summary
ConstructorsConstructorDescriptionSymbolMappingInfo(Set<InstrumentCoreInfo> alternatives, Set<InstrumentCoreInfo> crossTradingTo, double multiplier, @Nullable Function<Double, Double> pipsSupplier) -
Method Summary
-
Field Details
-
alternatives
Alternative representations of the same symbol, i.e. same symbol on a different platform -
crossTradingTo
Cross trading targets to add. -
multiplier
public final double multiplierMutiplier, seeInstrumentInfo.multiplier -
pipsSupplier
Function that supplies pips value (seeInstrumentInfo.pips) based on the provided price.
-
-
Constructor Details
-
SymbolMappingInfo
public SymbolMappingInfo(Set<InstrumentCoreInfo> alternatives, Set<InstrumentCoreInfo> crossTradingTo, double multiplier, @Nullable Function<Double, Double> pipsSupplier)
-