karlwancl / YahooFinanceApi

A handy Yahoo! Finance api wrapper, based on .NET Standard 2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'Yahoo' Does not exist in the current context

pilotkid opened this issue · comments

Hello, I am looking at the sample code and I am seeing a reference to Yahoo. However, when I try to run the samples, I get the error 'Yahoo' Does not exist in the current context. I tried using the classes YahooQuotes and YahooHistory then I get the error that Symbols does not exist in the current context.

Where are you getting the Yahoo class?

Can you please try the 3.0.0-beta3 version:

https://www.nuget.org/packages/YahooFinanceApi/3.0.0-beta3

That is the version I am running
image

Hello, thank you @dshe, this helped immensely. This is what I was looking for.

var securities = await new YahooQuotes().GetAsync(SymbolsArray);