optionTheta.hpp
Go to the documentation of this file.
OptionTheta(SmartPointer< OptionGreeks > input, const std::string &risk_name="Theta")
Constructor.
Definition: optionTheta.hpp:24
Definition: cadHoliday.cpp:3
OptionTheta * clone() const
Virtual copy constructor.
Definition: optionTheta.cpp:35
std::map< std::string, double > getRisks(const SmartPointer< MarketModel > &model, const SmartPointer< PricingEngine > &prizer, const SmartPointer< Option > &option)
returns the PV and Greek parameter
Definition: optionTheta.cpp:26
Interface of option Greeks decorating classes.
Data structure holding the PV and Greeks.
Definition: optionGreeks.hpp:23
File contains small mathematical classes and functions.
GreeksIntermediateResults calculateRisks(const SmartPointer< MarketModel > &model, const SmartPointer< PricingEngine > &prizer, const SmartPointer< Option > &option)
calculates the option's theta
Definition: optionTheta.cpp:10
std::string risk_name_
Risk name that will be used as key for result map. Default name is Theta.
Definition: optionTheta.hpp:35
Interface for classes decorating Option Greeks.
Definition: optionGreeksDecorator.hpp:15