Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty dictionary? #49

Open
jjbrunton opened this issue Mar 12, 2021 · 2 comments
Open

Empty dictionary? #49

jjbrunton opened this issue Mar 12, 2021 · 2 comments

Comments

@jjbrunton
Copy link

I'm using the following:

Yahoo.Symbols("AAPL", "TSLA", "AMC").Fields(Field.Symbol, Field.RegularMarketPrice).QueryAsync()

But randomly each of these will have empty RegularMarketPrice values causing a dictionary exception.

@jjbrunton
Copy link
Author

'The given key 'RegularMarketPrice' was not present in the dictionary.'

@dshe
Copy link
Collaborator

dshe commented May 15, 2021

I suggest you try: https://github.com/dshe/YahooQuotesApi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants