The Museum of HP Calculators

HP Forum Archive 17

[ Return to Index | Top of Index ]

Modified Duration on 17bII+
Message #1 Posted by Patrick Landry on 10 Sept 2007, 6:25 p.m.

Hi guys,

I was wondering if anyone could generate lines of coded needed to calculate the modified duration for a bond. I have tried and am not to familiar with all the many programming options available.

Re: Modified Duration on 17bII+
Message #2 Posted by Peter A. Gebhardt on 10 Sept 2007, 6:48 p.m.,
in response to message #1 by Patrick Landry


maybe that's what you're looking for?

You can enter the formulas directly. Before you start become used to using SPPV, USPV etc. to ease entry of the formulas & save space.

Once we have a 17bII+ again which does fully support L() & G() functions, then you should look here!

From the "Financial Superstar", Tony Hutchins:

File Info for UBONDS.ZIP

Section: HP 100/200 Contributor: 100250,2347 Size: 6436 Submitted: 27-Oct-95 Type: Binary Accesses: 419 Title: UBONDS - Universal Bond Solver EQN for Palmtop Keys: BONDS UBONDS HP100LX HP200LX SOLVER EQN

UBONDS.EQN provides the LX Palmtops with a superset of the HP12C and HP19B bond capabilities. Also handles additional coupon frequencies and calculates the Dollar Value of 1 Basis Point and the Macaulay duration. Has a Face value extension to the calculation. Supports dates in whatever format the LX is set to, and has three date accounting bases. Outputs nearby coupon dates so you can argue details with your broker! Uploaded by author.

Best regards

Peter A. Gebhardt

Edited: 10 Sept 2007, 6:51 p.m.

[ Return to Index | Top of Index ]

Go back to the main exhibit hall