Class BlotterIdCache

java.lang.Object
com.caplin.motif.fx.ret.orders.blotter.sources.BlotterIdCache

public class BlotterIdCache extends Object
  • Constructor Details

    • BlotterIdCache

      public BlotterIdCache()
  • Method Details

    • getBlotterId

      @Nullable public String getBlotterId(@Nullable String requestId, @Nullable String orderIdOrRequestId)
      Returns the same Blotter ID every time for the given Request ID or Order/Request ID

      The reason for this is just so that we can maintain a constant ID for the blotter record and its updates.

      Parameters:
      orderIdOrRequestId - Order/Request ID is either the Order ID or Request ID - is always present - and may change between the two, however if it is the Request ID then it will match the requestId param.
      requestId - Request ID may not be present if the order was entered via the RET applet.