| Package | Description |
|---|---|
| com.opengamma.strata.basics.currency |
Representations of currency and money.
|
| Modifier and Type | Method and Description |
|---|---|
FxRate |
FxRate.crossRate(FxRate other)
Derives an FX rate from two related FX rates.
|
FxRate |
FxRate.inverse()
Gets the inverse rate.
|
static FxRate |
FxRate.of(Currency base,
Currency counter,
double rate)
Obtains an instance from two currencies.
|
static FxRate |
FxRate.of(CurrencyPair pair,
double rate)
Obtains an instance from a currency pair.
|
static FxRate |
FxRate.parse(String rateStr)
Parses a rate from a string with format AAA/BBB RATE.
|
FxRate |
FxRate.toConventional()
Returns an FX rate object representing the market convention rate between the two currencies.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends FxRate> |
FxRate.Meta.beanType() |
org.joda.beans.BeanBuilder<? extends FxRate> |
FxRate.Meta.builder() |
| Modifier and Type | Method and Description |
|---|---|
FxRate |
FxRate.crossRate(FxRate other)
Derives an FX rate from two related FX rates.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.