test.allopt.cpp File Reference


Detailed Description

This program checks the valuations of the four different methods of calculating option prices. The macros ALPHA and R are for the parameters alpha and r. In the case where alpha = r = 0, all methods should give the same answer.

Definition in file test.allopt.cpp.

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

Include dependency graph for test.allopt.cpp:

Go to the source code of this file.

Defines

#define ALPHA   0.05
#define R   0.05

Functions

int main ()


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