Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Namespaces | Functions
utilities.hpp File Reference

Shared utilities for model building and calibration. More...

#include <ored/marketdata/strike.hpp>
#include <qle/models/eqbsparametrization.hpp>
#include <qle/models/fxbsparametrization.hpp>
#include <qle/models/infdkparametrization.hpp>
#include <qle/models/infjyparameterization.hpp>
#include <qle/models/irlgm1fparametrization.hpp>
#include <qle/models/commodityschwartzparametrization.hpp>
#include <qle/models/lgmcalibrationinfo.hpp>
#include <ql/models/calibrationhelper.hpp>
#include <boost/variant.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  ore
 Serializable Credit Default Swap.
 
namespace  ore::data
 

Functions

template<typename Helper >
Real getCalibrationError (const std::vector< QuantLib::ext::shared_ptr< Helper > > &basket)
 
std::string getCalibrationDetails (LgmCalibrationInfo &info, const std::vector< QuantLib::ext::shared_ptr< BlackCalibrationHelper > > &basket, const QuantLib::ext::shared_ptr< IrLgm1fParametrization > &parametrization)
 
std::string getCalibrationDetails (const std::vector< QuantLib::ext::shared_ptr< BlackCalibrationHelper > > &basket, const QuantLib::ext::shared_ptr< FxBsParametrization > &parametrization, const QuantLib::ext::shared_ptr< Parametrization > &domesticIrModel)
 
std::string getCalibrationDetails (const std::vector< QuantLib::ext::shared_ptr< BlackCalibrationHelper > > &basket, const QuantLib::ext::shared_ptr< FxBsParametrization > &parametrization, const QuantLib::ext::shared_ptr< IrLgm1fParametrization > &domesticLgm)
 
std::string getCalibrationDetails (const std::vector< QuantLib::ext::shared_ptr< BlackCalibrationHelper > > &basket, const QuantLib::ext::shared_ptr< EqBsParametrization > &parametrization, const QuantLib::ext::shared_ptr< Parametrization > &domesticIrModel)
 
std::string getCalibrationDetails (const std::vector< QuantLib::ext::shared_ptr< BlackCalibrationHelper > > &basket, const QuantLib::ext::shared_ptr< EqBsParametrization > &parametrization, const QuantLib::ext::shared_ptr< IrLgm1fParametrization > &domesticLgm)
 
std::string getCalibrationDetails (const std::vector< QuantLib::ext::shared_ptr< BlackCalibrationHelper > > &basket, const QuantLib::ext::shared_ptr< InfDkParametrization > &parametrization, bool indexIsInterpolated)
 
std::string getCalibrationDetails (const std::vector< QuantLib::ext::shared_ptr< BlackCalibrationHelper > > &basket, const QuantLib::ext::shared_ptr< CommoditySchwartzParametrization > &parametrization)
 
string getCalibrationDetails (const vector< QuantLib::ext::shared_ptr< CalibrationHelper > > &rrBasket, const vector< QuantLib::ext::shared_ptr< CalibrationHelper > > &idxBasket, const QuantLib::ext::shared_ptr< InfJyParameterization > &p, bool calibrateRealRateVol)
 
string getCalibrationDetails (const QuantLib::ext::shared_ptr< IrLgm1fParametrization > &parametrization)
 
QuantLib::Date optionMaturity (const boost::variant< QuantLib::Date, QuantLib::Period > &maturity, const QuantLib::Calendar &calendar, const QuantLib::Date &referenceDate=Settings::instance().evaluationDate())
 Return an option's maturity date, given an explicit date or a period. More...
 
Real cpiCapFloorStrikeValue (const QuantLib::ext::shared_ptr< BaseStrike > &strike, const QuantLib::ext::shared_ptr< ZeroInflationTermStructure > &curve, const QuantLib::Date &optionMaturityDate)
 Return a cpi cap/floor strike value, the input strike can be of type absolute or atm forward. More...
 
Real yoyCapFloorStrikeValue (const QuantLib::ext::shared_ptr< BaseStrike > &strike, const QuantLib::ext::shared_ptr< YoYInflationTermStructure > &curve, const QuantLib::Date &optionMaturityDate)
 Return a yoy cap/floor strike value, the input strike can be of type absolute or atm forward. More...
 
Real atmForward (const Real s0, const Handle< YieldTermStructure > &r, const Handle< YieldTermStructure > &q, const Real t)
 helper function that computes the atm forward More...
 

Detailed Description

Shared utilities for model building and calibration.

Definition in file utilities.hpp.