Package velox.api.layer1.data
Class Layer1ApiProviderSupportedFeaturesBuilder
java.lang.Object
velox.api.layer1.data.Layer1ApiProviderSupportedFeaturesBuilder
public class Layer1ApiProviderSupportedFeaturesBuilder
extends java.lang.Object
See fields meaning in
Layer1ApiProviderSupportedFeatures
-
Field Summary
Fields Modifier and Type Field 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
java.util.List<java.lang.String>
tradingFrom
Deprecated.boolean
tradingStartKnown
java.util.List<java.lang.String>
tradingVia
Deprecated.boolean
typeUsedForSubscription
-
Constructor Summary
Constructors Constructor Description Layer1ApiProviderSupportedFeaturesBuilder()
Creates a new instance with all features marked as unsupported -
Method Summary
-
Field Details
-
tradingVia
@Deprecated public java.util.List<java.lang.String> tradingViaDeprecated.Providers that this provider would like to trade via if those are available. -
tradingFrom
@Deprecated public java.util.List<java.lang.String> tradingFromDeprecated.Providers that this provider would like to handle trading for -
tradingStartKnown
public boolean tradingStartKnown -
knownInstruments
-
exchangeUsedForSubscription
public boolean exchangeUsedForSubscription -
typeUsedForSubscription
public boolean typeUsedForSubscription -
pipsFunction
-
sizeMultiplierFunction
public java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> sizeMultiplierFunction -
historicalDataInfo
-
lookupInfo
-
-
Constructor Details
-
Layer1ApiProviderSupportedFeaturesBuilder
public Layer1ApiProviderSupportedFeaturesBuilder()Creates a new instance with all features marked as unsupported
-
-
Method Details
-
build
-
isDepth
public boolean isDepth() -
setDepth
-
isMbo
public boolean isMbo() -
setMbo
-
getTradingVia
@Deprecated public java.util.List<java.lang.String> getTradingVia()Deprecated. -
setTradingVia
@Deprecated public Layer1ApiProviderSupportedFeaturesBuilder setTradingVia(java.util.List<java.lang.String> tradingVia)Deprecated. -
getTradingFrom
@Deprecated public java.util.List<java.lang.String> getTradingFrom()Deprecated. -
setTradingFrom
@Deprecated public Layer1ApiProviderSupportedFeaturesBuilder setTradingFrom(java.util.List<java.lang.String> tradingFrom)Deprecated. -
isTrading
public boolean isTrading() -
setTrading
-
isOco
public boolean isOco() -
setOco
-
isOso
public boolean isOso() -
setOso
-
isTrailingStopsAsIndependentOrders
public boolean isTrailingStopsAsIndependentOrders() -
setTrailingStopsAsIndependentOrders
public Layer1ApiProviderSupportedFeaturesBuilder setTrailingStopsAsIndependentOrders(boolean trailingStopsAsIndependentOrders) -
isTrailingStopsAsBracketChildren
public boolean isTrailingStopsAsBracketChildren() -
setTrailingStopsAsBracketChildren
public Layer1ApiProviderSupportedFeaturesBuilder setTrailingStopsAsBracketChildren(boolean trailingStopsAsBracketChildren) -
isBrackets
public boolean isBrackets() -
setBrackets
-
isConvertOrderToMkt
public boolean isConvertOrderToMkt() -
setConvertOrderToMkt
-
setMarketMode
-
isMarketMode
public boolean isMarketMode() -
getSupportedLimitDurations
-
getSupportedStopDurations
-
setSupportedOrderDurations
public Layer1ApiProviderSupportedFeaturesBuilder setSupportedOrderDurations(java.util.List<OrderDuration> supportedOrderDurations) -
getSupportedStopOrders
-
isNegativeStopLimitOffset
public boolean isNegativeStopLimitOffset() -
setNegativeStopLimitOffset
public Layer1ApiProviderSupportedFeaturesBuilder setNegativeStopLimitOffset(boolean negativeStopLimitOffset) -
setSupportedStopOrders
public Layer1ApiProviderSupportedFeaturesBuilder setSupportedStopOrders(java.util.List<OrderType> supportedStopOrders) -
setSupportedLimitDurations
public Layer1ApiProviderSupportedFeaturesBuilder setSupportedLimitDurations(java.util.List<OrderDuration> supportedLimitDurations) -
setSupportedStopDurations
public Layer1ApiProviderSupportedFeaturesBuilder setSupportedStopDurations(java.util.List<OrderDuration> supportedStopDurations) -
setBalanceSupported
-
isBalanceSupported
public boolean isBalanceSupported() -
isTradingStartKnown
public boolean isTradingStartKnown() -
setTradingStartKnown
-
getKnownInstruments
-
setKnownInstruments
public Layer1ApiProviderSupportedFeaturesBuilder setKnownInstruments(java.util.List<SubscribeInfo> knownInstruments) -
isExchangeUsedForSubscription
public boolean isExchangeUsedForSubscription() -
setExchangeUsedForSubscription
public Layer1ApiProviderSupportedFeaturesBuilder setExchangeUsedForSubscription(boolean exchangeUsedForSubscription) -
isTypeUsedForSubscription
public boolean isTypeUsedForSubscription() -
setTypeUsedForSubscription
public Layer1ApiProviderSupportedFeaturesBuilder setTypeUsedForSubscription(boolean typeUsedForSubscription) -
getPipsFunction
public java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> getPipsFunction() -
setPipsFunction
public Layer1ApiProviderSupportedFeaturesBuilder setPipsFunction(java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> pipsFunction) -
getSizeMultiplierFunction
public java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> getSizeMultiplierFunction() -
setSizeMultiplierFunction
public Layer1ApiProviderSupportedFeaturesBuilder setSizeMultiplierFunction(java.util.function.Function<SubscribeInfo,DefaultAndList<java.lang.Double>> sizeMultiplierFunction) -
getHistoricalDataInfo
-
setHistoricalDataInfo
public Layer1ApiProviderSupportedFeaturesBuilder setHistoricalDataInfo(HistoricalDataInfo historicalDataInfo) -
setLookupInfo
-
getLookupInfo
-
isDelayed
public boolean isDelayed() -
setDelayed
-
setClientSideFeatures
public Layer1ApiProviderSupportedFeaturesBuilder setClientSideFeatures(java.util.Set<Layer1ApiProviderSupportedFeatures.ClientSideFeature> clientSideFeatures) -
getClientSideFeatures
-