Closed prRZ5F4LXZ closed 1 year ago
The stock you mentioned (FSBC) just started trading in May of 2021 - there is no older data.
If you aren't getting the results you expect lookup the stock on Yahoo Finance to check your expectations. It will help maintainers greatly before posting of issues.
No. That is wrong. Tradingview shows a much longer history.
If Yahoo is wrong the issue should be posted with Yahoo, not here.
If you check the NASDAQ for this stock you will see they have the same time frame as Yahoo Finance (link posted above) and yfinance. Checking the Five Star Bancorp website you will see under investor relations they IPOed in May of 2021 matching what Yahoo Finance shows.
You will have to check with Tradingview about the price history they show which is clearly wrong.
No matter which site is correct, Yahoo Finance or Trading View, that isn't a yfinance issue. It is a problem with the data sources.
I see this, which is much less than other tickers (such as MSFT
).
>>> import yfinance as yf
>>> ticker = yf.Ticker('GFNSZ')
>>> ticker.info
{'previousClose': 28.6, 'regularMarketOpen': 28.8074, 'twoHundredDayAverage': 26.646202, 'trailingAnnualDividendYield': None, 'payoutRatio': None, 'volume24Hr': None, 'regularMarketDayHigh': 28.8074, 'navPrice': None, 'averageDailyVolume10Day': 9300, 'totalAssets': None, 'regularMarketPreviousClose': 28.6, 'fiftyDayAverage': 28.203142, 'trailingAnnualDividendRate': None, 'open': 28.8074, 'toCurrency': None, 'averageVolume10days': 9300, 'expireDate': None, 'yield': None, 'algorithm': None, 'dividendRate': None, 'exDividendDate': None, 'beta': None, 'circulatingSupply': None, 'startDate': None, 'regularMarketDayLow': 28.68, 'priceHint': 2, 'currency': 'USD', 'regularMarketVolume': 513, 'lastMarket': None, 'maxSupply': None, 'openInterest': None, 'marketCap': None, 'volumeAllCurrencies': None, 'strikePrice': None, 'averageVolume': 19907, 'priceToSalesTrailing12Months': None, 'dayLow': 28.68, 'ask': 28.95, 'ytdReturn': None, 'askSize': 1100, 'volume': 513, 'fiftyTwoWeekHigh': 28.951, 'forwardPE': None, 'maxAge': 1, 'fromCurrency': None, 'fiveYearAvgDividendYield': None, 'fiftyTwoWeekLow': 24.81, 'bid': 28.68, 'tradeable': False, 'dividendYield': None, 'bidSize': 1800, 'dayHigh': 28.8074, 'exchange': 'NGM', 'shortName': 'General Finance Corporation - 7', 'exchangeTimezoneName': 'America/New_York', 'exchangeTimezoneShortName': 'EDT', 'isEsgPopulated': False, 'gmtOffSetMilliseconds': '-14400000', 'quoteType': 'EQUITY', 'symbol': 'GFNSZ', 'messageBoardId': 'finmb_24821932', 'market': 'us_market', 'regularMarketPrice': 28.68, 'logo_url': ''}
It seems that there is no much information about GFNSZ on the following page. So this is also a yahoo finance data source problem?
https://finance.yahoo.com/quote/GFNSZ/profile?p=GFNSZ
Do you know where to report problems about yahoo finance?
When profile data in yahoo finance is missing, what is the second best free alternative to yahoo finance to get the info (I am looking for sector & industry info at this moment)?
I am sorry I don't know how to file issues with Yahoo.
I want to help limit yfinance issues page to yfinance specific issues - the maintainers have enough to do :smiley: but MSFT is a much older company so more data.
You can find lots of stock information on the free tier at Financial Modeling Prep or Quandl which also has a free tier if Yahoo Finance doesn't fit your needs.
For some stocks (FSBC is one, but there should be other stocks that are problematic), the history data is incomplete. Does anybody know what is wrong? Is there a bug in the yahoo REST API? Thanks.