Uses of Enum Class
com.caplin.motif.fx.trading.BuySell
Packages that use 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
Methods in com.caplin.motif.fx.config with parameters of type BuySellModifier and TypeMethodDescriptionstatic DisplayFieldsDefaultDisplayFields.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 DisplayFieldsDefaultDisplayFields.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 DisplayFieldsDefaultDisplayFields.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, LocationType locationType) Creates the default display fields for a NDF confirmation message:static DisplayFieldsDefaultDisplayFields.addDefaultSalesFwdSummaryDisplayFields(String client, String account, LocalDate executionDate, Instant executionDateTime, List<DisplayField> submitFields, FormattedAmount dealtAmount, BuySell clientBaseBuySell, FormattedAmount contraAmount, LocalDate settlementDate, String settlementTenor, String remarks, String traderRemarks, String spotTrader, String forwardPointsTrader, String currencyPair, FormattedAmount profit, BigDecimal xvaTotalAmount, BigDecimal xvaNetProfit) Creates the default display fields for a Sales forward confirmation message:static DisplayFieldsDefaultDisplayFields.addDefaultSalesNDFSummaryDisplayFields(String client, String account, LocalDate executionDate, Instant executionDateTime, List<DisplayField> submitFields, LocalDate fixingDate, String fixingSource, String settlementCurrency, FormattedAmount dealtAmount, BuySell clientBaseBuySell, FormattedAmount contraAmount, LocalDate settlementDate, String settlementTenor, String remarks, String traderRemarks, String spotTrader, String forwardPointsTrader, String currencyPair, LocationType locationType, FormattedAmount profit, BigDecimal xvaTotalAmount, BigDecimal xvaNetProfit) Creates the default display fields for a Sales NDF confirmation message:static DisplayFieldsDefaultDisplayFields.addDefaultSalesNDSSummaryDisplayFields(String client, String account, LocalDate executionDate, Instant executionDateTime, List<DisplayField> submitFields, 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, String amountOfDays, LocationType locationType, FormattedAmount profit, BigDecimal xvaTotalAmount, BigDecimal xvaNetProfit) Creates the default display fields for a Sales NDS confirmation message:static DisplayFieldsDefaultDisplayFields.addDefaultSalesSpotSummaryDisplayFields(String client, String account, LocalDate executionDate, Instant executionDateTime, List<DisplayField> submitFields, FormattedAmount dealtAmount, BuySell clientBaseBuySell, FormattedAmount contraAmount, LocalDate settlementDate, String settlementTenor, String remarks, String traderRemarks, String spotTrader, String forwardPointsTrader, String currencyPair) Creates the default display fields for a Sales spot confirmation message:static DisplayFieldsDefaultDisplayFields.addDefaultSalesSwapSummaryDisplayFields(String client, String nearAccount, String farAccount, LocalDate executionDate, Instant executionDateTime, List<DisplayField> submitFields, FormattedAmount nearDealtAmount, BuySell nearClientBaseBuySell, FormattedAmount nearContraAmount, LocalDate nearSettlementDate, String nearSettlementTenor, FormattedRate nearAllInRate, FormattedAmount farDealtAmount, BuySell farClientBaseBuySell, FormattedAmount farContraAmount, LocalDate farSettlementDate, String farSettlementTenor, FormattedRate farAllInRate, String remarks, String traderRemarks, String spotTrader, String forwardPointsTrader, String currencyPair, String amountOfDays, FormattedAmount profit, BigDecimal xvaTotalAmount, BigDecimal xvaNetProfit) Creates the default display fields for a Sales swap confirmation message:static DisplayFieldsDefaultDisplayFields.addDefaultSalesTimeOptionSummaryDisplayFields(String client, String account, LocalDate executionDate, Instant executionDateTime, List<DisplayField> submitFields, LocalDate startDate, String startTenor, LocalDate endDate, String endTenor, FormattedRate spotRate, FormattedPoints riskPoints, FormattedAmount dealtAmount, BuySell clientBaseBuySell, FormattedAmount contraAmount, FormattedAmount filledAmount, String remarks, String traderRemarks, String spotTrader, String forwardPointsTrader, String currencyPair, FormattedAmount profit, BigDecimal xvaTotalAmount, BigDecimal xvaNetProfit) Creates the default display fields for a Sales time option confirmation message:static DisplayFieldsDefaultDisplayFields.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 DisplayFieldsDefaultDisplayFields.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 DisplayFieldsDefaultDisplayFields.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, FormattedRate allInRate, FormattedRate allInMidRate, 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 swap confirmation message:static DisplayFieldsDefaultDisplayFields.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) Deprecated.static DisplayFieldsDefaultDisplayFields.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 DisplayFieldsDefaultDisplayFields.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
Methods in com.caplin.motif.fx.trading that return BuySell -
Uses of BuySell in com.caplin.motif.fx.trading.allocation
Methods in com.caplin.motif.fx.trading.allocation that return BuySellModifier 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.Constructors in com.caplin.motif.fx.trading.allocation with parameters of type BuySellModifierConstructorDescriptionDeprecated.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
Methods in com.caplin.motif.fx.trading.block that return BuySellModifier and TypeMethodDescriptionBlockTradeLeg.getBuySell()Returns theBuySelldirection of this leg. -
Uses of BuySell in com.caplin.motif.fx.trading.block.event
Methods in com.caplin.motif.fx.trading.block.event that return BuySellConstructors in com.caplin.motif.fx.trading.block.event with parameters of type BuySellModifierConstructorDescriptionNettedLegExecution(String legNumber, String nettedPrice, BuySell buySell) -
Uses of BuySell in com.caplin.motif.fx.trading.orders.details
Methods in com.caplin.motif.fx.trading.orders.details that return BuySellMethods in com.caplin.motif.fx.trading.orders.details with parameters of type BuySellModifier 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
Methods in com.caplin.motif.fx.trading.orders.submission that return BuySellModifier and TypeMethodDescriptionOrder.getBuySell()Deprecated.Returns theBuySelldirection of this order. -
Uses of BuySell in com.caplin.motif.notifications
Methods in com.caplin.motif.notifications with parameters of type BuySellModifier and TypeMethodDescriptionstatic com.caplin.datasource.notification.NotificationNotificationUtils.createOrderFilledNotification(String notificationId, Instant dateTime, BuySell buySell, FormattedAmount amount, String currencyPair, String dealtCurrency, FormattedRate filledRate) -
Uses of BuySell in com.caplin.motif.utility
Methods in com.caplin.motif.utility that return BuySellModifier and TypeMethodDescriptionstatic BuySellCurrencyPairUtil.getDealtBuySell(String currencyPair, String dealtCurrency, BuySell clientBaseBuySell) Methods in com.caplin.motif.utility with parameters of type BuySellModifier and TypeMethodDescriptionstatic BuySellCurrencyPairUtil.getDealtBuySell(String currencyPair, String dealtCurrency, BuySell clientBaseBuySell)