test.allvol.cpp File Reference


Detailed Description

This program checks the implied volatility calculation for these valuation models:.

for the case where ALPHA = R = 0, they should all give the same answer.

Definition in file test.allvol.cpp.

#include <iostream>
#include <iomanip>
#include "binomial.h"
#include "american_option_approximation.h"
#include "americanfudge.h"
#include "simpleoption.h"

Include dependency graph for test.allvol.cpp:

Go to the source code of this file.

Defines

#define ALPHA   0
#define R   0.05
#define S   424
#define K   340
#define Tau   (145.0/365)
#define CallPrice   85.75

Functions

int main ()


Generated on Fri Jan 7 12:36:19 2011 for public_options by  doxygen 1.5.1