Creates a Interest Rate Step Monte Carlo object given a process object and a time line dates array.
When the
MCNextStep() function is called against this object a new simulation path is generated for the process object.
This is a lighter object than the
IRProcessViewer() object as it does not store all the simulation paths.
This function requires the input of an interest rate StochasticProcess object key, which must have been produced via a call to one of the process object construction functions present within the
CapeTools IR Processes category of functions.
These functions would have returned a string 'KEY' which is to be passed to the 'stochProcess' parameter of this function.
The 'MandatoryDates' parameter is an array of dates (in ascending order).
These dates indicate the periods in time you wish to view fixing rates or, if pricing a generic Monte Carlo deal, the time points that you wish to associate event (payoff formulas) against.
The interest rate forward process object will set as it's forward time the last date held within the 'MandatoryDates' parameter.
The 'ValueDate' and 'dayCounter' parameters are needed in order to convert the date values in yearly timepoints.
The 'MinNoOfSteps' parameter provides the minimum number of steps that the discretization of the 'MandatoryDates' array will be performed.
Thus you can look at the 'MandatoryDates' parameter as the mandatory points that you wish to view or attach events to, in total however, there will be 'MinNoOfSteps' points.
This function creates an object and returns a string-key value to represent this created object.
The TAG value of the string-key returned (second part of the key) is : "LIRViewPRO"
The C# example below contains all the sub-function calls leading up to this function call. As a result, the example can contain a lot of code.
The VB.NET, J#, C++.NET, Java, Excel VBA, Visual Basic 6 (via COM) and C++ examples below contain function code stubs for the calls leading up to this function call. However, the function call for this function is displayed.
You can easily reproduce the stub functions code from the
C# example.
Copyright (c) 2003-2007 CapeTools - All Rights Reserved.