Class Layer1ApiUserMessageModifyActionToAllInstruments

java.lang.Object
velox.api.layer1.messages.Layer1ApiUserMessageModifyActionToAllInstruments
Direct Known Subclasses:
UserMessageModifyAllInstrumentControlsHft

public abstract class Layer1ApiUserMessageModifyActionToAllInstruments extends Object
Adds new action to dropdown menu for every instrument in ControlGui
  • Field Details

    • name

      public final String name
    • isAdd

      public final boolean isAdd
  • Constructor Details

    • Layer1ApiUserMessageModifyActionToAllInstruments

      public Layer1ApiUserMessageModifyActionToAllInstruments(String name, boolean isAdd)
      Parameters:
      name - name of action that use will see
      isAdd - true if action is added, false if removed
  • Method Details

    • getActionPerformedMessage

      public abstract Layer1ApiStrategyMessageSymboled getActionPerformedMessage(String symbol)
      Creates message that will be sent when this action is selected, containing information about invoking instrument symbol