optionGreeksBuilder.hpp
Go to the documentation of this file.
Definition: cadHoliday.cpp:3
BuildGreeksReport & withDelta(double h=1e-4, NumDiffScheme scheme=NumDiffScheme::CNTR, std::string risk_name="Delta")
Adds Delta to option risk report.
Definition: optionGreeksBuilder.cpp:26
BuildGreeksReport()
Default constructor.
Definition: optionGreeksBuilder.cpp:14
Interface of option's Greeks structure.
SmartPointer< OptionGreeks > greeks_
Options greeks risk report.
Definition: optionGreeksBuilder.hpp:46
File contains small mathematical classes and functions.
BuildGreeksReport & withVega(double h=1e-4, NumDiffScheme scheme=NumDiffScheme::CNTR, std::string risk_name="Vega")
Adds Vega to option risk report.
Definition: optionGreeksBuilder.cpp:54
BuildGreeksReport & withTheta(std::string risk_name="Theta")
Adds Theta to option risk report.
Definition: optionGreeksBuilder.cpp:93
BuildGreeksReport & withVolga(double h=1e-4, NumDiffScheme scheme=NumDiffScheme::CNTR, std::string risk_name="Volga")
Adds Volga to option risk report.
Definition: optionGreeksBuilder.cpp:81
BuildGreeksReport & withVanna(double hs=1e-4, double hv=1e-4, std::string risk_name="Vanna")
Adds Vanna to option risk report.
Definition: optionGreeksBuilder.cpp:68
BuildGreeksReport & withGamma(double h=1e-4, NumDiffScheme scheme=NumDiffScheme::CNTR, std::string risk_name="Gamma")
Adds Gamma to option risk report.
Definition: optionGreeksBuilder.cpp:40
SmartPointer< OptionGreeks > build()
Creates Option Greeks risk report.
Definition: optionGreeksBuilder.cpp:100
NumDiffScheme
collection of enumerations, simple classes and small functions used in mathematical computations ...
Definition: mathUtils.hpp:16