yfinance
yfinance copied to clipboard
Download market data from Yahoo! Finance's API
I am downloading QQQ data every 20-45 seconds (variation is due to a rate limit I set) during market hours using the function: `yf.download(tickers=['QQQ'],period='3d',interval='1d')` I average about 800-1300 API calls...
period='max' should adjust for interval. For example, ``` yf.download(ticker, interval='1h', period='max') ``` returns ```1h data not available for startTime=1070236800 and endTime=1640909113. The requested range must be within the last 730...
Hello - is there any way to get the (weekly) EMA-values for a stock? The information i need can be seen with the link below - Its the weekly EMA...
1) I have noticed that the values for Ebit are the same as Operating income for some stocks. I have tried this with 2 stocks "GOOG" and "TSM" and they...
It would be great if "expense ratio" from the Yahoo Finance Summary tab would be added to the info that can be obtained from .info
Hi ranaroussi, First and foremost, thanks for developing such an awesome tool! Given that I use this a fair bit for my own discounted cash flow analyses I figured I...
Hello - i would like to retrieve the "Total Equity Gross Minority Interest" from the balance-sheet eg. for the stock JPM This should be 294,127,000 in 2021  But i...
Yahoo sometimes returns this week price data across two rows - todays data separated from rest-of-week. Seems to depend on the clock time (e.g. evening after exchange closed) and what...
I was playing with 15m data which is created internally from 30m data - the price-after-end-date bug (https://github.com/ranaroussi/yfinance/pull/1026) was messing with the 15m->30 conversion. So just moving the bug-fix up...
When running `Ticker()` many times the init time is significant. Caused by `utils.empty_df()` calls, but these can be moved out into `get_fundamentals()`. Reduces runtime of 1000 calls from seconds to...