4 ms·
It says it uses the "Yahoo Finance API" but it seems no such API is offered by Yahoo anymore. There are other sites that offer access to what they call the "Ya
by TekMol 6y ago
It says it uses the "Yahoo Finance API" but it seems no such API is offered by Yahoo anymore.
There are other sites that offer access to what they call the "Yahoo Finance API". I wonder how that works and if those are legit offers.
Does anybody know?
- nsomani 6y agoHere's the specific package that I'm using: https://github.com/ranaroussi/yfinance https://github.com/ranaroussi/yfinance
- TekMol 6y agoThat seems to be a scraper. I wonder if it is legal to scrape stock market data and then republish it.
- Ill_ban_myself 6y agoNot only is it legal it’s insanely profitable! See: https://www.spglobal.com/marketintelligence/en/campaigns/snl-financial https://www.spglobal.com/marketintelligence/en/campaigns/snl...
- nl 6y agoFirstly, this doesn't scrape prices - they pay for a live feed direct from the market. Secondly, it isn't legal. They are protected by license agreement. But stock prices is not what the value of SNL Financial and/or Capital IQ is for most people. I know a bunch of people who pay the $30K license fee for these (as well as Bloomberg etc) who barely use the stock price at all.
- snazz 6y agoThere definitely is still a Yahoo Finance API for large corporate customers. That's where Apple's Stocks app gets its data, for example. I'm not sure about the third party services---they probably just scrape Yahoo's website and repackage the data.