Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Historical EOD data for stocks #3

Closed
fightthepower opened this issue Jun 4, 2019 · 5 comments · Fixed by #50
Closed

Historical EOD data for stocks #3

fightthepower opened this issue Jun 4, 2019 · 5 comments · Fixed by #50
Assignees
Labels
enhancement New feature or request WIP Work in progress

Comments

@fightthepower
Copy link

I want to download historical EOD OHLCV data for stocks. Is it gonna be added in this library or can you recommend a library where we can download bse historical EOD data from bse.

@sdabhi23
Copy link
Owner

sdabhi23 commented Jun 4, 2019

Hey @fightthepower you can manually download the historical data from https://www.bseindia.com/market_data.html, I do plan to include it in a later version, but it's on the backburner as of now as I have to improve the support for live data first!

@sdabhi23 sdabhi23 added the enhancement New feature or request label Jun 4, 2019
@fightthepower
Copy link
Author

fightthepower commented Jun 5, 2019

Hey thanks for the reply. I know we can manually download it from bse site. But I want to download more than 100 stocks in that case manual would be harder. I am also planning to update stock prices daily. A python library would have helped a lot. I regularly uses nsepy and its a life saver.

Can you please take this additional request; please make historical prices a pandas dataframe. So that we can easily manipulate the data. Once more thank you for this library I was searching for a nsepy alternative for bse.

@shikharparikh
Copy link

Hey thanks for the reply. I know we can manually download it from bse site. But I want to download more than 100 stocks in that case manual would be harder. I am also planning to update stock prices daily. A python library would have helped a lot. I regularly uses nsepy and its a life saver.

Can you please take this additional request; please make historical prices a pandas dataframe. So that we can easily manipulate the data. Once more thank you for this library I was searching for a nsepy alternative for bse.

Use Quandl API

@fightthepower
Copy link
Author

I did use Quandl free API but it had some problems in its historical data. Quandl updates the bse EOD and other free data very late (2-3 days delay). So its useless for me.

@sdabhi23
Copy link
Owner

sdabhi23 commented Jan 27, 2024

https://www.bseindia.com/markets/equity/EQReports/StockPrcHistori.html?flag=0

This is the current page where the historical data is available. Trying to find alternatives, as I am not able to figure out a way to scrape this page or get the data from the APIs.

EDIT:
New link for the Bhav Copy page: https://www.bseindia.com/markets/MarketInfo/BhavCopy.aspx
This data is more openly available, but takes 1 API call for each date and fetches data for all scrip codes at once. Not the ideal desired behavior, but for now it will have to do.

@sdabhi23 sdabhi23 self-assigned this Jan 27, 2024
@sdabhi23 sdabhi23 added the WIP Work in progress label Jan 27, 2024
@sdabhi23 sdabhi23 linked a pull request Jan 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WIP Work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants