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 FxSwapFxSwapTrade. getProduct()Gets the FX swap product that was agreed when the trade occurred.static FxSwapFxSwap. of(CurrencyAmount amount, FxRate nearRate, LocalDate nearDate, FxRate farRate, LocalDate farDate)Creates anFxSwapusing two FX rates, near and far, specifying a date adjustment.static FxSwapFxSwap. of(CurrencyAmount amount, FxRate nearRate, LocalDate nearDate, FxRate farRate, LocalDate farDate, BusinessDayAdjustment paymentDateAdjustment)Creates anFxSwapusing two FX rates, near and far, specifying a date adjustment.static FxSwapFxSwap. of(FxSingle nearLeg, FxSingle farLeg)Creates anFxSwapfrom two transactions.static FxSwapFxSwap. ofForwardPoints(CurrencyAmount amount, FxRate nearRate, double decimalForwardPoints, LocalDate nearDate, LocalDate farDate)Creates anFxSwapusing decimal forward points.static FxSwapFxSwap. ofForwardPoints(CurrencyAmount amount, FxRate nearRate, double decimalForwardPoints, LocalDate nearDate, LocalDate farDate, BusinessDayAdjustment paymentDateAdjustment)Creates anFxSwapusing 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 theproductproperty.Methods in com.opengamma.strata.product.fx with parameters of type FxSwap Modifier and Type Method Description static FxSwapTradeFxSwapTrade. of(TradeInfo info, FxSwap product)Obtains an instance of an FX swap trade.FxSwapTrade.BuilderFxSwapTrade.Builder. product(FxSwap product)Sets the FX swap product that was agreed when the trade occurred.
-