Search this blog...

Watch Bonds traded on NSE India - Part1

On the website of the National Stock Exchange (NSE) India, the details of various Bonds traded on the exchange are published. Anyone can view this publicly available data...
...on this page which is updated in real-time (or near real-time).
Sufficient to keep an eye on numerous bonds traded on the exchange.
 

However, unlike the stock of a company that trades under single symbol on the exchange, bonds of a single company often have multiple series, each with their different yields and maturity-dates. Thus, even if one is interested in a single company, often one would need to monitor dozens of bonds of the same company to find one that has the desired yield and is also currently being traded.

To simplify this workflow, we can scrape the above NSE webpage and filter the bonds of interest to us. Here's one way we can do that using simple Python code...   

Running the above script nse-bond-watch.py
on a system that has access to the internet,
we receive the data in CSV and JSON formats.



In subsequent posts in this series,
we will explore how we can maintain this data locally, as well as filter it.

No comments :

Post a Comment