karlwancl / YahooFinanceApi

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestions: Historical Prices

dotnetshadow opened this issue · comments

Hi there,
Great Library

Allow for historical prices to pass in multiple stocks
It would be nice to be able to pass in a list of stocks for historical prices. Perhaps your api can then loop through the list and make each call (perhaps in parallel)

Invalid / NotFound
Firstly I realise you kinda addressed it with #7
I think from an api point of view, and to be consistent with await Yahoo.Symbols, an error result should be sent back rather than an exception.

Cheers thanks for that

I suggest you try the new beta version.

Cool ill give it a try, I see you have added in the historical prices with a list of symbols, that is great.
I haven't had a chance to use it yet, so if an error occurs do we get an error now? or still an exception?

If a symbol or field is invalid, null is returned instead of an exception being thrown.