Class FXStrategy
java.lang.Object
com.caplin.motif.fx.config.definitions.client.FXStrategy
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.4.0")
public class FXStrategy
extends Object
FXStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivationDateEnabled(Boolean activationDateEnabled) booleanWhether the user can modify the activation date when defining a strategyGet ifDoneGet ifDoneLoopGet ifDoneOCOgetLoop()Get loopgetOco()Get ocoGet oneWayDirectionLimitGet singlegetTwap()Get twapContains a warning message to display on a banner on the FX Order ticket.inthashCode()ifDone(OrderStrategy ifDone) ifDoneLoop(OrderStrategy ifDoneLoop) ifDoneOCO(OrderStrategy ifDoneOCO) loop(OrderStrategy loop) oco(OrderStrategy oco) oneWayDirectionLimit(OneWayDirectionLimitType oneWayDirectionLimit) voidsetActivationDateEnabled(Boolean activationDateEnabled) voidsetIfDone(OrderStrategy ifDone) voidsetIfDoneLoop(OrderStrategy ifDoneLoop) voidsetIfDoneOCO(OrderStrategy ifDoneOCO) voidsetLoop(OrderStrategy loop) voidsetOco(OrderStrategy oco) voidsetOneWayDirectionLimit(OneWayDirectionLimitType oneWayDirectionLimit) voidsetSingle(OrderStrategy single) voidsetTwap(TwapStrategy twap) voidsetWarningMessage(String warningMessage) single(OrderStrategy single) toString()twap(TwapStrategy twap) 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
-
twap
-
getTwap
Get twap- Returns:
- twap
-
setTwap
-
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
-