Package velox.api.layer1.data
Class SubscribeInfoCrypto
java.lang.Object
velox.api.layer1.data.SubscribeInfo
velox.api.layer1.data.SubscribeInfoCrypto
public class SubscribeInfoCrypto extends SubscribeInfo
Describes subscription request with extra parameters typical for
cryptocurrencies
-
Field Summary
Fields Modifier and Type Field Description double
pips
Some cryptocurrencies might have pips (min tick) too low to be useful in bookmap.double
priceMultiplier
Deprecated.double
sizeMultiplier
Some cryptocurrencies have non-integer sizes. -
Constructor Summary
Constructors Constructor Description SubscribeInfoCrypto(java.lang.String symbol, java.lang.String exchange, java.lang.String type, double pips, double sizeMultiplier)
-
Method Summary
-
Field Details
-
pips
public final double pipsSome cryptocurrencies might have pips (min tick) too low to be useful in bookmap. This allows to request resampling of the data -
priceMultiplier
@Deprecated public final double priceMultiplierDeprecated.UsesizeMultiplier
instead. This field is a a result of a typo, kept for compatibility reasons. -
sizeMultiplier
public final double sizeMultiplierSome cryptocurrencies have non-integer sizes. SeeInstrumentInfo.sizeMultiplier
-
-
Constructor Details
-
SubscribeInfoCrypto
public SubscribeInfoCrypto(java.lang.String symbol, java.lang.String exchange, java.lang.String type, double pips, double sizeMultiplier)
-