Total Fixed Investment
Get the Fixed Investment for a variety of countries over time from the Global Macro Database (GMDB). Fixed Investment is the total amount of money spent by businesses on capital goods, such as machinery, equipment, and buildings that are expected to last for more than one year.
The level is annual and expressed in millions of national currency, so levels are not comparable across countries with different currencies, but growth rates are.
Data comes from the Global Macro Database (GMDB), further information about the variable can be found within https://www.globalmacrodata.com/documentation.html
Also known as: gross fixed capital formation, capital investment.
No programming experience? With the Finance Toolkit MCP server, AI assistants such as Claude and ChatGPT can calculate the Total Fixed Investment for you. Just ask in plain English.
Calculate the Total Fixed Investment in Python
The Total Fixed Investment is available in the Economics module of the open-source Finance Toolkit. Install it with:
pip install financetoolkit -U
Then call get_fixed_investment as shown below.
from financetoolkit import Economics
economics = Economics(start_date='2020-01-01')
fixed_investment = economics.get_fixed_investment()
fixed_investment.loc[:, ['United Kingdom', 'Germany', 'France']]
Which returns:
| United Kingdom | Germany | France | |
|---|---|---|---|
| 2020 | 362076 | 736476 | 520134 |
| 2021 | 398052 | 779205 | 588983 |
| 2022 | 443416 | 858253 | 628022 |
| 2023 | 469685 | 899880 | 651792 |
| 2024 | 473070 | 897275 | 657075 |
| 2025 | 482008 | 925002 | 674350 |
Parameters
get_fixed_investment accepts the following parameters:
- countries (list[str] | str | None, optional): A list of countries or a single country to include in the results. Defaults to None.
- rolling (int, optional): The rolling window size to use for smoothing the data (simple moving average). Defaults to None.
- trailing (int, optional): The trailing window size to use for summing the data over trailing periods (e.g. a trailing-4-quarter sum). Defaults to None.
- growth (bool, optional): Whether to return the growth data or the actual data. Defaults to False.
- lag (int, optional): The number of periods to lag the growth data. Defaults to 1.
- standardize (bool, optional): Whether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.
- rounding (int | None, optional): The number of decimals to round the results to. Defaults to None.
Related Government
The Economics module page introduces the module, and the sidebar lists all of its functions.