Class FXStrategy
java.lang.Object
com.caplin.motif.fx.config.definitions.client.FXStrategy
@Generated("org.openapitools.codegen.languages.SpringCodegen")
public class FXStrategy
extends Object
FXStrategy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivationDateEnabled
(Boolean activationDateEnabled) boolean
Whether the user can modify the activation date when defining a strategyGet ifDoneGet ifDoneLoopGet ifDoneOCOgetLoop()
Get loopgetOco()
Get ocoGet oneWayDirectionLimitGet singleContains a warning message to display on a banner on the FX Order ticket.int
hashCode()
ifDone
(OrderStrategy ifDone) ifDoneLoop
(OrderStrategy ifDoneLoop) ifDoneOCO
(OrderStrategy ifDoneOCO) loop
(OrderStrategy loop) oco
(OrderStrategy oco) oneWayDirectionLimit
(OneWayDirectionLimitType oneWayDirectionLimit) void
setActivationDateEnabled
(Boolean activationDateEnabled) void
setIfDone
(OrderStrategy ifDone) void
setIfDoneLoop
(OrderStrategy ifDoneLoop) void
setIfDoneOCO
(OrderStrategy ifDoneOCO) void
setLoop
(OrderStrategy loop) void
setOco
(OrderStrategy oco) void
setOneWayDirectionLimit
(OneWayDirectionLimitType oneWayDirectionLimit) void
setSingle
(OrderStrategy single) void
setWarningMessage
(String warningMessage) single
(OrderStrategy single) toString()
warningMessage
(String warningMessage)
-
Constructor Details
-
FXStrategy
public FXStrategy()
-
-
Method Details
-
single
-
getSingle
Get single- Returns:
- single
-
setSingle
-
oco
-
getOco
Get oco- Returns:
- oco
-
setOco
-
loop
-
getLoop
Get loop- Returns:
- loop
-
setLoop
-
ifDone
-
getIfDone
Get ifDone- Returns:
- ifDone
-
setIfDone
-
ifDoneOCO
-
getIfDoneOCO
Get ifDoneOCO- Returns:
- ifDoneOCO
-
setIfDoneOCO
-
ifDoneLoop
-
getIfDoneLoop
Get ifDoneLoop- Returns:
- ifDoneLoop
-
setIfDoneLoop
-
activationDateEnabled
-
getActivationDateEnabled
Whether the user can modify the activation date when defining a strategy- Returns:
- activationDateEnabled
-
setActivationDateEnabled
-
oneWayDirectionLimit
-
getOneWayDirectionLimit
Get oneWayDirectionLimit- Returns:
- oneWayDirectionLimit
-
setOneWayDirectionLimit
-
warningMessage
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-