ooples / OoplesFinance.YahooFinanceAPI

A .NET API wrapper for Yahoo Finance that allows users to get top trending stocks, historical stock data, stock splits, dividends, capital gains, and much much more!
Apache License 2.0
47 stars 10 forks source link

GetRealTimeQuotesAsync => Requested Information Not Available On Yahoo Finance #15

Closed stagnoman closed 11 months ago

stagnoman commented 1 year ago

Hi there,

I was looking for live data. I tried GetRealTimeQuotesAsync but it returns me the following error:


var symbol = "TSLA"; var yahooClient = new YahooClient(); var r = await yahooClient.GetRealTimeQuotesAsync(symbol); Console.WriteLine($"{r.Symbol} {r.RegularMarketPrice} {r.Bid} {r.BidSize} {r.Ask} {r.AskSize}");

Error: System.InvalidOperationException: 'Requested Information Not Available On Yahoo Finance'

Would you pls help me this? Thks

ooples commented 1 year ago

@stagnoman At first glance it looks like Yahoo changed the URL again so I'm looking into this further. Will let you know when I have an update

stagnoman commented 1 year ago

@stagnoman At first glance it looks like Yahoo changed the URL again so I'm looking into this further. Will let you know when I have an update

Thks a lot

ooples commented 1 year ago

@stagnoman Looks like it has been taken down for now due to a decision from Yahoo but will update you if they decide to add it again. I will also try to find a workaround

tjitra commented 1 year ago

I got this error to on Debian, use net 7.0

github-actions[bot] commented 11 months ago

Stale issue message