It compiles! Ship it!
Few days ago I decided to release source code of my (small) financial package.
Now you can download the whole thing in one zip, bundled with javadocs and source code. The build number at the end of file name means that it took me while to make my ant script work... :-)
In my opinion, the interesting classes are AssetCalculator
and BondCalculator
. They calculate present value, future value, period payment, interest payment, bond prices, bond duration, discount rate, modified duration, yield to maturity, periodic yield, and more. My unit tests show that
the results are comparable to values calculated by Excel. So, it's time
to ship it!