public final class SyntheticRatesCurveCalibrator extends Object
A synthetic curve is a curve calibrated on synthetic instruments.
A synthetic instrument is an instrument for which a theoretical or synthetic quote
can be computed from a RatesProvider.
This curve transformation is often used to have a different risk view or to standardize all risk to a common set of instruments, even if they are not the most liquid in a market.
| Modifier and Type | Method and Description |
|---|---|
ImmutableRatesProvider |
calibrate(RatesCurveGroupDefinition group,
RatesProvider inputProvider,
ReferenceData refData)
Calibrates synthetic curves from the configuration of the new curves and an existing rates provider.
|
RatesCurveCalibrator |
getCalibrator()
Gets the curve calibrator.
|
CalibrationMeasures |
getMeasures()
Gets the market quote measures.
|
ImmutableMarketData |
marketData(RatesCurveGroupDefinition group,
RatesProvider inputProvider,
ReferenceData refData)
Constructs the synthetic market data from an existing rates provider and the configuration of the new curves.
|
static SyntheticRatesCurveCalibrator |
of(RatesCurveCalibrator calibrator,
CalibrationMeasures marketQuotesMeasures)
Obtains an instance, specifying market quotes measures to use and calibrator.
|
static SyntheticRatesCurveCalibrator |
standard()
The standard synthetic curve calibrator.
|
String |
toString() |
public static SyntheticRatesCurveCalibrator standard()
The CalibrationMeasures.MARKET_QUOTE measures are used for calibration.
The underlying calibrator is RatesCurveCalibrator.standard().
public static SyntheticRatesCurveCalibrator of(RatesCurveCalibrator calibrator, CalibrationMeasures marketQuotesMeasures)
calibrator - the mechanism used to calibrate curves once the synthetic market quotes are knownmarketQuotesMeasures - the measures used to compute the market quotespublic CalibrationMeasures getMeasures()
public RatesCurveCalibrator getCalibrator()
public ImmutableRatesProvider calibrate(RatesCurveGroupDefinition group, RatesProvider inputProvider, ReferenceData refData)
group - the curve group definition for the synthetic curves and instrumentsinputProvider - the input rates providerrefData - the reference data, used to resolve the tradespublic ImmutableMarketData marketData(RatesCurveGroupDefinition group, RatesProvider inputProvider, ReferenceData refData)
group - the curve group definition for the synthetic curves and instrumentsinputProvider - the input rates providerrefData - the reference data, used to resolve the tradesCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.