Scraping Nepal stock market



nepse_image
I have been reading 'The Snowball': Warren Buffett and the Business of Life by Alice Schroeder. Like everyone, I always want my money to work for me. I don't wish to be million by stock investment but I want good return on my investment. I know, I should have started little early but its never too late. 


The Nepal Stock Exchange Limited (abbreviated as NEPSE) is the only Stock Exchange of Nepal with 330 company listed and market cap of 17.3 billion USD. Stock market in Nepal is still at its primitive stage. I could not find any API (I didnt expected to find) from NEPSE . So I decide to do scrape the NEPSE site.

Here is the script with stock data from 04-2010 to 10-2017. This scripts was last test on 10-29-2017.

Data Scraped:
1. Company detail:

2. Today Price: Daily price of share

I wanted to scrape the website and update the github daily but due to geographical blockage from NEPSE website or may be something else I cant deploy this into AWS. I get 500 error from NEPSE page while deploying this into AWS.

I will be doing more analysis on Nepse data and write follow up tutorial. 

Quotes from book I am reading:
“Cash combined with courage in a crisis is priceless”
--Alice Schroeder, The Snowball: Warren Buffett and the Business of Life

Unknown

I'm a Data-holic. I'm passionate about learning new things and playing with data. This blog is a place where I want to share my data analysis tips and tricks, data visualization and automation tips and tricks.

1 comment: