mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
[Feature] Pandas 3.0 - Update Library For Syntax (#7336)
* fix everything for pandas 3.0 * bump yfinance version * update core dependency python-multi-part * lint
This commit is contained in:
@@ -32,8 +32,8 @@ def get_stocks_data():
|
||||
symbol = random.choice(["AAPL", "NVDA", "MSFT", "TSLA", "AMZN", "V"]) # noqa: S311
|
||||
provider = random.choice(["fmp", "yfinance"]) # noqa: S311
|
||||
|
||||
data["stocks_data"] = openbb.obb.equity.price.historical(
|
||||
symbol=symbol, provider=provider
|
||||
data["stocks_data"] = openbb.obb.equity.price.historical( # type: ignore
|
||||
symbol=symbol, provider=provider # type: ignore
|
||||
).results
|
||||
return data["stocks_data"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user