Skip to content

FinanceToolkit v1.2.2

Compare
Choose a tag to compare
@JerBouma JerBouma released this 13 Aug 11:22
· 613 commits to main since this release

This release introduces growth metrics. This allows any financial statement, ratio or model to also be viewed as growth metrics. Next to that, with the lag parameter multiple periods can be defined. This is now also updated in the Example files. Lastly, the historical data output now also calculates returns.

For example:

from financetoolkit import Toolkit

API_KEY = "FMP_KEY"

companies = Toolkit(
    ["AAPL", "MSFT", "GOOGL", "AMZN"], api_key=API_KEY, start_date="2000-01-01"
)

companies.get_income_statement(growth=True)

Which returns:

image

And an example for ratios with multiple lags:

from financetoolkit import Toolkit

API_KEY = "FMP_KEY"

companies = Toolkit(
    ["AAPL", "MSFT", "GOOGL", "AMZN"], api_key=API_KEY, start_date="2000-01-01"
)

companies.ratios.collect_all_ratios(growth=True, lag=[1, 2, 3])

Which returns:

image