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
Adaptation request #27
Comments
Hi, I took a look at the YahooFinance API, and it looks really good – I would suggest that you stick with that. Every data source, bar the expensive professional ones, will have missing data. You should have a preprocessing script that cleans the missing data, either by filling it with suitable estimates or by ignoring those rows/columns. Best, |
Hi Robert, thanks for your insight! :) The main issue I've got with YahooFinancials is the fact that main figures are missing, such as Cash, Debt or Levered Free Cash Flow. But those are things you seem to provide. Would you be able to help or suggest what could be used from your project please? Happy to share my code if you want to have a quick look at it. Cheers :) |
Here is my current script:
|
Yeah, that's the API I was looking at. Was the data only missing for non S&P500 stocks? |
@robertmartin8 I need the missing data for S&P500 and other US stocks available on Yahoo. I would like to be able to scrape for example the Levered Free Cash Flow for ticker MMM (S&P500) as well as VOD (not in the S&P500). Just get what's in the statistics page of Yahoo Finance as long as the ticker is available. Let me know if your script does it and if you could eventually help me to integrate this feature to my existing script. |
This project is more about processing the data and training a machine learning classifier, so unfortunately it does not include the script used to scrape the data. Best of luck! |
Hello, I luckily ended up on your project as I'm looking at scraping data from Yahoo Finance for a list of quotes (not only S&P500). I was wondering if there was a way to get a part of your script adapted to my needs?
i.e. I've got a list of quotes available in a .txt file. I currently use the YahooFinancials python api but I realised that some key figures are missing, such as "Cash, Debt, Levered free cash flow...etc".
So far, I'm collecting the data using that custom python script and then dump as a JSON file.
Would you be able to help me? Thanks :)
The text was updated successfully, but these errors were encountered: