Class BlotterPartsDef.MissedTradeLegFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.blotter.BlotterPartsDef.MissedTradeLegFields.Builder
- Enclosing class:
- BlotterPartsDef.MissedTradeLegFields
-
Method Summary
Modifier and TypeMethodDescription@NotNull BlotterPartsDef.MissedTradeLegFieldsbuild()setAllInAskMargin(@NotNull String allInAskMargin) setAllInAskMargin(@NotNull BigDecimal allInAskMargin) setAllInAskRate(@NotNull String allInAskRate) setAllInAskRate(@NotNull BigDecimal allInAskRate) setAllInBidMargin(@NotNull String allInBidMargin) setAllInBidMargin(@NotNull BigDecimal allInBidMargin) setAllInBidRate(@NotNull String allInBidRate) setAllInBidRate(@NotNull BigDecimal allInBidRate) setAmount(@NotNull BigDecimal amount) setSettlementDate(@NotNull String settlementDate) setStartDate(@NotNull String startDate) @NotNull StringtoString()
-
Method Details
-
addField
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setAmount
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAmount(@NotNull @NotNull BigDecimal amount) - Returns:
- The amount of a trade or order in the DealtCurrency.
-
setAmount
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAmount(@NotNull @NotNull String amount) - Returns:
- The amount of a trade or order in the DealtCurrency.
-
setStartDate
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setStartDate(@NotNull @NotNull String startDate) - Parameters:
startDate- e.g. 20150620- Returns:
- The date of which the time option becomes active from.
-
setSettlementDate
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setSettlementDate(@NotNull @NotNull String settlementDate) - Parameters:
settlementDate- e.g. 20160314- Returns:
- The date on which the two currencies in the FX trade are exchanged. Can be a tenor or a broken date, i.e. SPOT or 20160314.
-
setAllInBidRate
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInBidRate(@NotNull @NotNull BigDecimal allInBidRate) - Parameters:
allInBidRate- e.g. 1.091790- Returns:
- The bid rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.
-
setAllInBidRate
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInBidRate(@NotNull @NotNull String allInBidRate) - Parameters:
allInBidRate- e.g. 1.091790- Returns:
- The bid rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.
-
setAllInAskRate
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInAskRate(@NotNull @NotNull BigDecimal allInAskRate) - Parameters:
allInAskRate- e.g. 1.091790- Returns:
- The ask rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.
-
setAllInAskRate
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInAskRate(@NotNull @NotNull String allInAskRate) - Parameters:
allInAskRate- e.g. 1.091790- Returns:
- The ask rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.
-
setAllInAskMargin
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInAskMargin(@NotNull @NotNull BigDecimal allInAskMargin) - Parameters:
allInAskMargin- e.g. 1.091790- Returns:
- This field represents the all-in bid rate, with client margin applied to it
-
setAllInAskMargin
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInAskMargin(@NotNull @NotNull String allInAskMargin) - Parameters:
allInAskMargin- e.g. 1.091790- Returns:
- This field represents the all-in bid rate, with client margin applied to it
-
setAllInBidMargin
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInBidMargin(@NotNull @NotNull BigDecimal allInBidMargin) - Parameters:
allInBidMargin- e.g. 1.091790- Returns:
- This field represents the all-in bid rate, with client margin applied to it
-
setAllInBidMargin
@NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInBidMargin(@NotNull @NotNull String allInBidMargin) - Parameters:
allInBidMargin- e.g. 1.091790- Returns:
- This field represents the all-in bid rate, with client margin applied to it
-