39 static std::map<std::string, QuantLib::ext::shared_ptr<Security>>
40 requiredSecurities(
const Date& asof,
const QuantLib::ext::shared_ptr<TodaysMarketParameters>& params,
41 const QuantLib::ext::shared_ptr<CurveConfigurations>&
curveConfigs,
const Loader& loader,
42 const bool continueOnError =
false,
const std::string& excludeRegex = std::string());
45 static QuantLib::ext::shared_ptr<Loader>
46 implyBondSpreads(
const std::map<std::string, QuantLib::ext::shared_ptr<Security>>& securities,
47 const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager,
48 const QuantLib::ext::shared_ptr<Market>& market,
const QuantLib::ext::shared_ptr<EngineData>& engineData,
53 static Real
implySpread(
const std::string& securityId,
const Real cleanPrice,
54 const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager,
55 const QuantLib::ext::shared_ptr<EngineFactory>& engineFactory,
56 const QuantLib::ext::shared_ptr<SimpleQuote>& spreadQuote,
const std::string& configuration);
static QuantLib::ext::shared_ptr< Loader > implyBondSpreads(const std::map< std::string, QuantLib::ext::shared_ptr< Security > > &securities, const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceDataManager, const QuantLib::ext::shared_ptr< Market > &market, const QuantLib::ext::shared_ptr< EngineData > &engineData, const std::string &configuration, const IborFallbackConfig &iborFallbackConfig)
static Real implySpread(const std::string &securityId, const Real cleanPrice, const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceDataManager, const QuantLib::ext::shared_ptr< EngineFactory > &engineFactory, const QuantLib::ext::shared_ptr< SimpleQuote > &spreadQuote, const std::string &configuration)
helper function that computes a single implied spread for a bond
static std::map< std::string, QuantLib::ext::shared_ptr< Security > > requiredSecurities(const Date &asof, const QuantLib::ext::shared_ptr< TodaysMarketParameters > ¶ms, const QuantLib::ext::shared_ptr< CurveConfigurations > &curveConfigs, const Loader &loader, const bool continueOnError=false, const std::string &excludeRegex=std::string())
Market data loader base class.
Serializable Credit Default Swap.
Reference data model and serialization.
A wrapper class for holding Bond Spread quotes.
vector< string > curveConfigs
An concrete implementation of the Market class that loads todays market and builds the required curve...