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 voidCsvWriterUtils. 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 FxSingleFxSwap. getFarLeg()Gets the foreign exchange transaction at the later date.FxSingleFxSwap. getNearLeg()Gets the foreign exchange transaction at the earlier date.FxSingleFxSingleTrade. getProduct()Gets the product that was agreed when the trade occurred.static FxSingleFxSingle. of(CurrencyAmount amount1, CurrencyAmount amount2, LocalDate paymentDate)Creates anFxSinglefrom two amounts and the value date.static FxSingleFxSingle. of(CurrencyAmount amount1, CurrencyAmount amount2, LocalDate paymentDate, BusinessDayAdjustment paymentDateAdjustment)Creates anFxSinglefrom two amounts and the value date, specifying a date adjustment.static FxSingleFxSingle. of(CurrencyAmount amount, FxRate fxRate, LocalDate paymentDate)Creates anFxSingleusing a rate.static FxSingleFxSingle. of(CurrencyAmount amount, FxRate fxRate, LocalDate paymentDate, BusinessDayAdjustment paymentDateAdjustment)Creates anFxSingleusing a rate, specifying a date adjustment.static FxSingleFxSingle. of(Payment payment1, Payment payment2)Creates anFxSinglefrom two payments.static FxSingleFxSingle. of(Payment payment1, Payment payment2, BusinessDayAdjustment paymentDateAdjustment)Creates anFxSinglefrom 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 thefarLegproperty.org.joda.beans.MetaProperty<FxSingle>FxSwap.Meta. nearLeg()The meta-property for thenearLegproperty.org.joda.beans.MetaProperty<FxSingle>FxSingleTrade.Meta. product()The meta-property for theproductproperty.Methods in com.opengamma.strata.product.fx with parameters of type FxSingle Modifier and Type Method Description static FxSingleTradeFxSingleTrade. of(TradeInfo info, FxSingle product)Obtains an instance of a foreign exchange trade.static FxSwapFxSwap. of(FxSingle nearLeg, FxSingle farLeg)Creates anFxSwapfrom two transactions.FxSingleTrade.BuilderFxSingleTrade.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 FxSingleFxVanillaOption. 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 theunderlyingproperty.Methods in com.opengamma.strata.product.fxopt with parameters of type FxSingle Modifier and Type Method Description FxVanillaOption.BuilderFxVanillaOption.Builder. underlying(FxSingle underlying)Sets the underlying foreign exchange transaction.
-