Menu

#3 European Swaption Excercise time

closed
None
5
2003-10-09
2003-09-23
Anonymous
No

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'

Bill@cirm.com

Discussion

  • Luigi Ballabio

    Luigi Ballabio - 2003-10-09
    • assigned_to: nobody --> lballabio
    • status: open --> closed
     
  • Luigi Ballabio

    Luigi Ballabio - 2003-10-09

    Logged In: YES
    user_id=75450

    Patch applied.

     

Log in to post a comment.

MongoDB Logo MongoDB