[ quantlib-Patches-811296 ] European Swaption Excercise time

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ quantlib-Patches-811296 ] European Swaption Excercise time

SourceForge.net
Patches item #811296, was opened at 2003-09-23 10:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312740&aid=811296&group_id=12740

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: European Swaption Excercise time

Initial Comment:
In ql/Pricers/blackswaption.cpp the BlackSwaption

pricer is assuming the excercise date of the option is

the start date of the swap.

Line 29:

 'Time start = arguments_.floatingResetTimes[0];'

In order to use the excercise times present this needs

to be changed to:

 'Time start = arguments_.exerciseTimes[0];'



And of course you might want to change the name of

the variable to something other than 'start'



[hidden email]

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312740&aid=811296&group_id=12740