Class Layer1ApiProviderSupportedFeatures

java.lang.Object
velox.api.layer1.data.Layer1ApiProviderSupportedFeatures

public class Layer1ApiProviderSupportedFeatures
extends java.lang.Object
Key differences between providers should be described by this class.
  • Field Details

    • trading

      public final boolean trading
      Basic trading capabilities
    • tradingVia

      @Deprecated public java.util.List<java.lang.String> tradingVia
      Deprecated.
      If not null, this is provider that is used to do trading (e.g. when trading from DxFeed to IB, DxFeed supported features tradingVia will be IB)
    • tradingFrom

      @Deprecated public java.util.List<java.lang.String> tradingFrom
      Deprecated.
      Provider can declare that it can be used to trade from other source
    • oco

      public final boolean oco
    • oso

      public final boolean oso
    • depth

      public final boolean depth
      Provides depth data. This is what most providers should do. Enabled in builder by default. Either depth or mbo must be enabled for any provider. Provider that generates MBO data (mbo) can still generate depth data if there is a reason to believe provider can do it better than deriving from MBO directly.
    • mbo

      public final boolean mbo
      Provides MBO data.
    • trailingStopsAsIndependentOrders

      public final boolean trailingStopsAsIndependentOrders
    • trailingStopsAsBracketChildren

      public final boolean trailingStopsAsBracketChildren
    • brackets

      public final boolean brackets
    • convertOrderToMkt

      public final boolean convertOrderToMkt
    • supportedLimitDurations

      public final java.util.List<OrderDuration> supportedLimitDurations
    • supportedStopDurations

      public final java.util.List<OrderDuration> supportedStopDurations
    • supportedStopOrders

      public final java.util.List<OrderType> supportedStopOrders
    • negativeStopLimitOffset

      public final boolean negativeStopLimitOffset
      If this is set to false then stop-limit orders can only be sent with positive or zero offset
    • marketMode

      public final boolean marketMode
    • isBalanceSupported

      public final boolean isBalanceSupported
    • tradingStartKnown

      public final boolean tradingStartKnown
      If set it means that provider has a way to know when trading day starts for the instrument
    • knownInstruments

      public final java.util.List<SubscribeInfo> knownInstruments
      List of instruments to be automatically added to subscription dialog
    • exchangeUsedForSubscription

      public final boolean exchangeUsedForSubscription
      Determines if user can enter exchange when subscribing
    • typeUsedForSubscription

      public final boolean typeUsedForSubscription
      Determines if user can set type when subscribing
    • pipsFunction

      public final java.util.function.Function<SubscribeInfo,​DefaultAndList<java.lang.Double>> pipsFunction
      If set, it will be called to determine what are the possible pips values for selected instrument
    • sizeMultiplierFunction

      public final java.util.function.Function<SubscribeInfo,​DefaultAndList<java.lang.Double>> sizeMultiplierFunction
      If set, it will be called to determine what are the possible size multiplier values for selected instrument
    • historicalDataInfo

      public final HistoricalDataInfo historicalDataInfo
      If not null, describes how historical data can be retrieved for particular instrument
    • lookupInfo

      public final LookupInfo lookupInfo
    • isDelayed

      public final boolean isDelayed
      If data is delayed
    • clientSideFeatures

      public final java.util.Set<Layer1ApiProviderSupportedFeatures.ClientSideFeature> clientSideFeatures
      List of features that are emulated on client side. Adapter will typically leave that empty. For example if adapter tells that brackets are not supported Bookmap will activate client-side replacement, but it will be less reliable (e.g. won't work if Bookmap is closed, will be slower due to network latency, etc)
    • isTradingSubscriptionSupported

      public final boolean isTradingSubscriptionSupported
      Indicates if the trading subscription can be supported, usually it is needed on cross trading.
  • Constructor Details

  • Method Details