Class ESPTradeProperties

java.lang.Object
com.caplin.motif.fx.ret.fxtrading.customfield.esp.ESPTradeProperties

public class ESPTradeProperties extends Object
Used to encapsulate additional properties of an ESP trade that can then be stored in the Taker Order Custom field in RET.
See Also:
  • Method Details

    • builder

      public static ESPTradeProperties.Builder builder()
      Returns a ESPTradeProperties.Builder to help build an ESPTradeProperties object.
      Returns:
      The builder.
    • getUnit

      public String getUnit()
      Returns the unit.
      Returns:
      The unit
    • getClientTimePriceClicked

      public String getClientTimePriceClicked()
      Returns the time the client clicked on the price.
      Returns:
      The time.
    • getClientTimePriceOnScreen

      public String getClientTimePriceOnScreen()
      Returns the time that the price was displayed on the client's screen.
      Returns:
      The time.
    • getServerTimePriceReceived

      public String getServerTimePriceReceived()
      Returns the time on the server that the price was received.
      Returns:
      The time.
    • getServerTimeTradeReceived

      public String getServerTimeTradeReceived()
      Returns the time on the server that the trade was received.
      Returns:
      The time.
    • getServerTimeConnectionReceived

      public String getServerTimeConnectionReceived()
      Returns the time on the server that the connection was received.
      Returns:
      The time.
    • getServerTimeWaitingForConnection

      public String getServerTimeWaitingForConnection()
      Returns the time the server has spent waiting for a connection.
      Returns:
      The duration.
    • getServerTimeSettingUpTrade

      public String getServerTimeSettingUpTrade()
      Returns the time the server has spent setting up the trade.
      Returns:
      The duration.
    • getServerTimeTradeSubmitted

      public String getServerTimeTradeSubmitted()
      Returns the time on the server that the trade was submitted.
      Returns:
      The time.