Hi everyone! I have been trying to calcualte options on equity instruments using the FDDividend engine. I include some source code to show what I did. The example calculates 2 options, one without dividends and one with 2 discrete dividends. The option with no dividends returned 13.279, which is where I expect it to be, but the option with discrete dividends returned 13.688 (vanilla european call with higher value than without the dividends!). I expected a value in the region of 8.73. What am I doing wrong? Date evalDate = Date(9,March,2006);
//add discrete dividends
DividendVanillaOption option1(process, payoff, exercise, dividendDates, dividends, engine);
Menzi
Nedbank Limited Reg No 1951/000009/06. The following
link displays the names of the Nedbank Board of
Directors and Company Secretary.
This email is confidential and is intended for the
addressee only. The following link will take you to Nedbank's legal
notice.
|
On 03/22/2006 07:57:17 AM, Mndaweni, M. (Menzi) wrote:
> I have been trying to calcualte options on equity instruments using > the FDDividend engine. I include some source code to show what I did. > The example calculates 2 options, one without dividends and one with > 2 discrete dividends. The option with no dividends returned 13.279, > which is where I expect it to be, but the option with discrete > dividends returned 13.688 (vanilla european call with higher value > than without the dividends!). I expected a value in the region of > 8.73. What am I doing wrong? Apologies for the delay---I've been a bit busy getting out the 0.3.12 release. Speaking of which, your code seems ok: I've tested it with the new release and the two options return 13.279 and 8.520, respectively. Perhaps a bug in the old version---you might want to upgrade to the new one and check the results yourself. Luigi ---------------------------------------- The young man knows the rules, but the old man knows the exceptions. -- O. W. Holmes |
Free forum by Nabble | Edit this page |