JerBouma / FinanceToolkit

Transparent and Efficient Financial Analysis
https://www.jeroenbouma.com/projects/financetoolkit
MIT License
2.96k stars 355 forks source link

[IMPROVE] No data found for the following tickers: AAPL #153

Closed VictorRotrip closed 2 months ago

VictorRotrip commented 2 months ago

Greetings,

I went with this code as a sort of first try (using a free api-key from fmp):

!pip install financetoolkit -U
from financetoolkit import Toolkit

companies = Toolkit(
    tickers=['AAPL'],
    api_key="mykey",
)

companies.get_revenue_geographic_segmentation()

However, I got the message: "No data found for the following tickers: AAPL".

What am I missing?

JerBouma commented 2 months ago

The function you are using here is a Premium function, that is why. It should have told you in a print statement, if it doesn't I'll add it in later.

See: https://www.jeroenbouma.com/projects/financetoolkit/docs#get_revenue_geographic_segmentation