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.

    Fields inherited from class velox.api.layer1.data.SubscribeInfo

    exchange, symbol, type
  • Constructor Summary

    Constructors 
    Constructor Description
    SubscribeInfoCrypto​(java.lang.String symbol, java.lang.String exchange, java.lang.String type, double pips, double sizeMultiplier)  
  • Method Summary

    Methods inherited from class velox.api.layer1.data.SubscribeInfo

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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​(java.lang.String symbol, java.lang.String exchange, java.lang.String type, double pips, double sizeMultiplier)