JQuantlib (Java Quantlib)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

JQuantlib (Java Quantlib)

admad
Has anybody used the java version of the quantlib library and if you have do you know if the "yield to maturity for bond calculations" is implemented by it.

Thanks...
Reply | Threaded
Open this post in threaded view
|

Re: JQuantlib (Java Quantlib)

Luigi Ballabio
On Fri, 2009-11-13 at 13:59 -0800, admad wrote:
> Has anybody used the java version of the quantlib library and if you have do
> you know if the "yield to maturity for bond calculations" is implemented by
> it.

I assume you're referring to the Java bindings in QuantLib-SWIG, rather
than the JQuantLib port at <http://jquantlib.org/index.php/Main_Page>;
I'm not familiar enough with the latter to answer for that.  With the
bindings, you can use the Bond::yield method to get a yield from a given
bond price.

Luigi



--

If you can't convince them, confuse them.
-- Harry S. Truman



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users