[ quantlib-Patches-3105608 ] binomial tree support for non-flat interest rates

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

[ quantlib-Patches-3105608 ] binomial tree support for non-flat interest rates

SourceForge.net
Patches item #3105608, was opened at 2010-11-08 18:12
Message generated for change (Tracker Item Submitted) made by venkyvemparala
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312740&aid=3105608&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: Venky Vemparala (venkyvemparala)
Assigned to: Nobody/Anonymous (nobody)
Summary: binomial tree support for non-flat interest rates

Initial Comment:
I have added 6 files in support for this :

ql/methods/lattices/generalizedcrr.hpp/cpp : Implement the Cox-Ross-Rubinstein equal jumps binomial tree, for non-constant interest rates ( per John Hull ).
ql/methods/lattices/generalizedbsmlattice.hpp : Implements the appropriate discount factors at each time step in the binomial tree ( based on the forward rate at each step )
ql/pricingengines/vanilla/generalizedbinomialengine.hpp : Implement compatibility with the GeneralizedBlackScholesProcess and the above changes. Also, re-implement the greeks.
examples/equityoption.cpp : Added code to test the GeneralizedBinomialEngine/CRR/Lattice


In addition I have made the following changes to the exisiting files :

1. ql/pricingengines/vanilla/discretizedvanillaoption.hpp -- replaced the inclusion of bsmlattice.hpp with stochasticprocess.hpp. ( former is not needed and the discretizedvanillaoption need not be constrained to the standard bsmlattice )

2. ql/methods/lattices/binomialtree.hpp : Removed the inclusion of dividendschedule.hpp -- not needed. Additionally, made two methods in the EqualJumpsBinomialTree virtual - functions "underlying" and "probability" -- needed to support other equal jumps tree implementations.

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

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

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev