Layer1ApiProviderSupportedFeaturesBuilder
Package: velox.api.layer1.data
Type: Class
Inheritance: java.lang.Object → Layer1ApiProviderSupportedFeaturesBuilder
Description​
See fields meaning in Layer1ApiProviderSupportedFeatures
Fields​
exchangeUsedForSubscription​
boolean exchangeUsedForSubscription
historicalDataInfo​
HistoricalDataInfo historicalDataInfo
knownInstruments​
List<SubscribeInfo> knownInstruments
lookupInfo​
LookupInfo lookupInfo
pipsFunction​
Function<SubscribeInfo, DefaultAndList<Double>> pipsFunction
sizeMultiplierFunction​
Function<SubscribeInfo, DefaultAndList<Double>> sizeMultiplierFunction
subscriptionInfoFunction​
Function<SubscribeInfo, String> subscriptionInfoFunction
symbolsMappingFunction​
Function<Set<InstrumentCoreInfo>, SymbolMappingInfo> symbolsMappingFunction
tradingFrom​
List<String> tradingFrom
Deprecated
tradingStartKnown​
boolean tradingStartKnown
tradingVia​
List<String> tradingVia
Deprecated
typeUsedForSubscription​
boolean typeUsedForSubscription
Constructors​
Layer1ApiProviderSupportedFeaturesBuilder​
Layer1ApiProviderSupportedFeaturesBuilder()
Creates a new instance with all features marked as unsupported
Methods​
build​
Layer1ApiProviderSupportedFeatures build()
getClientSideFeatures​
Set<Layer1ApiProviderSupportedFeatures.ClientSideFeature> getClientSideFeatures()
getHistoricalDataInfo​
HistoricalDataInfo getHistoricalDataInfo()
getIsTradingSubscriptionSupported​
boolean getIsTradingSubscriptionSupported()
getKnownInstruments​
List<SubscribeInfo> getKnownInstruments()
getLookupInfo​
LookupInfo getLookupInfo()
getPipsFunction​
Function<SubscribeInfo, DefaultAndList<Double>> getPipsFunction()
getSizeMultiplierFunction​
Function<SubscribeInfo, DefaultAndList<Double>> getSizeMultiplierFunction()
getSubscriptionInfoFunction​
Function<SubscribeInfo, String> getSubscriptionInfoFunction()
getSupportedLimitDurations​
List<OrderDuration> getSupportedLimitDurations()
getSupportedStopDurations​
List<OrderDuration> getSupportedStopDurations()
getSupportedStopOrders​
List<OrderType> getSupportedStopOrders()
getSymbolsMappingFunction​
Function<Set<InstrumentCoreInfo>, SymbolMappingInfo> getSymbolsMappingFunction()
getTradingFrom​
List<String> getTradingFrom()
Deprecated
getTradingVia​
List<String> getTradingVia()
Deprecated
isBalanceSupported​
boolean isBalanceSupported()
isBrackets​
boolean isBrackets()
isBracketTiers​
boolean isBracketTiers()
isConvertOrderToMkt​
boolean isConvertOrderToMkt()
isDelayed​
boolean isDelayed()
isDepth​
boolean isDepth()
isExchangeUsedForSubscription​
boolean isExchangeUsedForSubscription()
isHistoricalAggregationDisabled​
boolean isHistoricalAggregationDisabled()
isMarketMode​
boolean isMarketMode()
isMbo​
boolean isMbo()
isMultiAccountTrading​
boolean isMultiAccountTrading()
isNegativeStopLimitOffset​
boolean isNegativeStopLimitOffset()
isOco​
boolean isOco()
isOso​
boolean isOso()
isReceiveCrossTradingStatusMessage​
boolean isReceiveCrossTradingStatusMessage()
isTrading​
boolean isTrading()
isTradingStartKnown​
boolean isTradingStartKnown()
isTrailingStopsAsBracketChildren​
boolean isTrailingStopsAsBracketChildren()
isTrailingStopsAsIndependentOrders​
boolean isTrailingStopsAsIndependentOrders()
isTypeUsedForSubscription​
boolean isTypeUsedForSubscription()
setBalanceSupported​
Layer1ApiProviderSupportedFeaturesBuilder setBalanceSupported(boolean isBalanceSupported)
setBrackets​
Layer1ApiProviderSupportedFeaturesBuilder setBrackets(boolean brackets)
setBracketTiers​
Layer1ApiProviderSupportedFeaturesBuilder setBracketTiers(boolean bracketTiers)
setClientSideFeatures​
Layer1ApiProviderSupportedFeaturesBuilder setClientSideFeatures(Set<Layer1ApiProviderSupportedFeatures.ClientSideFeature> clientSideFeatures)
setConvertOrderToMkt​
Layer1ApiProviderSupportedFeaturesBuilder setConvertOrderToMkt(boolean convertOrderToMkt)
setDelayed​
Layer1ApiProviderSupportedFeaturesBuilder setDelayed(boolean isDelayed)
setDepth​
Layer1ApiProviderSupportedFeaturesBuilder setDepth(boolean depth)
setExchangeUsedForSubscription​
Layer1ApiProviderSupportedFeaturesBuilder setExchangeUsedForSubscription(boolean exchangeUsedForSubscription)
setHistoricalAggregationDisabled​
Layer1ApiProviderSupportedFeaturesBuilder setHistoricalAggregationDisabled(boolean isHistoricalAggregationDisabled)
setHistoricalDataInfo​
Layer1ApiProviderSupportedFeaturesBuilder setHistoricalDataInfo(HistoricalDataInfo historicalDataInfo)
setKnownInstruments​
Layer1ApiProviderSupportedFeaturesBuilder setKnownInstruments(List<SubscribeInfo> knownInstruments)
setLookupInfo​
Layer1ApiProviderSupportedFeaturesBuilder setLookupInfo(LookupInfo lookupInfo)
setMarketMode​
Layer1ApiProviderSupportedFeaturesBuilder setMarketMode(boolean marketMode)
setMbo​
Layer1ApiProviderSupportedFeaturesBuilder setMbo(boolean mbo)
setMultiAccountTrading​
Layer1ApiProviderSupportedFeaturesBuilder setMultiAccountTrading(boolean multiAccountTrading)
setNegativeStopLimitOffset​
Layer1ApiProviderSupportedFeaturesBuilder setNegativeStopLimitOffset(boolean negativeStopLimitOffset)
setOco​
Layer1ApiProviderSupportedFeaturesBuilder setOco(boolean oco)
setOso​
Layer1ApiProviderSupportedFeaturesBuilder setOso(boolean oso)
setPipsFunction​
Layer1ApiProviderSupportedFeaturesBuilder setPipsFunction(Function<SubscribeInfo, DefaultAndList<Double>> pipsFunction)
setReceiveCrossTradingStatusMessage​
Layer1ApiProviderSupportedFeaturesBuilder setReceiveCrossTradingStatusMessage(boolean receiveCrossTradingStatusMessage)
setSizeMultiplierFunction​
Layer1ApiProviderSupportedFeaturesBuilder setSizeMultiplierFunction(Function<SubscribeInfo, DefaultAndList<Double>> sizeMultiplierFunction)
setSubscriptionInfoFunction​
Layer1ApiProviderSupportedFeaturesBuilder setSubscriptionInfoFunction(Function<SubscribeInfo, String> subscriptionInfoFunction)
setSupportedLimitDurations​
Layer1ApiProviderSupportedFeaturesBuilder setSupportedLimitDurations(List<OrderDuration> supportedLimitDurations)
setSupportedOrderDurations​
Layer1ApiProviderSupportedFeaturesBuilder setSupportedOrderDurations(List<OrderDuration> supportedOrderDurations)
setSupportedStopDurations​
Layer1ApiProviderSupportedFeaturesBuilder setSupportedStopDurations(List<OrderDuration> supportedStopDurations)
setSupportedStopOrders​
Layer1ApiProviderSupportedFeaturesBuilder setSupportedStopOrders(List<OrderType> supportedStopOrders)
setSymbolsMappingFunction​
Layer1ApiProviderSupportedFeaturesBuilder setSymbolsMappingFunction(Function<Set<InstrumentCoreInfo>, SymbolMappingInfo> symbolsMappingFunction)
setTrading​
Layer1ApiProviderSupportedFeaturesBuilder setTrading(boolean trading)
setTradingFrom​
Layer1ApiProviderSupportedFeaturesBuilder setTradingFrom(List<String> tradingFrom)
Deprecated
setTradingStartKnown​
Layer1ApiProviderSupportedFeaturesBuilder setTradingStartKnown(boolean tradingStartKnown)
setTradingSubscriptionSupported​
Layer1ApiProviderSupportedFeaturesBuilder setTradingSubscriptionSupported(boolean isTradingSubscriptionSupported)
setTradingVia​
Layer1ApiProviderSupportedFeaturesBuilder setTradingVia(List<String> tradingVia)
Deprecated
setTrailingStopsAsBracketChildren​
Layer1ApiProviderSupportedFeaturesBuilder setTrailingStopsAsBracketChildren(boolean trailingStopsAsBracketChildren)
setTrailingStopsAsIndependentOrders​
Layer1ApiProviderSupportedFeaturesBuilder setTrailingStopsAsIndependentOrders(boolean trailingStopsAsIndependentOrders)
setTypeUsedForSubscription​
Layer1ApiProviderSupportedFeaturesBuilder setTypeUsedForSubscription(boolean typeUsedForSubscription)
Layer1ApiProviderSupportedFeaturesBuilder
Fields​
tradingVia​
@Deprecated
public List<String> tradingVia
Deprecated.
Providers that this provider would like to trade via if those are available.
tradingFrom​
@Deprecated
public List<String> tradingFrom
Deprecated.
Providers that this provider would like to handle trading for
tradingStartKnown​
public boolean tradingStartKnown
knownInstruments​
public List<SubscribeInfo> knownInstruments
exchangeUsedForSubscription​
public boolean exchangeUsedForSubscription
typeUsedForSubscription​
public boolean typeUsedForSubscription
pipsFunction​
public Function<SubscribeInfo, DefaultAndList<Double>> pipsFunction
sizeMultiplierFunction​
public Function<SubscribeInfo, DefaultAndList<Double>> sizeMultiplierFunction
subscriptionInfoFunction​
public Function<SubscribeInfo, String> subscriptionInfoFunction
historicalDataInfo​
public HistoricalDataInfo historicalDataInfo
lookupInfo​
public LookupInfo lookupInfo
symbolsMappingFunction​
public Function<Set<InstrumentCoreInfo>, SymbolMappingInfo> symbolsMappingFunction
Constructors​
Layer1ApiProviderSupportedFeaturesBuilder​
public Layer1ApiProviderSupportedFeaturesBuilder()
Creates a new instance with all features marked as unsupported
Methods​
build​
public Layer1ApiProviderSupportedFeatures build()
isDepth​
public boolean isDepth()
setDepth​
public Layer1ApiProviderSupportedFeaturesBuilder setDepth(boolean depth)
isMbo​
public boolean isMbo()
setMbo​
public Layer1ApiProviderSupportedFeaturesBuilder setMbo(boolean mbo)
getTradingVia​
@Deprecated
public List<String> getTradingVia()
Deprecated.
setTradingVia​
@Deprecated
public Layer1ApiProviderSupportedFeaturesBuilder setTradingVia(List<String> tradingVia)
Deprecated.
getTradingFrom​
@Deprecated
public List<String> getTradingFrom()
Deprecated.
setTradingFrom​
@Deprecated
public Layer1ApiProviderSupportedFeaturesBuilder setTradingFrom(List<String> tradingFrom)
Deprecated.
isTrading​
public boolean isTrading()
setTrading​
public Layer1ApiProviderSupportedFeaturesBuilder setTrading(boolean trading)
isMultiAccountTrading​
public boolean isMultiAccountTrading()
setMultiAccountTrading​
public Layer1ApiProviderSupportedFeaturesBuilder setMultiAccountTrading(boolean multiAccountTrading)
isOco​
public boolean isOco()
setOco​
public Layer1ApiProviderSupportedFeaturesBuilder setOco(boolean oco)
isOso​
public boolean isOso()
setOso​
public Layer1ApiProviderSupportedFeaturesBuilder setOso(boolean oso)
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​
public Layer1ApiProviderSupportedFeaturesBuilder setBrackets(boolean brackets)
isBracketTiers​
public boolean isBracketTiers()
setBracketTiers​
public Layer1ApiProviderSupportedFeaturesBuilder setBracketTiers(boolean bracketTiers)
isConvertOrderToMkt​
public boolean isConvertOrderToMkt()
setConvertOrderToMkt​
public Layer1ApiProviderSupportedFeaturesBuilder setConvertOrderToMkt(boolean convertOrderToMkt)
setMarketMode​
public Layer1ApiProviderSupportedFeaturesBuilder setMarketMode(boolean marketMode)
isMarketMode​
public boolean isMarketMode()