CapeTools (Compact) Process Simulation
http://www.QuantTools.com
In total there are 4 functions present within the CapeTools (Compact) Process Simulation category of functions.
General Description
Functions to construct and simulate Equity, Future, FX or Commodity type stochastic processes.
The (Compact) indicates that a single path will be simulated each time you call the MCNextStep function from a constructed StepMonteCarlo object.
The benefit of this method is that enough information is returned for you to conduct your own customised monte-carlo pricing within your own environment.
However it would be difficult to compute risk numbers as the original path would have been wiped from memory (if generating risk via perturbation).
Alternatively, you may want to use the functions present within the CapeTools (Full) Process Simulation category of functions. Under this scenario, if one wishes to conduct 50000 simulations, all 50000 simulations will be simulated in one shot, via the ProcessViewer function and all the paths are stored.
However you may want to use the DeleteObject() function to remove the simulation object from memory once you have priced you product.
Function list.
- MCDiscounts - Returns a range of discount factors at each timestep and for each asset given a StepMonteCarlo() object.
- MCGetTimeSteps - Return the TimeLine array (in years).
- MCNextStep - Generates a new simulation path given a StepMonteCarlo() object.
- StepMonteCarlo - Creates a Step Monte Carlo object given a process object and a time line dates array.
Copyright (c) 2003-2007 CapeTools - All Rights Reserved.