FinanceToolkit v1.2.2
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:
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: