Class ESPTradeProperties
- java.lang.Object
-
- com.caplin.motif.fx.ret.fxtrading.customfield.esp.ESPTradeProperties
-
public class ESPTradeProperties extends java.lang.Object
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
Nested Classes Modifier and Type Class Description static class
ESPTradeProperties.Builder
A helper class used to construct anESPTradeProperties
object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ESPTradeProperties.Builder
builder()
Returns aESPTradeProperties.Builder
to help build an ESPTradeProperties object.java.lang.String
getClientTimePriceClicked()
Returns the time the client clicked on the price.java.lang.String
getClientTimePriceOnScreen()
Returns the time that the price was displayed on the client's screen.java.lang.String
getServerTimeConnectionReceived()
Returns the time on the server that the connection was received.java.lang.String
getServerTimePriceReceived()
Returns the time on the server that the price was received.java.lang.String
getServerTimeSettingUpTrade()
Returns the time the server has spent setting up the trade.java.lang.String
getServerTimeTradeReceived()
Returns the time on the server that the trade was received.java.lang.String
getServerTimeTradeSubmitted()
Returns the time on the server that the trade was submitted.java.lang.String
getServerTimeWaitingForConnection()
Returns the time the server has spent waiting for a connection.java.lang.String
getUnit()
Returns the unit.
-
-
-
Method Detail
-
builder
public static ESPTradeProperties.Builder builder()
Returns aESPTradeProperties.Builder
to help build an ESPTradeProperties object.- Returns:
- The builder.
-
getUnit
public java.lang.String getUnit()
Returns the unit.- Returns:
- The unit
-
getClientTimePriceClicked
public java.lang.String getClientTimePriceClicked()
Returns the time the client clicked on the price.- Returns:
- The time.
-
getClientTimePriceOnScreen
public java.lang.String getClientTimePriceOnScreen()
Returns the time that the price was displayed on the client's screen.- Returns:
- The time.
-
getServerTimePriceReceived
public java.lang.String getServerTimePriceReceived()
Returns the time on the server that the price was received.- Returns:
- The time.
-
getServerTimeTradeReceived
public java.lang.String getServerTimeTradeReceived()
Returns the time on the server that the trade was received.- Returns:
- The time.
-
getServerTimeConnectionReceived
public java.lang.String getServerTimeConnectionReceived()
Returns the time on the server that the connection was received.- Returns:
- The time.
-
getServerTimeWaitingForConnection
public java.lang.String getServerTimeWaitingForConnection()
Returns the time the server has spent waiting for a connection.- Returns:
- The duration.
-
getServerTimeSettingUpTrade
public java.lang.String getServerTimeSettingUpTrade()
Returns the time the server has spent setting up the trade.- Returns:
- The duration.
-
getServerTimeTradeSubmitted
public java.lang.String getServerTimeTradeSubmitted()
Returns the time on the server that the trade was submitted.- Returns:
- The time.
-
-