github JerBouma/FinanceToolkit v1.2.2
FinanceToolkit v1.2.2

latest releases: v2.0.6, v2.0.5, v2.0.4...
2 years ago

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

Don't miss a new FinanceToolkit release

NewReleases is sending notifications on new releases.