analyticalPricingEngine.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_ANALITYCALPRICINGENGINE_HPP
2 #define JULIAN_ANALITYCALPRICINGENGINE_HPP
3 
4 #include <utils/smartPointer.hpp>
6 
7 namespace julian {
25  class AnalyticalPricingEngine : public DeeplyCopyablePricingEngine<AnalyticalPricingEngine> {
26  public:
30 
33  double prize(const SmartPointer<MarketModel>&, const SmartPointer<Option>&) const;
34 
38  };
39 
40 }
41 
42 
43 #endif
File contains template of deep-coping smart pointer.
Class uses Curiously Recurring Template Pattern to implement polymorphic copy construction in every d...
Definition: pricingEngine.hpp:42
Definition: cadHoliday.cpp:3
AnalyticalPricingEngine()
constructor
Definition: analyticalPricingEngine.hpp:29
virtual ~AnalyticalPricingEngine()
destructor
Definition: analyticalPricingEngine.hpp:37
Template of deep-coping smart pointer.
Definition: smartPointer.hpp:14
analytical pricer
Definition: analyticalPricingEngine.hpp:25
double prize(const SmartPointer< MarketModel > &, const SmartPointer< Option > &) const
prized the option using double dispatch mechanism
Definition: analyticalPricingEngine.cpp:5
File contains definition of PricingEngine interface.