optionGreeksDecorator.hpp
Go to the documentation of this file.
OptionGreeksDecorator * clone() const
Virtual copy constructor.
Definition: optionGreeksDecorator.hpp:34
Definition: cadHoliday.cpp:3
OptionGreeksDecorator(SmartPointer< OptionGreeks > risks)
Constructor.
Definition: optionGreeksDecorator.hpp:19
SmartPointer< OptionGreeks > risks_
Pointer to decorator interface.
Definition: optionGreeksDecorator.hpp:38
Interface of option's Greeks structure.
Data structure holding the PV and Greeks.
Definition: optionGreeks.hpp:23
virtual 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: optionGreeksDecorator.hpp:27
Interface for classes decorating Option Greeks.
Definition: optionGreeksDecorator.hpp:15
virtual GreeksIntermediateResults calculateRisks(const SmartPointer< MarketModel > &model, const SmartPointer< PricingEngine > &prizer, const SmartPointer< Option > &option)
calculates the PV or Greek parameter
Definition: optionGreeksDecorator.hpp:21