All barrier options pricing formulas assumes continuous monitoring of the barrier.
In practice, the barrier is normally monitored only at discrete points in time.
Broadie, Glasserman, and Kou (1995) have developed an approximation for a continuity correction for discrete barrier option pricing formulas.
To price any discrete barrier option, it is only necessary to replace the continuously monitored barrier H in the continuous barrier options formula with a discrete barrier level.
This function will compute the new discrete barrier level for you.
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.