Closed Dr-Corn-Inspector closed 2 years ago
The used endpoint from Yahoo Finance (https://query1.finance.yahoo.com/v7/finance/quote?symbols=INTC) simply doesn't return the revenue. So it's not possible to get it. The code for this was also commented as part of #105 in StockQuotesQuery1V7Request#getStats(JsonNode)
.
Getting Revenue, PEG, and EBITDA will return null, regardless of the stock.
Example:
Stock stock = YahooFinance.get("INTC");
System.out.println(stock.getStats().getRevenue());
will return null