java.lang.Object
com.caplin.motif.fx.config.definitions.client.FXStrategy

@Generated("org.openapitools.codegen.languages.SpringCodegen") public class FXStrategy extends Object
FXStrategy
  • Constructor Details

    • FXStrategy

      public FXStrategy()
  • Method Details

    • single

      public FXStrategy single(OrderStrategy single)
    • getSingle

      public OrderStrategy getSingle()
      Get single
      Returns:
      single
    • setSingle

      public void setSingle(OrderStrategy single)
    • oco

      public FXStrategy oco(OrderStrategy oco)
    • getOco

      public OrderStrategy getOco()
      Get oco
      Returns:
      oco
    • setOco

      public void setOco(OrderStrategy oco)
    • loop

      public FXStrategy loop(OrderStrategy loop)
    • getLoop

      public OrderStrategy getLoop()
      Get loop
      Returns:
      loop
    • setLoop

      public void setLoop(OrderStrategy loop)
    • ifDone

      public FXStrategy ifDone(OrderStrategy ifDone)
    • getIfDone

      public OrderStrategy getIfDone()
      Get ifDone
      Returns:
      ifDone
    • setIfDone

      public void setIfDone(OrderStrategy ifDone)
    • ifDoneOCO

      public FXStrategy ifDoneOCO(OrderStrategy ifDoneOCO)
    • getIfDoneOCO

      public OrderStrategy getIfDoneOCO()
      Get ifDoneOCO
      Returns:
      ifDoneOCO
    • setIfDoneOCO

      public void setIfDoneOCO(OrderStrategy ifDoneOCO)
    • ifDoneLoop

      public FXStrategy ifDoneLoop(OrderStrategy ifDoneLoop)
    • getIfDoneLoop

      public OrderStrategy getIfDoneLoop()
      Get ifDoneLoop
      Returns:
      ifDoneLoop
    • setIfDoneLoop

      public void setIfDoneLoop(OrderStrategy ifDoneLoop)
    • activationDateEnabled

      public FXStrategy activationDateEnabled(Boolean activationDateEnabled)
    • getActivationDateEnabled

      public Boolean getActivationDateEnabled()
      Whether the user can modify the activation date when defining a strategy
      Returns:
      activationDateEnabled
    • setActivationDateEnabled

      public void setActivationDateEnabled(Boolean activationDateEnabled)
    • oneWayDirectionLimit

      public FXStrategy oneWayDirectionLimit(OneWayDirectionLimitType oneWayDirectionLimit)
    • getOneWayDirectionLimit

      public OneWayDirectionLimitType getOneWayDirectionLimit()
      Get oneWayDirectionLimit
      Returns:
      oneWayDirectionLimit
    • setOneWayDirectionLimit

      public void setOneWayDirectionLimit(OneWayDirectionLimitType oneWayDirectionLimit)
    • warningMessage

      public FXStrategy warningMessage(String warningMessage)
    • getWarningMessage

      public String getWarningMessage()
      Contains a warning message to display on a banner on the FX Order ticket. Supports markdown. e.g. **AGREED MARGIN:** This user has an agreed margin of **0.000001** and should not be exceeded.
      Returns:
      warningMessage
    • setWarningMessage

      public void setWarningMessage(String warningMessage)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object