Convertible Bonds Part 2

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

Convertible Bonds Part 2

John Maiden
After a side project distraction, I'm back to working through the Convertible
Bonds code in QuantLib. I have one (hopefully simple) question: where is the
convertible bond price calculated? I can find the setupArguments and validate()
functions for the convertible bond, but have no idea where all of it gets puts
together. Any help would be appreciated.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Convertible Bonds Part 2

John Maiden
John Maiden <jwmaiden <at> yahoo.com> writes:

>
> After a side project distraction, I'm back to working through the Convertible
> Bonds code in QuantLib. I have one (hopefully simple) question: where is the
> convertible bond price calculated? I can find the setupArguments and validate()
> functions for the convertible bond, but have no idea where all of it gets puts
> together. Any help would be appreciated.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
>

I figured out where it is, it's located in the BinomialConvertibleEngine class.
Sneaky.

Now I'm off to figure out how it works.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Convertible Bonds Part 2

John Maiden
In reply to this post by John Maiden
The more I read, the more questions I have. I understand that the
ConvertibleBond Class uses the BinomialConvertibleEngine as its engine, and
utilizes the BinomialConvertibleEngine calculate() function to do the
calculation. I don't understand how this works, since BinomialConvertibleEngine
inherits from ConvertibleBond. Where is ConvertibleBond accessing
BinomialConvertibleEngine?



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users