Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

mainvarianceswap.cpp File Reference

#include "../PartA/BlackScholes/OptionStrategy.h"
#include "../PartK/VarianceSwap.h"
#include <iostream>
#include <valarray>

Go to the source code of this file.

Functions

bool mainvarianceswap (void)
 test of the variance swaps object


Function Documentation

bool mainvarianceswap void   ) 
 

test of the variance swaps object

Returns:
true if pass, otherwise fail

Definition at line 9 of file mainvarianceswap.cpp.

References OptionStrategy::addLongButterflySpread(), OptionStrategy::addOneBlackScholesObject(), Call, VarianceSwap::getPrice(), Natural, Put, and Real.

Referenced by maintests().


Note: Generated nightly - reload for latest version
Generated on Thu Dec 22 23:12:38 2005 for terreneuve by doxygen 1.3.6