OpenBBTerminal
OpenBBTerminal copied to clipboard
[Bug] `obb.stocks.load()` doesn't correctly parse symbols list
Describe the bug
Using openbb SDK v4, I checked the types expected by obb.stocks.load()
. I found you could upload a List[str]
of symbols. Passing a list to the command though results in an OBBError
for both fmp
and yfinance
providers.
To Reproduce Steps(from the start) and commands to reproduce the behavior: 1.
from openbb import obb
obb.account.login(pat="<pat>")
stocks = ["AAPL", "TSLA"]
data = obb.stocks.load(symbol=stocks, provider="yfinance")
Screenshots
Desktop (please complete the following information):
- OS: Windows 11
- Python version: 3.10.12
- openbb: 4.0.0a3
Additional context