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 NEWSPoland to spend 5% of GDP on defence in 2025, says foreign minister
Poland to spend 5% of GDP on defence in 2025, says foreign minister
Stay up-to-date with the latest news - click here
LATEST NEWSWhat happens to solar stocks if Trump wins? RBC weighs in
What happens to solar stocks if Trump wins? RBC weighs in
Stay up-to-date with the latest news - click here
LATEST NEWSBrutal $60,000 Bitcoin (BTC) Reversal, Shiba Inu (SHIB) to Lose 13% in Next Few Days, Solana (SOL) Will Start Further Growth From $135
Brutal $60,000 Bitcoin (BTC) Reversal, Shiba Inu (SHIB) to Lose 13% in Next Few Days, Solana (SOL) Will Start Further Growth From $135
Stay up-to-date with the latest news - click here
LATEST NEWSChina's vice commerce ministry meets Walmart CEO McLay
China's vice commerce ministry meets Walmart CEO McLay
Stay up-to-date with the latest news - click here
LATEST NEWSWorkers Are Missing From Starmer’s Plan to Spur UK Housebuilding
Workers Are Missing From Starmer’s Plan to Spur UK Housebuilding

Prime Minister Keir Starmer’s promise to “get Britain building again” will quickly face a shortage of skilled workers in the very industries he’s hoping will power the turnaround.

Stay up-to-date with the latest news - click here

Leave a Reply