Class BlotterPartsDef.CommonMissedBlotterFields.Builder

java.lang.Object
com.caplin.generated.motif.fx.blotter.BlotterPartsDef.CommonMissedBlotterFields.Builder
Enclosing class:
BlotterPartsDef.CommonMissedBlotterFields

public static final class BlotterPartsDef.CommonMissedBlotterFields.Builder extends Object
  • Method Details

    • addField

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
    • build

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields build()
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object
    • setRequestID

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setRequestID(@NotNull @NotNull String requestID)
      Parameters:
      requestID - e.g. 1234567890
      Returns:
      The ID of the request.
    • setTOBOUser

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setTOBOUser(@NotNull @NotNull String tOBOUser)
      Parameters:
      tOBOUser - e.g. client@customer.co.za
      Returns:
      The user the trade is on behalf of. For example, if the logged in user dealer1@novobank.co.za wishes to make a trade on behalf of user client@customer.co.za, then the value of this field will be client@customer.co.za.
    • setCurrencyPair

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setCurrencyPair(@NotNull @NotNull String currencyPair)
      Returns:
      The currency pair for the trade. For example, EURUSD
    • setDealtCurrency

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setDealtCurrency(@NotNull @NotNull String dealtCurrency)
      Parameters:
      dealtCurrency - e.g. GBP
      Returns:
      The currency of the Amount of a trade or order.
    • setTradingType

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setTradingType(@NotNull @NotNull String tradingType)
      Parameters:
      tradingType - e.g. SPOT
      Returns:
      Caplin supported values are [SPOT, FWD, NDF, NDF_FIXING, NDS, TIME_OPTION, DRAWDOWN, SWAP, BLOCK, PAR_FORWARD]. See the constants defined within com.caplin.motif.fx.trading.FXTradingType for further details.
    • setMissedReason

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setMissedReason(@NotNull @NotNull String missedReason)
      Parameters:
      missedReason - e.g. Traded Away
      Returns:
      Reason for the missed trade
    • setMissedTime

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setMissedTime(@NotNull @NotNull String missedTime)
      Parameters:
      missedTime - e.g. 2013-07-24T17:13:59.985
      Returns:
      The time and date the trade missed. This is in ISO-8601 format.
    • setSpotBidRate

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSpotBidRate(@NotNull @NotNull BigDecimal spotBidRate)
      Parameters:
      spotBidRate - e.g. 1.08341
      Returns:
      For SPOT quotes this value will be identical to the L1_AllInBidRate. For forward quotes this will contain the SPOT rate that the forward all-in rate was derived from. For forward quotes the value in this field should always equal L1_AllInBidRate - L1_FwdBidPoints.
    • setSpotBidRate

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSpotBidRate(@NotNull @NotNull String spotBidRate)
      Parameters:
      spotBidRate - e.g. 1.08341
      Returns:
      For SPOT quotes this value will be identical to the L1_AllInBidRate. For forward quotes this will contain the SPOT rate that the forward all-in rate was derived from. For forward quotes the value in this field should always equal L1_AllInBidRate - L1_FwdBidPoints.
    • setSpotAskRate

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSpotAskRate(@NotNull @NotNull BigDecimal spotAskRate)
      Parameters:
      spotAskRate - e.g. 1.08349
      Returns:
      For SPOT quotes this value will be identical to the L1_AllInAskRate. For forward quotes this will contain the SPOT rate that the forward all-in rate was derived from. For forward quotes the value in this field should always equal L1_AllInAskRate - L1_FwdAskPoints.
    • setSpotAskRate

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSpotAskRate(@NotNull @NotNull String spotAskRate)
      Parameters:
      spotAskRate - e.g. 1.08349
      Returns:
      For SPOT quotes this value will be identical to the L1_AllInAskRate. For forward quotes this will contain the SPOT rate that the forward all-in rate was derived from. For forward quotes the value in this field should always equal L1_AllInAskRate - L1_FwdAskPoints.
    • setSwapAskPoints

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSwapAskPoints(@NotNull @NotNull BigDecimal swapAskPoints)
      Parameters:
      swapAskPoints - e.g. 0.004934
      Returns:
      The swap ask points that the client wants to trade on
    • setSwapAskPoints

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSwapAskPoints(@NotNull @NotNull String swapAskPoints)
      Parameters:
      swapAskPoints - e.g. 0.004934
      Returns:
      The swap ask points that the client wants to trade on
    • setSwapBidPoints

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSwapBidPoints(@NotNull @NotNull BigDecimal swapBidPoints)
      Parameters:
      swapBidPoints - e.g. 0.004171
      Returns:
      The swap bid points that the client wants to trade on
    • setSwapBidPoints

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSwapBidPoints(@NotNull @NotNull String swapBidPoints)
      Parameters:
      swapBidPoints - e.g. 0.004171
      Returns:
      The swap bid points that the client wants to trade on
    • setSpotAskMargin

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSpotAskMargin(@NotNull @NotNull BigDecimal spotAskMargin)
      Parameters:
      spotAskMargin - e.g. 1.08341
      Returns:
      This field is included on the rate update that the client wants to trade on.
    • setSpotAskMargin

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSpotAskMargin(@NotNull @NotNull String spotAskMargin)
      Parameters:
      spotAskMargin - e.g. 1.08341
      Returns:
      This field is included on the rate update that the client wants to trade on.
    • setSpotBidMargin

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSpotBidMargin(@NotNull @NotNull BigDecimal spotBidMargin)
      Parameters:
      spotBidMargin - e.g. 1.08341
      Returns:
      This field is included on the rate update that the client wants to trade on.
    • setSpotBidMargin

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSpotBidMargin(@NotNull @NotNull String spotBidMargin)
      Parameters:
      spotBidMargin - e.g. 1.08341
      Returns:
      This field is included on the rate update that the client wants to trade on.
    • setSwapAskMargin

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSwapAskMargin(@NotNull @NotNull BigDecimal swapAskMargin)
      Parameters:
      swapAskMargin - e.g. 0.004934
      Returns:
      The swap margin to be applied to the ask side
    • setSwapAskMargin

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSwapAskMargin(@NotNull @NotNull String swapAskMargin)
      Parameters:
      swapAskMargin - e.g. 0.004934
      Returns:
      The swap margin to be applied to the ask side
    • setSwapBidMargin

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSwapBidMargin(@NotNull @NotNull BigDecimal swapBidMargin)
      Parameters:
      swapBidMargin - e.g. 0.004934
      Returns:
      The swap margin to be applied to the bid side
    • setSwapBidMargin

      @NotNull public @NotNull BlotterPartsDef.CommonMissedBlotterFields.Builder setSwapBidMargin(@NotNull @NotNull String swapBidMargin)
      Parameters:
      swapBidMargin - e.g. 0.004934
      Returns:
      The swap margin to be applied to the bid side