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 Details

    • pips

      public final double pips
      Some 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 priceMultiplier
      Deprecated.
      Use sizeMultiplier instead. This field is a a result of a typo, kept for compatibility reasons.
    • sizeMultiplier

      public final double sizeMultiplier
      Some cryptocurrencies have non-integer sizes. See InstrumentInfo.sizeMultiplier
  • Constructor Details

    • SubscribeInfoCrypto

      public SubscribeInfoCrypto(String symbol, String exchange, String type, double pips, double sizeMultiplier)
    • SubscribeInfoCrypto

      public SubscribeInfoCrypto(String symbol, String exchange, String type, double pips, double sizeMultiplier, boolean isGeneric)
    • SubscribeInfoCrypto

      public SubscribeInfoCrypto(String symbol, String exchange, String type, Map<String,String> additionalInfo, double pips, double sizeMultiplier)
    • SubscribeInfoCrypto

      public SubscribeInfoCrypto(String symbol, String exchange, String type, Map<String,String> additionalInfo, double pips, double sizeMultiplier, boolean isGeneric)
  • Method Details