public class Layer1ApiProviderSupportedFeaturesBuilder
extends java.lang.Object
Layer1ApiProviderSupportedFeatures| Modifier and Type | Field and Description |
|---|---|
boolean |
exchangeUsedForSubscription |
HistoricalDataInfo |
historicalDataInfo |
java.util.List<SubscribeInfo> |
knownInstruments |
LookupInfo |
lookupInfo |
java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> |
pipsFunction |
java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> |
sizeMultiplierFunction |
boolean |
tradingStartKnown |
ProviderType |
tradingVia |
boolean |
typeUsedForSubscription |
| Constructor and Description |
|---|
Layer1ApiProviderSupportedFeaturesBuilder()
Creates a new instance with all features marked as unsupported
|
public ProviderType tradingVia
public boolean tradingStartKnown
public java.util.List<SubscribeInfo> knownInstruments
public boolean exchangeUsedForSubscription
public boolean typeUsedForSubscription
public java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> pipsFunction
public java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> sizeMultiplierFunction
public HistoricalDataInfo historicalDataInfo
public LookupInfo lookupInfo
public Layer1ApiProviderSupportedFeaturesBuilder()
public Layer1ApiProviderSupportedFeatures build()
public boolean isDepth()
public Layer1ApiProviderSupportedFeaturesBuilder setDepth(boolean depth)
public boolean isMbo()
public Layer1ApiProviderSupportedFeaturesBuilder setMbo(boolean mbo)
public ProviderType getTradingVia()
public Layer1ApiProviderSupportedFeaturesBuilder setTradingVia(ProviderType tradingVia)
public boolean isTrading()
public Layer1ApiProviderSupportedFeaturesBuilder setTrading(boolean trading)
public boolean isOco()
public Layer1ApiProviderSupportedFeaturesBuilder setOco(boolean oco)
public boolean isOso()
public Layer1ApiProviderSupportedFeaturesBuilder setOso(boolean oso)
public boolean isTrailingStopsAsIndependentOrders()
public Layer1ApiProviderSupportedFeaturesBuilder setTrailingStopsAsIndependentOrders(boolean trailingStopsAsIndependentOrders)
public boolean isTrailingStopsAsBracketChildren()
public Layer1ApiProviderSupportedFeaturesBuilder setTrailingStopsAsBracketChildren(boolean trailingStopsAsBracketChildren)
public boolean isBrackets()
public Layer1ApiProviderSupportedFeaturesBuilder setBrackets(boolean brackets)
public boolean isConvertOrderToMkt()
public Layer1ApiProviderSupportedFeaturesBuilder setConvertOrderToMkt(boolean convertOrderToMkt)
public Layer1ApiProviderSupportedFeaturesBuilder setMarketMode(boolean marketMode)
public boolean isMarketMode()
public java.util.List<OrderDuration> getSupportedLimitDurations()
public java.util.List<OrderDuration> getSupportedStopDurations()
public Layer1ApiProviderSupportedFeaturesBuilder setSupportedOrderDurations(java.util.List<OrderDuration> supportedOrderDurations)
public java.util.List<OrderType> getSupportedStopOrders()
public boolean isNegativeStopLimitOffset()
public Layer1ApiProviderSupportedFeaturesBuilder setNegativeStopLimitOffset(boolean negativeStopLimitOffset)
public Layer1ApiProviderSupportedFeaturesBuilder setSupportedStopOrders(java.util.List<OrderType> supportedStopOrders)
public Layer1ApiProviderSupportedFeaturesBuilder setSupportedLimitDurations(java.util.List<OrderDuration> supportedLimitDurations)
public Layer1ApiProviderSupportedFeaturesBuilder setSupportedStopDurations(java.util.List<OrderDuration> supportedStopDurations)
public Layer1ApiProviderSupportedFeaturesBuilder setBalanceSupported(boolean isBalanceSupported)
public boolean isBalanceSupported()
public boolean isTradingStartKnown()
public Layer1ApiProviderSupportedFeaturesBuilder setTradingStartKnown(boolean tradingStartKnown)
public java.util.List<SubscribeInfo> getKnownInstruments()
public Layer1ApiProviderSupportedFeaturesBuilder setKnownInstruments(java.util.List<SubscribeInfo> knownInstruments)
public boolean isExchangeUsedForSubscription()
public Layer1ApiProviderSupportedFeaturesBuilder setExchangeUsedForSubscription(boolean exchangeUsedForSubscription)
public boolean isTypeUsedForSubscription()
public Layer1ApiProviderSupportedFeaturesBuilder setTypeUsedForSubscription(boolean typeUsedForSubscription)
public java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> getPipsFunction()
public Layer1ApiProviderSupportedFeaturesBuilder setPipsFunction(java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> pipsFunction)
public java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> getSizeMultiplierFunction()
public Layer1ApiProviderSupportedFeaturesBuilder setSizeMultiplierFunction(java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> sizeMultiplierFunction)
public HistoricalDataInfo getHistoricalDataInfo()
public Layer1ApiProviderSupportedFeaturesBuilder setHistoricalDataInfo(HistoricalDataInfo historicalDataInfo)
public Layer1ApiProviderSupportedFeaturesBuilder setLookupInfo(LookupInfo lookupInfo)
public LookupInfo getLookupInfo()
public java.util.function.Supplier<java.lang.Boolean> isDelayed()
public Layer1ApiProviderSupportedFeaturesBuilder setDelayed(java.util.function.Supplier<java.lang.Boolean> isDelayed)