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

Possible to download sector information from yahoo finance? #103

Closed
twiecki opened this issue Oct 7, 2015 · 10 comments
Closed

Possible to download sector information from yahoo finance? #103

twiecki opened this issue Oct 7, 2015 · 10 comments
Milestone

Comments

@twiecki
Copy link

twiecki commented Oct 7, 2015

Yahoo finance does give you information on sector and industry: http://finance.yahoo.com/q/pr?s=AAPL+Profile

Is it possible to access that data through pandas-datareader?

@sinhrks
Copy link
Member

sinhrks commented Oct 8, 2015

Currently no, I think. Adding Options('aapl').get_profile() and parse "Details" table should be useful?

@davidastephens davidastephens added this to the 0.3.0 milestone Oct 9, 2015
@twiecki
Copy link
Author

twiecki commented Oct 9, 2015

I installed master but there's no .get_profile()

@sinhrks
Copy link
Member

sinhrks commented Oct 18, 2015

Ah, I meant a method being added to meet the request.

@twiecki
Copy link
Author

twiecki commented Oct 18, 2015

@sinhrks Ah, yeah that would certainly work.

@davidastephens
Copy link
Member

@twiecki

Have a look at https://github.com/davidastephens/pandas-finance, I added profile, sector, industry and employees properties to the Equity object.

@twiecki
Copy link
Author

twiecki commented Jan 5, 2016

@davidastephens Thanks, that's really helpful. Any reason to have 2 packages that do similar things or is there a way to merge the two?

@davidastephens
Copy link
Member

There was some discussion in #117 about this. The pandas-finance package is planned to be more a high level api for finance related code rather than just data reading. This package is more for time-series / bulk data downloading. Certainly this particular feature has some overlap across the packages. I'm happy merge it into datareader people think it fits better here.

@twiecki
Copy link
Author

twiecki commented Jan 9, 2016

@davidastephens I'm not directly involved in either of the two projects so take this as you may. While the division makes sense to me, pandas-finance is merely a thin wrapper on top of pandas-datareader, and because it's just a couple of lines it might make sense to include the API here. pandas-datareader only reads financial data so the target audience is very close.

Irrespective of that, the place where you do parse and load individual data is profile. That could certainly be submitted to pandas-datareader which would also keep the abstraction coherent.

@bashtage
Copy link
Contributor

Yahoo has been deprecated.

@satvikjadhav
Copy link

@twiecki

Have a look at https://github.com/davidastephens/pandas-finance, I added profile, sector, industry and employees properties to the Equity object.

Is there any way to get stocks from different regions? For example, I am trying to get a Japanese stock from the Tokyo Stock Exchange. Is that possible? If so, how?
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants