Uses of Enum Class
com.caplin.motif.fx.trading.BuySell
Package
Description
Parent package with classes that relate to FX trading in general but no specific trading protocol.
Classes and interfaces that relate to post-trade allocations.
Classes and interfaces that relate to block trading.
Classes representing the events that can happen during the block trade process.
Classes and interfaces that relate to supplying the details of a previously submitted order strategy.
Classes and interfaces that relate to submitting an order or order strategy.
-
Uses of BuySell in com.caplin.motif.fx.config
Modifier and TypeMethodDescriptionstatic DisplayFields
DefaultDisplayFields.addAmountRelativeToBase
(DisplayFields displayFields, FormattedAmount amount, BuySell clientBaseBuySell, String currencyPair) Adds the Amount field with a buy/sell calculated from the provided base buy/sell.static 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.addDefaultSalesFwdSummaryDisplayFields
(String client, String account, LocalDate executionDate, Instant executionDateTime, String purpose, FormattedAmount dealtAmount, BuySell clientBaseBuySell, FormattedAmount contraAmount, LocalDate settlementDate, String settlementTenor, FormattedAmount remainingAmount, String remarks, String traderRemarks, String spotTrader, String forwardPointsTrader, String currencyPair) Creates the default display fields for a Sales forward confirmation message:static DisplayFields
DefaultDisplayFields.addDefaultSalesNDFSummaryDisplayFields
(String client, String account, LocalDate executionDate, Instant executionDateTime, String purpose, LocalDate fixingDate, String fixingSource, String settlementCurrency, FormattedAmount dealtAmount, BuySell clientBaseBuySell, FormattedAmount contraAmount, LocalDate settlementDate, String settlementTenor, FormattedAmount remainingAmount, String remarks, String traderRemarks, String spotTrader, String forwardPointsTrader, String currencyPair) Creates the default display fields for a Sales NDF confirmation message:static 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.addDefaultSalesSpotSummaryDisplayFields
(String client, String account, LocalDate executionDate, Instant executionDateTime, String purpose, FormattedAmount dealtAmount, BuySell clientBaseBuySell, FormattedAmount contraAmount, LocalDate settlementDate, String settlementTenor, FormattedAmount remainingAmount, String remarks, String traderRemarks, String spotTrader, String forwardPointsTrader, String currencyPair) Creates the default display fields for a Sales spot 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.addGenericFwdLegFields
(DisplayFields displayFields, BuySell clientBaseBuySell, FormattedAmount dealtAmount, FormattedAmount contraAmount, FormattedPoints forwardPoints, FormattedPoints forwardMidPoints, String currencyPair) Adds generic fwd leg fields (look at other adders to see what it can be combined with):static 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 fields -
Uses of BuySell in com.caplin.motif.fx.trading
-
Uses of BuySell in com.caplin.motif.fx.trading.allocation
Modifier and TypeMethodDescriptionPostTradeAllocation.getBuySell()
Deprecated.Returns whether or not this is a buy or a sell.PostTradeAllocationList.getBuySell()
Deprecated.Returns whether or not the original trade was a BUY or SELL.ModifierConstructorDescriptionDeprecated.PostTradeAllocationList
(com.caplin.trading.Trade trade, ScheduledExecutorService executorService, String tradeId, BuySell buySell, List<PostTradeAllocation> allocations) Deprecated. -
Uses of BuySell in com.caplin.motif.fx.trading.block
Modifier and TypeMethodDescriptionBlockTradeLeg.getBuySell()
Returns theBuySell
direction of this leg. -
Uses of BuySell in com.caplin.motif.fx.trading.block.event
ModifierConstructorDescriptionNettedLegExecution
(String legNumber, String nettedPrice, BuySell buySell) -
Uses of BuySell in com.caplin.motif.fx.trading.orders.details
Modifier and TypeMethodDescriptionOrderFieldSet.setBuySell
(BuySell buySell) Deprecated.Sets the side of the order, from the perspective of the person who placed it. -
Uses of BuySell in com.caplin.motif.fx.trading.orders.submission
Modifier and TypeMethodDescriptionOrder.getBuySell()
Deprecated.Returns theBuySell
direction of this order.