views:

560

answers:

2

Does anyone know of an open source financial library that implements Yield To Maturity and other fixed income calculations? The library needs to be callable from .Net.

+1  A: 

Here is a .NET implementation of all of Excel's financial functions, including yield to maturity.

mattnewport
Yes I saw this in my initial investigation. I know very little of f# and was hesitant to try it hoping to find something else. Is this an irrational hesitation?
Gratzy
You don't need to know F# to use the library. It's available as a self contained .NET assembly so if you just want to use the functionality then you don't need to know anything about F#. The behaviour matches that of the Excel functions and you can refer to the Excel documentation for usage. If you think you will need to modify the code then the fact that it is implemented in F# might be an issue.
mattnewport
+1  A: 

Have you looked at Quantlib? Seems to offer a wide array of pricing tools and is callable from .Net, I believe. There's also a port to Java called JQuantLib (www.jquantlib.org) as well, though I don't believe it implements everything in Quantlib quite yet.

David