| Modifier and Type | Method and Description |
|---|---|
FxNdf.Builder |
agreedFxRate(FxRate agreedFxRate)
Sets the FX rate agreed for the value date at the inception of the trade.
|
FxNdf |
build() |
Object |
get(String propertyName) |
FxNdf.Builder |
index(FxIndex index)
Sets the index defining the FX rate to observe on the fixing date.
|
FxNdf.Builder |
paymentDate(LocalDate paymentDate)
Sets the date that the forward settles.
|
FxNdf.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
FxNdf.Builder |
set(String propertyName,
Object newValue) |
FxNdf.Builder |
settlementCurrencyNotional(CurrencyAmount settlementCurrencyNotional)
Sets the notional amount in the settlement currency, positive if receiving, negative if paying.
|
String |
toString() |
public FxNdf.Builder set(String propertyName, Object newValue)
public FxNdf.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
public FxNdf build()
public FxNdf.Builder settlementCurrencyNotional(CurrencyAmount settlementCurrencyNotional)
The amount is signed. A positive amount indicates the payment is to be received. A negative amount indicates the payment is to be paid.
This must be specified in one of the two currencies of the forward.
settlementCurrencyNotional - the new value, not nullpublic FxNdf.Builder agreedFxRate(FxRate agreedFxRate)
The settlement amount is based on the difference between this rate and the
rate observed on the fixing date using the index.
The forward is between the two currencies defined by the rate.
agreedFxRate - the new value, not nullpublic FxNdf.Builder index(FxIndex index)
The index is used to settle the trade by providing the actual FX rate on the fixing date. The value of the trade is based on the difference between the actual rate and the agreed rate.
The forward is between the two currencies defined by the index.
index - the new value, not nullpublic FxNdf.Builder paymentDate(LocalDate paymentDate)
On this date, the settlement amount will be exchanged. This date should be a valid business day.
paymentDate - the new value, not nullCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.