karlwancl / YahooFinanceApi

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty dictionary?

jjbrunton opened this issue · comments

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.

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