Uses of Class
com.opengamma.strata.product.fx.FxSingle
-
Packages that use FxSingle Package Description com.opengamma.strata.loader.csv Loader that reads market data from CSV files.com.opengamma.strata.product.fx Entity objects describing financial instruments in the foreign exchange market.com.opengamma.strata.product.fxopt Entity objects describing options in the foreign exchange market. -
-
Uses of FxSingle in com.opengamma.strata.loader.csv
Methods in com.opengamma.strata.loader.csv with parameters of type FxSingle Modifier and Type Method Description static void
CsvWriterUtils. writeFxSingle(CsvOutput.CsvRowOutputWithHeaders csv, String prefix, FxSingle product)
Write the FxSingle to CSV -
Uses of FxSingle in com.opengamma.strata.product.fx
Methods in com.opengamma.strata.product.fx that return FxSingle Modifier and Type Method Description FxSingle
FxSwap. getFarLeg()
Gets the foreign exchange transaction at the later date.FxSingle
FxSwap. getNearLeg()
Gets the foreign exchange transaction at the earlier date.FxSingle
FxSingleTrade. getProduct()
Gets the product that was agreed when the trade occurred.static FxSingle
FxSingle. of(CurrencyAmount amount1, CurrencyAmount amount2, LocalDate paymentDate)
Creates anFxSingle
from two amounts and the value date.static FxSingle
FxSingle. of(CurrencyAmount amount1, CurrencyAmount amount2, LocalDate paymentDate, BusinessDayAdjustment paymentDateAdjustment)
Creates anFxSingle
from two amounts and the value date, specifying a date adjustment.static FxSingle
FxSingle. of(CurrencyAmount amount, FxRate fxRate, LocalDate paymentDate)
Creates anFxSingle
using a rate.static FxSingle
FxSingle. of(CurrencyAmount amount, FxRate fxRate, LocalDate paymentDate, BusinessDayAdjustment paymentDateAdjustment)
Creates anFxSingle
using a rate, specifying a date adjustment.static FxSingle
FxSingle. of(Payment payment1, Payment payment2)
Creates anFxSingle
from two payments.static FxSingle
FxSingle. of(Payment payment1, Payment payment2, BusinessDayAdjustment paymentDateAdjustment)
Creates anFxSingle
from two payments, specifying a date adjustment.Methods in com.opengamma.strata.product.fx that return types with arguments of type FxSingle Modifier and Type Method Description Class<? extends FxSingle>
FxSingle.Meta. beanType()
org.joda.beans.BeanBuilder<? extends FxSingle>
FxSingle.Meta. builder()
org.joda.beans.MetaProperty<FxSingle>
FxSwap.Meta. farLeg()
The meta-property for thefarLeg
property.org.joda.beans.MetaProperty<FxSingle>
FxSwap.Meta. nearLeg()
The meta-property for thenearLeg
property.org.joda.beans.MetaProperty<FxSingle>
FxSingleTrade.Meta. product()
The meta-property for theproduct
property.Methods in com.opengamma.strata.product.fx with parameters of type FxSingle Modifier and Type Method Description static FxSingleTrade
FxSingleTrade. of(TradeInfo info, FxSingle product)
Obtains an instance of a foreign exchange trade.static FxSwap
FxSwap. of(FxSingle nearLeg, FxSingle farLeg)
Creates anFxSwap
from two transactions.FxSingleTrade.Builder
FxSingleTrade.Builder. product(FxSingle product)
Sets the product that was agreed when the trade occurred. -
Uses of FxSingle in com.opengamma.strata.product.fxopt
Methods in com.opengamma.strata.product.fxopt that return FxSingle Modifier and Type Method Description FxSingle
FxVanillaOption. getUnderlying()
Gets the underlying foreign exchange transaction.Methods in com.opengamma.strata.product.fxopt that return types with arguments of type FxSingle Modifier and Type Method Description org.joda.beans.MetaProperty<FxSingle>
FxVanillaOption.Meta. underlying()
The meta-property for theunderlying
property.Methods in com.opengamma.strata.product.fxopt with parameters of type FxSingle Modifier and Type Method Description FxVanillaOption.Builder
FxVanillaOption.Builder. underlying(FxSingle underlying)
Sets the underlying foreign exchange transaction.
-