Skip to content

Yahoo Finance Options Data #1739

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

Closed
sglyon opened this issue Aug 7, 2012 · 4 comments
Closed

Yahoo Finance Options Data #1739

sglyon opened this issue Aug 7, 2012 · 4 comments
Labels
Enhancement IO Data IO issues that don't fit into a more specific label
Milestone

Comments

@sglyon
Copy link
Contributor

sglyon commented Aug 7, 2012

Add functionality to pd.io.DataReader that collects options data from yahoo finance for a given stock.

Would rely on BeatifulSoup to parse html data.

@sglyon
Copy link
Contributor Author

sglyon commented Aug 7, 2012

I have code for a class that will retrieve, parse, and return call/put data into a DataFrame object for a given ticker and a given option expiration month-year.

@wesm
Copy link
Member

wesm commented Aug 7, 2012

Funny, I have a example of this in my book, could just use that (it uses lxml but easy to adapt for BS)

@sglyon
Copy link
Contributor Author

sglyon commented Aug 7, 2012

I actually got the idea there. I took what you had in your book and added a few things (like allowing the user to specify expiration month/date for the options).

Do you have an implementation of your book's method written?

@sglyon
Copy link
Contributor Author

sglyon commented Aug 9, 2012

See pull request and associated issue #1748

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement IO Data IO issues that don't fit into a more specific label
Projects
None yet
Development

No branches or pull requests

2 participants