Creates an interest rate process viewer object.
Given an interest rate forward process object a mandatory set of event dates, an interest rate process viewer object will be created which typically generates simulation paths based on the given process.
You can then query the process viewer object for various statistics and display the various paths generated.
This function requires the input of an interest rate StochasticProcess object key, which must have been produced via a call to one of the 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 fxing rates.
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.
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 : "IRViewPRO"
- Key parameter
Key value to use as a handle for the created object
- Reload parameter
When creating this object for the first time, set this parameter to a positive value. Within Excel, when re-computing a worksheet where you do not wish to recreate the object, set this parameter to zero (0).
- stochProcess parameter
Key to an already constructed interest rate StochasticProcess object.
- ValueDate parameter
Key to an already created Valuation Date Object. (Via the
ValueDateObj() function).
- dayCounter parameter
Used to calculate time in years.
- MandatoryDates parameter
An array of Mandatory Event Dates (in ascending order). These dates indicate the periods in time you wish to view asset prices.
- NoOfSims parameter
The number of simulations.
- MCMethod parameter
The random generator type to use. Valid values are 'Pseudo' or 'LowDiscrepancy'.
- Seed parameter
Seed value. If zero (0) is specified, a random seed will be generated.
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.