Layer1ApiUserMessageModifyActionToAllInstruments
Package: velox.api.layer1.messages
Type: Class
Inheritance: java.lang.Object รขโ โ Layer1ApiUserMessageModifyActionToAllInstruments
Direct Known Subclasses: UserMessageModifyAllInstrumentControlsHft
Descriptionโ
Adds new action to dropdown menu for every instrument in ControlGui
Fieldsโ
nameโ
public final String name
isAddโ
public final boolean isAdd
Constructorsโ
Layer1ApiUserMessageModifyActionToAllInstrumentsโ
public Layer1ApiUserMessageModifyActionToAllInstruments(String name, boolean isAdd)
Parameters:
name- Name of action that user will seeisAdd- True if action is added, false if removed
Methodsโ
getActionPerformedMessageโ
public abstract Layer1ApiStrategyMessageSymboled getActionPerformedMessage(String symbol)
Creates message that will be sent when this action is selected, containing information about invoking instrument symbol
Parameters:
symbol- Instrument symbol for which action was invoked
Returns: Message to be sent when action is performed