public final class StandardComponents extends Object
These components are suitable for performing calculations using the built-in asset classes, market data types and pricers.
The market data factory can create market data values derived from other values.
For example it can create calibrated curves given market quotes.
However it cannot request market data from an external provider, such as Bloomberg,
or look up data from a data store, for example a time series database.
Instances of CalculationRunner are created directly using the static methods on the interface.
| Modifier and Type | Method and Description |
|---|---|
static CalculationFunctions |
calculationFunctions()
Returns the standard calculation functions.
|
static MarketDataFactory |
marketDataFactory()
Returns a market data factory containing the standard set of market data functions.
|
static MarketDataFactory |
marketDataFactory(ObservableDataProvider observableDataProvider)
Returns a market data factory containing the standard set of market data functions.
|
static List<MarketDataFunction<?,?>> |
marketDataFunctions()
Returns the standard market data functions used to build market data values from other market data.
|
public static MarketDataFactory marketDataFactory()
This factory can create market data values from other market data. For example it can create calibrated curves given a set of market quotes for the points on the curve.
The set of functions are the ones provided by marketDataFunctions().
public static MarketDataFactory marketDataFactory(ObservableDataProvider observableDataProvider)
This factory can create market data values from other market data. For example it can create calibrated curves given a set of market quotes for the points on the curve.
The set of functions are the ones provided by marketDataFunctions().
observableDataProvider - the provider of observable datapublic static List<MarketDataFunction<?,?>> marketDataFunctions()
These include functions to build:
public static CalculationFunctions calculationFunctions()
These define how to calculate the standard measures for the standard asset classes.
The standard calculation functions require no further configuration and are designed to allow easy access to all built-in asset class coverage. The supported asset classes are:
BondFutureTrade and BondFuturePosition
BondFutureOptionTrade and BondFutureOptionPosition
BulletPaymentTrade
IborCapFloorTrade
CapitalIndexedBondTrade and CapitalIndexedBondPosition
CdsTrade
CdsIndexTrade
DsfTrade and DsfPosition
FraTrade
FixedCouponBondTrade and FixedCouponBondPosition
FxSingleTrade
FxNdfTrade
FxSwapTrade
FxVanillaOptionTrade
FxSingleBarrierOptionTrade
GenericSecurityTrade and GenericSecurityPosition
SwapTrade
SwaptionTrade
SecurityTrade and SecurityPosition
IborFutureTrade and IborFuturePosition
OvernightFutureTrade and OvernightFuturePosition
IborFutureOptionTrade and IborFutureOptionPosition
TermDepositTrade
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.