Class ESPTradeProperties
java.lang.Object
com.caplin.motif.fx.ret.fxtrading.customfield.esp.ESPTradeProperties
Used to encapsulate additional properties of an ESP trade that can then be stored in the Taker Order
Custom field in RET.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A helper class used to construct anESPTradeProperties
object. -
Method Summary
Modifier and TypeMethodDescriptionstatic ESPTradeProperties.Builder
builder()
Returns aESPTradeProperties.Builder
to help build an ESPTradeProperties object.Returns the time the client clicked on the price.Returns the time that the price was displayed on the client's screen.Returns the time on the server that the connection was received.Returns the time on the server that the price was received.Returns the time the server has spent setting up the trade.Returns the time on the server that the trade was received.Returns the time on the server that the trade was submitted.Returns the time the server has spent waiting for a connection.getUnit()
Returns the unit.
-
Method Details
-
builder
Returns aESPTradeProperties.Builder
to help build an ESPTradeProperties object.- Returns:
- The builder.
-
getUnit
Returns the unit.- Returns:
- The unit
-
getClientTimePriceClicked
Returns the time the client clicked on the price.- Returns:
- The time.
-
getClientTimePriceOnScreen
Returns the time that the price was displayed on the client's screen.- Returns:
- The time.
-
getServerTimePriceReceived
Returns the time on the server that the price was received.- Returns:
- The time.
-
getServerTimeTradeReceived
Returns the time on the server that the trade was received.- Returns:
- The time.
-
getServerTimeConnectionReceived
Returns the time on the server that the connection was received.- Returns:
- The time.
-
getServerTimeWaitingForConnection
Returns the time the server has spent waiting for a connection.- Returns:
- The duration.
-
getServerTimeSettingUpTrade
Returns the time the server has spent setting up the trade.- Returns:
- The duration.
-
getServerTimeTradeSubmitted
Returns the time on the server that the trade was submitted.- Returns:
- The time.
-