Class OrderProperties
java.lang.Object
com.caplin.motif.fx.ret.orders.strategy.builder.OrderProperties
Used to encapsulate additional properties of an Order that can then be stored in the Taker Order
Custom field in RET.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class used to construct anOrderPropertiesobject. -
Method Summary
Modifier and TypeMethodDescriptionstatic OrderProperties.Builderbuilder()Returns an instance ofOrderProperties.Builderthat can be used to construct an OrderProperties object.Returns the amount.getOrder()Returns the order.getUnit()Returns the unit.
-
Method Details
-
builder
Returns an instance ofOrderProperties.Builderthat can be used to construct an OrderProperties object.- Returns:
- The builder.
-
getOrder
Returns the order.- Returns:
- The Order.
-
getUnit
Returns the unit.- Returns:
- The unit.
-
getAmount
Returns the amount.- Returns:
- The amount.
-