public final class FraConventions extends Object
FRA conventions are based on the details held within the IborIndex.
As such, there is a factory method rather than constants for the conventions.
https://quant.opengamma.io/Interest-Rate-Instruments-and-Market-Conventions.pdf
| Modifier and Type | Method and Description |
|---|---|
static FraConvention |
of(IborIndex index)
Obtains a convention based on the specified index.
|
public static FraConvention of(IborIndex index)
This uses the index name to find the matching convention. By default, this will always return a convention, however configuration may be added to restrict the conventions that are registered.
index - the index, from which the index name is used to find the matching conventionIllegalArgumentException - if no convention is registered for the indexCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.