OpenBB-finance / OpenBBTerminal

Investment Research for Everyone, Everywhere.

Home Page:https://openbb.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]Cannot load stock prices

msh855 opened this issue · comments

I am using the following code taken from platform's example:


import pandas as pd
from openbb import obb
df_daily = obb.equity.price.historical(symbol = "spy", provider="yfinance")
df_daily.to_df().head(1)

But I get this error:

image

pip install openbb-yfinance

Thanks. It worked, but is getting very confusing

The documentation needs to be clear on this especially on what we are (or not) installing with pip install openbb

Hi,

I'm closing this issue because it's not a bug. Feel free to re-open as an Improvement Issue if you think the explanation here needs to be expanded on.

What is not clear is the symbols. Is it assumed that symbols depend on providers ?

So, if I use yfinance the symbols of each stock are the tickers from yfinance. Similarly, if I use fmp as my provider, the symbol for each stock come from fmp