Quote:
Originally Posted by masraum
I would think you could find a program for just about anything you needed/wanted online someplace. I'm sure there's a forum or something for HP RPN geeks.
|
There isn’t that much of what I want. RPN/HP geeks are mathy and sciency, seldom interested in finance. There’s some basic amortization etc programs. Unless I’m missing it.
What I think I need to write.
1. Value of bond at given discount rate.
2. Yield to maturity of bond (use #1 as subroutine, recursively)
3. Yield to call and to put of bond (use #1 as sub)
4. Yield to worst (use #2 and #3)
5. Value, greeks of option
6. Value, greeks of combination of options and underlying stock (use #5)
7. Implied volatility of stock at given option value (use #5 as sub, recursive)
8. Value of convertible bond (use #1, 5)
9. Option position to hedge given stock position to desired greek (use #6)
10. Value of equity given growth, margins, capital structure, discount rate, multiple
11. Implied growth or margins at given equity value (use #11)
12. Basic loan amortization, present values
13. Basic IRR (this could be sub for #2)
This will be just for fun, I don’t see actually using most of this stuff, and certainly not on a calculator.
A lot of this is backing into a number, so I see doing a lot of it recursively, unless I can use Solver. I tend to think that way - does X make sense, what would that imply for Y and Z?
The DM42 has expanded DATE functions that the HP42S didn’t, which will make this easier. It also has far more memory and a far faster processor. You can develop the programs using the Free42 emulator on your PC or Mac, then upload to the calculator. I feel like I need to plan all this out ahead of time as I’d like the various programs to use the same set of variables and registers.