Uses of Class
com.opengamma.strata.product.fx.FxSwap
-
Packages that use FxSwap Package Description com.opengamma.strata.product.fx Entity objects describing financial instruments in the foreign exchange market. -
-
Uses of FxSwap in com.opengamma.strata.product.fx
Methods in com.opengamma.strata.product.fx that return FxSwap Modifier and Type Method Description FxSwap
FxSwapTrade. getProduct()
Gets the FX swap product that was agreed when the trade occurred.static FxSwap
FxSwap. of(CurrencyAmount amount, FxRate nearRate, LocalDate nearDate, FxRate farRate, LocalDate farDate)
Creates anFxSwap
using two FX rates, near and far, specifying a date adjustment.static FxSwap
FxSwap. of(CurrencyAmount amount, FxRate nearRate, LocalDate nearDate, FxRate farRate, LocalDate farDate, BusinessDayAdjustment paymentDateAdjustment)
Creates anFxSwap
using two FX rates, near and far, specifying a date adjustment.static FxSwap
FxSwap. of(FxSingle nearLeg, FxSingle farLeg)
Creates anFxSwap
from two transactions.static FxSwap
FxSwap. ofForwardPoints(CurrencyAmount amount, FxRate nearRate, double decimalForwardPoints, LocalDate nearDate, LocalDate farDate)
Creates anFxSwap
using decimal forward points.static FxSwap
FxSwap. ofForwardPoints(CurrencyAmount amount, FxRate nearRate, double decimalForwardPoints, LocalDate nearDate, LocalDate farDate, BusinessDayAdjustment paymentDateAdjustment)
Creates anFxSwap
using decimal forward points, specifying a date adjustment.Methods in com.opengamma.strata.product.fx that return types with arguments of type FxSwap Modifier and Type Method Description Class<? extends FxSwap>
FxSwap.Meta. beanType()
org.joda.beans.BeanBuilder<? extends FxSwap>
FxSwap.Meta. builder()
org.joda.beans.MetaProperty<FxSwap>
FxSwapTrade.Meta. product()
The meta-property for theproduct
property.Methods in com.opengamma.strata.product.fx with parameters of type FxSwap Modifier and Type Method Description static FxSwapTrade
FxSwapTrade. of(TradeInfo info, FxSwap product)
Obtains an instance of an FX swap trade.FxSwapTrade.Builder
FxSwapTrade.Builder. product(FxSwap product)
Sets the FX swap product that was agreed when the trade occurred.
-