Uses of Class
com.caplin.motif.fx.config.FormattedRate
Package
Description
-
Uses of FormattedRate in com.caplin.motif.fx.config
Modifier and TypeMethodDescriptionstatic DisplayFields
DefaultDisplayFields.addAllInMidRate
(DisplayFields displayFields, FormattedRate allInMidRate) Adds the All-In Mid Rate field to your display-fields configurationstatic DisplayFields
DefaultDisplayFields.addAllInRate
(DisplayFields displayFields, FormattedRate allInRate) Adds the All-In-Rate field to your display-fields configurationstatic DisplayFields
DefaultDisplayFields.addClientSpotRate
(DisplayFields displayFields, FormattedRate clientSpotRate) Adds the Client Spot Rate field to your display-fields configurationstatic DisplayFields
DefaultDisplayFields.addDefaultAllocationConfirmationFields
(DisplayFields displayFields, String entityDescription, String fullName, String currencyPair, LocalDate executionDate, Instant executionDateTime, FormattedRate spotRate, Integer totalDeals, FormattedAmount profit) Adds the default display fields for an Allocation confirmation message: - Client - Currency Pair - Date - Time - Spot Rate - Total Deals - Estimated Profitstatic DisplayFields
DefaultDisplayFields.addDefaultAllocationDetailsUpdateFields
(DisplayFields displayFields, FormattedAmount originalAmount, FormattedAmount originalContraAmount, String currencyPair, LocalDate originalSettlementDate, String originalTenor, String originalAccount, FormattedRate originalRate) Adds the default deliverable deal display fields for an Allocation details-update message: - Original Amount - Original Contra - Currency Pair - Settlement - Account - Original Ratestatic DisplayFields
DefaultDisplayFields.addDefaultAllocationDetailsUpdateFields
(DisplayFields displayFields, FormattedAmount originalAmount, FormattedAmount originalContraAmount, String currencyPair, LocalDate originalSettlementDate, String originalTenor, String originalAccount, FormattedRate originalRate, LocalDate fixingDate) Adds the default display fields for an Allocation details-update message: - Original Amount - Original Contra - Currency Pair - Settlement - Original Fixing Date (if non-deliverable) - Account - Original Ratestatic DisplayFields
DefaultDisplayFields.addDefaultDrawdownTradeDetailsFields
(DisplayFields displayFields, FormattedRate rate, LocalDate startDate, String startTenor, LocalDate endDate, String endTenor) Adds the post trade history fields to your display fields configurationstatic DisplayFields
DefaultDisplayFields.addDefaultFwdSummaryDisplayFields
(DisplayFields displayFields, String entity, String account, String tradeId, Instant executionDateTime, String currencyPair, String submittedBy, BuySell clientBaseBuySell, FormattedAmount dealtAmount, FormattedAmount contraAmount, FormattedPoints fwdPoints, FormattedPoints fwdMidPoints, FormattedRate spotRate, FormattedRate spotMidRate, FormattedRate allInRate, FormattedRate allInMidRate, LocalDate settlementDate, FormattedAmount serviceCostAmount, FormattedAmount serviceContraCostAmount, FormattedAmount costAmount, FormattedAmount contraCostAmount, String settlementTenor, String remarks, String isCommercial) Creates the default display fields for a forward confirmation message:static DisplayFields
DefaultDisplayFields.addDefaultNdfSummaryDisplayFields
(DisplayFields displayFields, String entity, String account, String tradeId, Instant executionDateTime, String currencyPair, String submittedBy, BuySell clientBaseBuySell, FormattedAmount dealtAmount, FormattedAmount contraAmount, FormattedPoints fwdPoints, FormattedPoints fwdMidPoints, FormattedRate spotRate, FormattedRate spotMidRate, FormattedRate allInRate, FormattedRate allInMidRate, LocalDate settlementDate, FormattedAmount serviceCostAmount, FormattedAmount serviceContraCostAmount, FormattedAmount costAmount, FormattedAmount contraCostAmount, String settlementTenor, LocalDate fixingDate, String remarks, String isCommercial) Creates the default display fields for a NDF confirmation message:static DisplayFields
DefaultDisplayFields.addDefaultSalesAllocationConfirmationFields
(DisplayFields displayFields, String entityDescription, String fullName, String currencyPair, LocalDate executionDate, Instant executionDateTime, FormattedRate traderSpotRate, FormattedPoints spotMargin, FormattedRate clientSpotRate, Integer totalDeals, FormattedAmount profit) Adds the default deliverable deal display fields for a Sales Allocation confirmation message: - Client - Currency Pair - Execution Date Time - Trader Spot Rate - Spot Margin - Client Spot Rate - Total Deals - Estimated Profitstatic DisplayFields
DefaultDisplayFields.addDefaultSalesAllocationConfirmationFields
(DisplayFields displayFields, String entityDescription, String fullName, String currencyPair, LocalDate executionDate, Instant executionDateTime, FormattedRate traderSpotRate, FormattedPoints spotMargin, FormattedRate clientSpotRate, Integer totalDeals, FormattedAmount profit, String settlementCurrency, String fixingSource) Adds the default display fields for a Sales Allocation confirmation message: - Client - Currency Pair - Settlement Currency (if non-deliverable) - Fixing Source (if non-deliverable) - Date - Time - Trader Spot Rate - Spot Margin - Client Spot Rate - Total Deals - Estimated Profitstatic DisplayFields
DefaultDisplayFields.addDefaultSalesAllocationDetailsUpdateFields
(DisplayFields displayFields, FormattedAmount originalAmount, FormattedAmount originalContraAmount, String currencyPair, LocalDate originalSettlementDate, String originalTenor, String originalAccount, FormattedRate originalRate) Adds the default deliverable deal display fields for a Sales Allocation details-update message: - Original Amount - Original Contra - Currency Pair - Settlement - Account - Original Ratestatic DisplayFields
DefaultDisplayFields.addDefaultSalesAllocationDetailsUpdateFields
(DisplayFields displayFields, FormattedAmount originalAmount, FormattedAmount originalContraAmount, String currencyPair, LocalDate originalSettlementDate, String originalTenor, String originalAccount, FormattedRate originalRate, LocalDate fixingDate, String settlementCurrency, String fixingSource) Adds the default display fields for a Sales Allocation details-update message: - Amount - Contra Amount - Currency Pair - Settlement Currency (if non-deliverable) - Settlement - Fixing Date (if non-deliverable) - Fixing Source (if non-deliverable) - Account - Original Ratestatic DisplayFields
DefaultDisplayFields.addDefaultSalesNDSSummaryDisplayFields
(String client, String account, LocalDate executionDate, Instant executionDateTime, String purpose, String fixingSource, String settlementCurrency, FormattedAmount nearDealtAmount, BuySell nearClientBaseBuySell, FormattedAmount nearContraAmount, LocalDate nearSettlementDate, String nearSettlementTenor, LocalDate nearFixingDate, FormattedRate nearAllInRate, FormattedAmount farDealtAmount, BuySell farClientBaseBuySell, FormattedAmount farContraAmount, LocalDate farSettlementDate, String farSettlementTenor, LocalDate farFixingDate, FormattedRate farAllInRate, String remarks, String traderRemarks, String spotTrader, String forwardPointsTrader, String currencyPair) Creates the default display fields for a Sales NDS confirmation message:static DisplayFields
DefaultDisplayFields.addDefaultSalesSwapSummaryDisplayFields
(String client, String account, LocalDate executionDate, Instant executionDateTime, String purpose, FormattedAmount nearDealtAmount, BuySell nearClientBaseBuySell, FormattedAmount nearContraAmount, LocalDate nearSettlementDate, String nearSettlementTenor, FormattedRate nearAllInRate, FormattedAmount farDealtAmount, BuySell farClientBaseBuySell, FormattedAmount farContraAmount, LocalDate farSettlementDate, String farSettlementTenor, FormattedRate farAllInRate, FormattedAmount remainingAmount, String remarks, String traderRemarks, String spotTrader, String forwardPointsTrader, String currencyPair) Creates the default display fields for a Sales swap confirmation message:static DisplayFields
DefaultDisplayFields.addDefaultSalesTimeOptionSummaryDisplayFields
(String client, String account, LocalDate executionDate, Instant executionDateTime, String purpose, LocalDate startDate, String startTenor, LocalDate endDate, String endTenor, FormattedRate spotRate, FormattedPoints riskPoints, FormattedAmount dealtAmount, BuySell clientBaseBuySell, FormattedAmount contraAmount, FormattedAmount remainingAmount, FormattedAmount filledAmount, String remarks, String traderRemarks, String spotTrader, String forwardPointsTrader, String currencyPair) Creates the default display fields for a Sales time option confirmation message:static DisplayFields
DefaultDisplayFields.addDefaultSpotSummaryDisplayFields
(DisplayFields displayFields, String entity, String account, String tradeId, Instant executionDateTime, String currencyPair, String submittedBy, BuySell clientBaseBuySell, FormattedAmount dealtAmount, FormattedAmount contraAmount, FormattedRate spotRate, FormattedRate spotMidRate, LocalDate settlementDate, FormattedAmount serviceCostAmount, FormattedAmount serviceContraCostAmount, FormattedAmount costAmount, FormattedAmount contraCostAmount, String settlementTenor, String remarks) Creates the default display fields for a spot confirmation message:static DisplayFields
DefaultDisplayFields.addDefaultSwapSummaryDisplayFields
(DisplayFields displayFields, String entity, String account, String tradeId, Instant executionDateTime, String currencyPair, String submittedBy, FormattedRate spotRate, FormattedRate spotMidRate, FormattedPoints swapPoints, FormattedPoints swapMidPoints, BuySell nearClientBaseBuySell, FormattedAmount nearDealtAmount, FormattedAmount nearContraAmount, FormattedPoints nearFwdPoints, FormattedPoints nearFwdMidPoints, FormattedRate nearAllInRate, FormattedRate nearAllInMidRate, LocalDate nearSettlementDate, FormattedAmount nearServiceCostAmount, FormattedAmount nearServiceContraCostAmount, FormattedAmount nearCostAmount, FormattedAmount nearContraCostAmount, String nearSettlementTenor, BuySell farClientBaseBuySell, FormattedAmount farDealtAmount, FormattedAmount farContraAmount, FormattedPoints farFwdPoints, FormattedPoints farFwdMidPoints, FormattedRate farAllInRate, FormattedRate farAllInMidRate, LocalDate farSettlementDate, FormattedAmount farServiceCostAmount, FormattedAmount farServiceContraCostAmount, FormattedAmount farCostAmount, FormattedAmount farContraCostAmount, String farSettlementTenor, String remarks, String isCommercial) Creates the default display fields for a time option confirmation message:static DisplayFields
DefaultDisplayFields.addDefaultTimeOptionSummaryDisplayFields
(DisplayFields displayFields, String entity, String account, String tradeId, Instant executionDateTime, String currencyPair, String submittedBy, BuySell clientBaseBuySell, FormattedAmount dealtAmount, FormattedAmount contraAmount, FormattedPoints fwdPoints, FormattedPoints fwdMidPoints, FormattedRate spotRate, FormattedRate spotMidRate, LocalDate startDate, String startTenor, LocalDate settlementDate, String settlementTenor, FormattedAmount serviceCostAmount, FormattedAmount serviceContraCostAmount, FormattedAmount costAmount, FormattedAmount contraCostAmount, String remarks, String isCommercial) Creates the default display fields for a time option confirmation message:static DisplayFields
DefaultDisplayFields.addOtherFwdLegFields
(DisplayFields displayFields, FormattedRate spotRate, FormattedRate spotMidRate, FormattedRate allInRate, FormattedRate allInMidRate, LocalDate settlementDate, FormattedAmount serviceCostAmount, FormattedAmount serviceContraCostAmount, FormattedAmount costAmount, FormattedAmount contraCostAmount, String settlementTenor) adds fwd specific leg fields use with addGenericFwdLegFields to create fwd leg fieldsstatic DisplayFields
DefaultDisplayFields.addRate
(DisplayFields displayFields, FormattedRate rate) Adds the Rate field to your display-fields configurationstatic DisplayFields
DefaultDisplayFields.addSpotMidRate
(DisplayFields DisplayFields, FormattedRate spotMidRate) Adds the Mid Spot-Rate field to your display-fields configurationstatic DisplayFields
DefaultDisplayFields.addSpotRate
(DisplayFields displayFields, FormattedRate spotRate) Adds the Spot Rate field to your display-fields configurationstatic DisplayFields
DefaultDisplayFields.addSpotTradeDetailsFields
(DisplayFields displayFields, BuySell clientBaseBuySell, FormattedAmount dealtAmount, FormattedAmount contraAmount, FormattedRate spotRate, FormattedRate spotMidRate, LocalDate settlementDate, FormattedAmount serviceCostAmount, FormattedAmount serviceContraCostAmount, FormattedAmount costAmount, FormattedAmount contraCostAmount, String settlementTenor, String currencyPair) Adds spot trade leg fieldsstatic DisplayFields
DefaultDisplayFields.addSwapLegFields
(DisplayFields displayFields, FormattedRate allInRate, FormattedRate allInMidRate, LocalDate settlementDate, FormattedAmount serviceCostAmount, FormattedAmount serviceContraCostAmount, FormattedAmount costAmount, FormattedAmount contraCostAmount, String settlementTenor) Adds swap specific leg fields use with addGenericFwdLegFields to create a set of swap leg fieldsstatic DisplayFields
DefaultDisplayFields.addSwapSpotFields
(DisplayFields displayFields, FormattedRate spotRate, FormattedRate spotMidRate, FormattedPoints swapPoints, FormattedPoints swapMidPoints) Adds swap specific leg independent fieldsstatic DisplayFields
DefaultDisplayFields.addTimeOptionFields
(DisplayFields displayFields, FormattedRate spotRate, FormattedRate spotMidRate, LocalDate startDate, String startTenor, LocalDate endDate, String endTenor, FormattedAmount serviceCostAmount, FormattedAmount serviceContraCostAmount, FormattedAmount costAmount, FormattedAmount contraCostAmount) adds time option specific leg fields can be used with addGenericFwdLegFields to create time option leg fieldsstatic DisplayFields
DefaultDisplayFields.addTraderSpotRate
(DisplayFields displayFields, FormattedRate traderSpotRate) Adds the Trader Spot Rate field to your display-fields configuration -
Uses of FormattedRate in com.caplin.motif.mm.config
Modifier and TypeMethodDescriptionstatic DisplayFields
DefaultDisplayFields.addDefaultMMFlexiDepositSummaryDisplayFields
(String tradeId, String account, @NotNull Instant executionDateTime, String submittedBy, String currency, FormattedAmount principalAmount, FormattedRate rate, LocalDate startDate, TextOrToken noticePeriod) Adds the Action field to your display-fields configuration.static DisplayFields
DefaultDisplayFields.addDefaultMMPostTradeSummaryDisplayFields
(String tradeId, String account, @NotNull Instant executionDateTime, String depositType, String submittedBy, FormattedRate rate, LocalDate startDate, LocalDate endDate, FormattedAmount remainingAmount, FormattedAmount originalAmount, FormattedAmount remainingInterestAmount, FormattedAmount remainingPlusInterestAmount, String currency, String paymentFrequency, Boolean shariaTrade, FormattedAmount fees) Adds the Action field to your display-fields configuration.static DisplayFields
DefaultDisplayFields.addDefaultMMTermSummaryDisplayFields
(String tradeId, String account, @NotNull Instant executionDateTime, String depositType, String submittedBy, FormattedRate rate, LocalDate startDate, LocalDate endDate, FormattedAmount principalAmount, FormattedAmount interestAmount, FormattedAmount principalPlusInterestAmount, String currency, String paymentFrequency, Boolean shariaTrade, FormattedAmount fees) Adds the Action field to your display-fields configuration.static DisplayFields
DefaultDisplayFields.addRate
(DisplayFields displayFields, FormattedRate rate) Adds the Rate field to your display-fields configurationstatic DisplayFields
DefaultDisplayFields.addRate
(DisplayFields displayFields, FormattedRate rate, boolean shariaTrade) Adds the Rate field to your display-fields configuration -
Uses of FormattedRate in com.caplin.motif.notifications
Modifier and TypeMethodDescriptionstatic com.caplin.datasource.notification.Notification
NotificationUtils.createOrderFilledNotification
(String notificationId, Instant dateTime, String buySell, FormattedAmount amount, String currencyPair, String dealtCurrency, FormattedRate filledRate, Instant date)