Skip to content

Conversation

@antoniouaa
Copy link
Contributor

Remade this to fix issue #899

From previous PR,

I don't see any good reason to treat single element symbol lists passed to yfinance.Tickers as something special, instead perform the pandas.concat like you would normally (with multiple tickers).

Avoids a KeyError raised here,

self.tickers.get(symbol, {})._history = data[symbol]

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

Successfully merging this pull request may close these issues.

2 participants