optionGreeks.hpp
Go to the documentation of this file.
39 virtual std::map<std::string,double> getRisks(const SmartPointer<MarketModel>&, const SmartPointer<PricingEngine>&, const SmartPointer<Option>&) = 0;
std::map< std::string, double > PV_and_Greeks_
std::map with name of Greeks as key and the value of Greeks as value;
Definition: optionGreeks.hpp:25
Definition: cadHoliday.cpp:3
std::map< std::tuple< double, double >, double > intermediate_results_
std::map with PVs calculated with different spot and vol shifts
Definition: optionGreeks.hpp:24
File contains definition of financial option interface.
Data structure holding the PV and Greeks.
Definition: optionGreeks.hpp:23
virtual ~OptionGreeks()
Destructor.
Definition: optionGreeks.hpp:55
File contains definition of PricingEngine interface.
File contains implementation of interface for market models.