BlackScholesCalculator.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_BLACKSHOLESCALCULATOR_HPP
2 #define JULIAN_BLACKSHOLESCALCULATOR_HPP
3 
5 
6 namespace julian {
11  double prizeBlackScholes(double S,double K, double DFr,double DFq, double vol, double t, CallPut icp);
12  double calculateImpliedVolatility(double S,double K, double DFr,double DFq, double prize, double t, CallPut icp);
13  double calculateBlackScholesDelta(double S,double K, double DFr,double DFq, double vol, double t, CallPut icp);
14  double calculateStrikeFromCallDelta(double spot,double DFr,double DFq,double vol,double t,double delta);
15  double calculateStrikeFromPutDelta (double spot,double DFr,double DFq,double vol,double t,double delta);
16 }
17 
18 #endif
File contains types common to all financial instruments.
double calculateStrikeFromPutDelta(double spot, double DFr, double DFq, double vol, double t, double delta)
Function calculates delta parameter of European option.
Definition: BlackScholesCalculator.cpp:131
Definition: cadHoliday.cpp:3
double prizeBlackScholes(double S, double K, double DFr, double DFq, double vol, double t, CallPut icp)
Function calculates prize of European option using Black-Scholes formula.
Definition: BlackScholesCalculator.cpp:30
double calculateStrikeFromCallDelta(double spot, double DFr, double DFq, double vol, double t, double delta)
Function calculates delta parameter of European option.
Definition: BlackScholesCalculator.cpp:107
double calculateImpliedVolatility(double S, double K, double DFr, double DFq, double prize, double t, CallPut icp)
Function calculates implied volatility.
Definition: BlackScholesCalculator.cpp:55
double calculateBlackScholesDelta(double S, double K, double DFr, double DFq, double vol, double t, CallPut icp)
Function calculates delta parameter of European option.
Definition: BlackScholesCalculator.cpp:82