Package velox.api.layer1.messages
Class Layer1ApiIsTradingSupportedForAlias
java.lang.Object
velox.api.layer1.messages.Layer1ApiIsTradingSupportedForAlias
- All Implemented Interfaces:
Layer1ApiAliasAwareTradingUserMessage,Layer1ApiAliasAwareUserMessage
public class Layer1ApiIsTradingSupportedForAlias
extends Object
implements Layer1ApiAliasAwareTradingUserMessage
Downstream user message sent to provider to ask about trading support for the specific instrument.
Return
Layer1ApiIsTradingSupportedForAlias.Response with true or false depending on whether the provider supports trading for the given alias.
or null, in case the data cannot be retrieved (e.g. the provider is already closed)- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Instrument alias the message is related to.Returns a copy of this message, but with a new alias, while all other data stays the same.
-
Field Details
-
alias
-
-
Constructor Details
-
Layer1ApiIsTradingSupportedForAlias
-
-
Method Details
-
getAlias
Description copied from interface:Layer1ApiAliasAwareUserMessageInstrument alias the message is related to.- Specified by:
getAliasin interfaceLayer1ApiAliasAwareUserMessage- Returns:
- instrument alias
-
withAlias
Description copied from interface:Layer1ApiAliasAwareUserMessageReturns a copy of this message, but with a new alias, while all other data stays the same.- Specified by:
withAliasin interfaceLayer1ApiAliasAwareUserMessage- Parameters:
alias- instrument alias for a message copy- Returns:
- a copy of message with a new alias
-