• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

Computing the IRR for floating rate notes in VBA

Joined
11/13/11
Messages
2
Points
11
Just recently signed up as I am struggling with computing the IRR on a floating rate bond in VBA. The honest truth is I don't know where to start. I would like to eventually down the track use the bloomberg add-in in excel to download the necessary parameters such that IRR automatically updates after say every quarterly coupon payment. Could anyone with any experience shed some light? I was hoping to start with something simple and then build it out into greater complexity.
 
There will be few ways how to solve this: if you are using Excel, you can use the built-in function, IRR. If you are using .net VBA, then http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.financial.irr.aspx will help. Finally, if you are reinventing the wheel, then implementation of the NPV function along with a numerical solver would be needed. In the latter case, the Newton method would be good with a quadratic convergence for single roots.
 
Back
Top