Valuing a Convertible Bond-Derivative Pricing in Python

Follow us on LinkedIn

In a previous post, we presented a theoretical framework for pricing convertible bonds and preferred shares.  We also provided an example of pricing a convertible bond in Excel. In this installment, we present an example of pricing a convertible bond in Python.

Recall that a convertible bond (or preferred share) is a hybrid security, part debt, and part equity. Its valuation is derived from both the level of interest rates and the price of the underlying equity. Several convertible bond pricing approaches are available to value these complex hybrid securities such as Binomial Tree, Partial Differential Equation and Monte Carlo simulation. One of the earliest approaches was the Binomial Tree model originally developed by Goldman Sachs and this model allows for an efficient implementation with high accuracy. The Binomial Tree model is flexible enough to support the implementation of bespoke exotic features such as redemption and conversion by the issuer, lockout periods, conversion and retraction by the shareowner.

Details of the hypothetical convertible bond are as follows:

Valuation date:  14 February 2017

Issue date: 1 January 2017

Maturity: 1 January 2019

Coupon: 3%

Credit spread: 0.75%

Risk-free rate: 2%

Stock price: 52

Volatility: 15%

Dividend: 0%

The picture below shows the bond price obtained by using a third-party program.

pricing convertible bonds

Using the Python program, we obtain a clean price of 113.27

Derivative valuation of convertible bonds

Further questions

What's your question? Ask it in the discussion forum

Have an answer to the questions below? Post it here or in the forum

LATEST NEWSCanadians showing more support for striking workers amid inflation, corporate profits
Canadians showing more support for striking workers amid inflation, corporate profits

It was Samantha Henry’s first time on strike, and one that made headlines across the country. “Some people thought the strike would only last a week, a couple of days. And we went into almost five weeks,” said Henry, one of some 3,700 Metro employees…

Stay up-to-date with the latest news - click here
LATEST NEWSInflation likely gained pace in August, economists expect, reversing progress
Inflation likely gained pace in August, economists expect, reversing progress

OTTAWA — Economists are forecasting inflation reaccelerated to around four per cent last month, reversing previous progress made as gasoline prices push inflation higher. Statistics Canada’s August consumer price index report set to be released Tuesday is expected to show the annual inflation rate rose…

Stay up-to-date with the latest news - click here
LATEST NEWSUS national security adviser meets with Chinese foreign minister
US national security adviser meets with Chinese foreign minister
Stay up-to-date with the latest news - click here
LATEST NEWSShiba Inu (SHIB) Profitability Is Finally Back at Double-Digit Level
Shiba Inu (SHIB) Profitability Is Finally Back at Double-Digit Level
Stay up-to-date with the latest news - click here
LATEST NEWSA Fed decision, FedEx earnings and the UAW strike: What to know this week
A Fed decision, FedEx earnings and the UAW strike: What to know this week
Stay up-to-date with the latest news - click here

Leave a Reply