Serving the Quantitative Finance Community

 
User avatar
JensDK
Topic Author
Posts: 0
Joined: February 2nd, 2006, 2:38 pm

VBA code for Hull-White trinomial tree

February 7th, 2006, 10:22 am

Hi,I am looking for VBA code for implementing Hull-White model to fit the market yield curve, but with contant volatility parameters.Some code for using this to price bermudian option would be very helpful.Many thanks Jens :-)
 
User avatar
Edwyn
Posts: 2
Joined: January 3rd, 2006, 10:12 am

VBA code for Hull-White trinomial tree

February 7th, 2006, 1:34 pm

Not sure whether this works for you but at least containing a very simple trinomial tree builder.You need to calibrate first to the market yield curve to get the Nelson Siegel parameters, and then to the swaptio implied volatilities to get the HW parameters.
Attachments
lattice.zip
(77.31 KiB) Downloaded 78 times
 
User avatar
cosmologist
Posts: 2
Joined: January 24th, 2005, 8:08 am

VBA code for Hull-White trinomial tree

February 8th, 2006, 6:39 am

great,new to programming and you are in-charge of bermudans,you must be a genius.cheers
 
User avatar
cosmologist
Posts: 2
Joined: January 24th, 2005, 8:08 am

VBA code for Hull-White trinomial tree

February 8th, 2006, 6:54 am

QuoteOriginally posted by: EdwynNot sure whether this works for you but at least containing a very simple trinomial tree builder.You need to calibrate first to the market yield curve to get the Nelson Siegel parameters, and then to the swaptio implied volatilities to get the HW parameters.Hi ,great job.I think you need to relook into your codes a bit more carefully.cheers
 
User avatar
JensDK
Topic Author
Posts: 0
Joined: February 2nd, 2006, 2:38 pm

VBA code for Hull-White trinomial tree

February 9th, 2006, 9:20 am

thanks for your reply Edwyn.. I allready have the Nelson-Siegel-parameters, though, and to start out I borrow H-W parameters, say a=0,1, sigma=0,01... in order to focus on the program for the bermudian spread option, which seems a little tough.. then returning to the order problems later :-)thanks Jens :-)