OpenBB-finance / OpenBBTerminal

Investment Research for Everyone, Everywhere.

Home Page:https://openbb.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Input should be 'fmp', 'intrinio', 'polygon' or 'tiingo' [type=literal_error, input_value='yfinance', input_type=str]

fayssal-el-elmofatiche opened this issue · comments

Describe the bug
yfinance is not supported when trying to load equity historical price data.

To Reproduce
df_daily = obb.equity.price.historical(symbol = "spy", provider="yfinance")
df_daily.to_df().head(1)

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS M2
  • Python version 3.11

Hi 👋 @fayssalelmofatiche
yfinance is not shipped by default (at least not yet).
When you install openbb you can do pip install openbb[yfinance] to get openbb with yfinance

Many thanks for the quick response, @piiq ! Indeed, installing openbb with all extensions and restarting the notebook did the trick 👍 .