Merge pull request #1611 from ricardoprins/main

[BUG] Fix failure when using single ISIN as a ticker (#1525)
pull/1613/head
ValueRaider 2023-07-18 10:55:18 +01:00 committed by GitHub
commit bd81ebb4e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ def download(tickers, start=None, end=None, actions=False, threads=True, ignore_
if len(tickers) == 1:
ticker = tickers[0]
return shared._DFS[shared._ISINS.get(ticker, ticker)]
return shared._DFS[ticker]
try:
data = _pd.concat(shared._DFS.values(), axis=1, sort=True,