Changes in progress, added calculations for FinDiff greeks

This commit is contained in:
Kevin Keogh
2017-07-24 22:58:41 -04:00
parent 58d17adfa2
commit 15d750abf1
7 changed files with 186 additions and 99 deletions

View File

@@ -1,14 +1,7 @@
#ifndef BLACK_SCHOLES_H_
#define BLACK_SCHOLES_H_
struct tm;
double gbm(double spot, double rfr, double vol, double strike, struct tm expiry,
struct tm value, int type, int sims);
double normalcdf(double value);
double bsm(double spot, double rfr, double vol, double strike, struct tm expiry,
struct tm value, int type);
struct Option;
void bsm(struct Option *option);
#endif