|
From: SourceForge.net <no...@so...> - 2010-08-10 16:56:52
|
Bugs item #3042627, was opened at 2010-08-10 09:56 Message generated for change (Tracker Item Submitted) made by mandaldi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3042627&group_id=12740 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: DILIP MANDAL (mandaldi) Assigned to: Nobody/Anonymous (nobody) Summary: Bug in CMS Initial Comment: I am learning myself out of curiosity and want to become a quant developer. While I was studying constant maturity swap, I found a problem while changing nominal value. The sum of caplet and floorlet price is not equal to swaplet price at a strike rate. The bug is in the calculation of swaplet. It does not account for nominal value while calculating swaplet value. It should be “Real swapletPrice = swaplet.price(vars.termStructure) + nominal * swaplet.accrualPeriod() * strike * discount;” at line 452 of test-suite/cms.cpp file. Thank you, Dilip ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3042627&group_id=12740 |