Package velox.api.layer1.data
Class SymbolMappingInfoBase
java.lang.Object
velox.api.layer1.data.SymbolMappingInfoBase
- Direct Known Subclasses:
SymbolMappingInfo
NOTE: you should use
SymbolMappingInfo instead from public API.
Common 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
ConstructorsModifierConstructorDescriptionprotectedSymbolMappingInfoBase(Set<InstrumentCoreInfo> alternatives, Set<InstrumentCoreInfo> crossTradingTo, double multiplier, 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
-
SymbolMappingInfoBase
protected SymbolMappingInfoBase(Set<InstrumentCoreInfo> alternatives, Set<InstrumentCoreInfo> crossTradingTo, double multiplier, Function<Double, Double> pipsSupplier)
-