Creates a Continuous Averaging Asian Option object.
Once the object has been constructed, the value of the option can be obtained by executing the
PrcObjContinuousAsianOption() function.
This function requires the input of a BlackScholes Process object key, which must have been produced via a call to one of the following functions :
GBSProcess(),
GBSProcess2(),
BS73Process(),
BS73Process2(),
BlackProcess(),
BlackProcess2(),
GKProcess() or
GKProcess2(). These functions would have returned a string 'KEY' which is to be passed to the 'stochProcess' parameter of this function.
This function requires the input of a payoff object key, which must have been produced via a call to one of the following functions :
PlainVanilla(),
PercentageStrike(),
CashOrNothing(),
AssetOrNothingPayoff() or
Gap(). These functions would have returned a string 'KEY' which is to be passed to the 'payoff' parameter of this function.
This function requires the input of a exercise object key, which must have been produced via a call to one of the following functions :
AmericanExercise(),
EuropeanExercise(),
BermudanExercise(),
ExerciseFromLeg(),
ExerciseFromSche(),
ExerciseFromSW(),
ExerciseFromFIXBND() or
ExerciseFromFLTBND(). These functions would have returned a string 'KEY' which is to be passed to the 'exercise' parameter of this function.
This function requires the input of an engine object key, which must have been produced via a call to the
ContinuousAsianEngine() function.
This function would have returned a string 'KEY' which is to be passed to the 'engine' parameter of this function.
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 : "CASIANOPT"
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.