optionPV.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_OPTIONPV_HPP
2 #define JULIAN_OPTIONPV_HPP
3 
4 #include <map>
6 
7 namespace julian {
19  class OptionPV: public OptionGreeks {
20  public:
21  OptionPV() {};
22  std::map<std::string,double> getRisks(const SmartPointer<MarketModel>&,
24  const SmartPointer<Option>&);
26  const SmartPointer<PricingEngine>& prizer,
27  const SmartPointer<Option>& option);
28  OptionPV* clone() const;
29 
30  ~OptionPV(){};
31 };
32 
33 }
34 
35 
36 #endif
Definition: cadHoliday.cpp:3
Template of deep-coping smart pointer.
Definition: smartPointer.hpp:14
std::map< std::string, double > getRisks(const SmartPointer< MarketModel > &, const SmartPointer< PricingEngine > &, const SmartPointer< Option > &)
calculates the PV parameter
Definition: optionPV.cpp:26
Interface of option&#39;s Greeks structure.
GreeksIntermediateResults calculateRisks(const SmartPointer< MarketModel > &model, const SmartPointer< PricingEngine > &prizer, const SmartPointer< Option > &option)
calculates the PV parameter
Definition: optionPV.cpp:11
OptionPV * clone() const
Virtual copy constructor.
Definition: optionPV.cpp:35
Data structure holding the PV and Greeks.
Definition: optionGreeks.hpp:23
Calculates PV.
Definition: optionPV.hpp:19
Interface for OptionGreeks decorator.
Definition: optionGreeks.hpp:32