#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 |
|
test of the variance swaps object
Definition at line 9 of file mainvarianceswap.cpp. References OptionStrategy::addLongButterflySpread(), OptionStrategy::addOneBlackScholesObject(), Call, VarianceSwap::getPrice(), Natural, Put, and Real. Referenced by maintests(). |