#include <ored/marketdata/bondspreadimply.hpp>
Static Public Member Functions | |
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()) |
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 Private Member Functions | |
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 More... | |
Definition at line 35 of file bondspreadimply.hpp.
|
static |
Determine the securities that require a spread imply and return a map securityID => security containing them. If excludeRegex is non-empty security ids that match excludeRegex are excluded from the returned list.
Definition at line 39 of file bondspreadimply.cpp.
|
static |
Imply bond spreads and add them to the loader.
Definition at line 110 of file bondspreadimply.cpp.
|
staticprivate |
helper function that computes a single implied spread for a bond
Definition at line 167 of file bondspreadimply.cpp.