public interface Index extends Named
An index is an agreed mechanism for determining certain financial indicators, such as exchange rate or interest rates. Most common indices are daily.
This is a marker interface, see FxIndex, IborIndex
and OvernightIndex for more information.
All implementations of this interface must be immutable and thread-safe.
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name that uniquely identifies this index.
|
static Index |
of(String uniqueName)
Obtains an instance from the specified unique name.
|
static Index of(String uniqueName)
uniqueName - the unique nameIllegalArgumentException - if the name is not knownString getName()
This name is used in serialization and can be parsed using of(String).
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.