#include "./../PartB/yieldCurve.h"#include "./../PartE/volsurface.h"#include <valarray>Go to the source code of this file.
Classes | |
| class | Exotics |
Enumerations | |
| enum | exoticsType { AsianCall, AsianPut, RevLookbackCall, RevLookbackPut, FlooredCliquet, CappedCliquet, CollaredCliquet, BarrierCall, BarrierPut } |
Functions | |
| Real | mainmc (Real Expiry, Real Strike, Real Spot, volsurface *pvolsurface, yieldCurve *pyieldCurve, LongNatural nPaths, LongNatural nDates, Integer PrdName) |
Variables | |
| const Real | defaultShiftVolSurface = 0.01 |
| const Real | defaultAdvDays = 1. |
|
|
Definition at line 22 of file Exotics.h. Referenced by choiceToType(), and inputExoticOptionOnSingleAsset(). |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 40 of file mainmontecarlo.cpp. References yieldCurve::discountFactor(), GaussianProcess::GetStepIncrements(), Drift::GetvDates(), Drift::GetvDrift(), Integer, LongNatural, MCEngine::MCResult(), r, Real, MCEngine::RunEngineGeneral(), Date::setDateToToday(), and Random::SetSeed(). Referenced by Exotics::getPrice(), mainbinomialtree(), and mainmontecarlo(). |
|
|
|
|
|
|
1.3.6