public final class FieldName extends TypedString<FieldName>
Market data is typically provided as a record containing multiple fields. Each field contains an item of data. The record is identified by a unique ID and the fields are identified by name. Therefore an item of market data is uniquely identified by the combination its ID and field name.
Different market data providers use different sets of field names. The names in this class are not specific to any provider, and are mapped to the provider field names by the market data system. This allows calculations to request an item of data using its field name, such as "closing price", without having to know which data provider it is coming from.
| Modifier and Type | Field and Description |
|---|---|
static FieldName |
CLEAN_PRICE
The field name for the clean price of a coupon bond.
|
static FieldName |
DIRTY_PRICE
The field name for the dirty price of a coupon bond.
|
static FieldName |
MARKET_VALUE
The field name for the market value - 'MarketValue'.
|
static FieldName |
SETTLEMENT_PRICE
The field name for the settlement price - 'SettlementPrice'.
|
static FieldName |
VOLATILITY
The field name for the volatility of an asset.
|
| Modifier and Type | Method and Description |
|---|---|
static FieldName |
of(String name)
Obtains an instance from the specified name.
|
compareTo, equals, getName, hashCode, toStringpublic static final FieldName MARKET_VALUE
This is used to refer to the standard market quote for the identifier. It is typically used as the default when no field name is specified.
public static final FieldName SETTLEMENT_PRICE
This is used to refer to the daily settlement price used in margining.
public static final FieldName CLEAN_PRICE
The clean price does not include the accrued interest.
public static final FieldName DIRTY_PRICE
The dirty price includes the accrued interest.
public static final FieldName VOLATILITY
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.