Inventory Investment
The Inventory Investment of Thomas and Zhang (2002) is the change in the inventory over a year, relative to the average total assets. Thomas and Zhang find that the inventory changes drive most of the accrual anomaly: companies that build up inventory earn lower returns afterwards.
The formula for the Inventory Investment is as follows:
\[\text{Inventory Investment} = \frac{\Delta\text{Inventory}}{\text{Average Total Assets}}\]Where Delta is the change over a year and the Average Total Assets the average of the total assets at the start and the end of that year. A fall in the inventory gives a negative value, which Thomas and Zhang find goes with higher returns afterwards.
Companies that invest more earn lower returns afterwards. In the investment-based view of asset pricing, a lower cost of capital makes more projects worth investing in, so heavy investment goes with low expected returns. Investment in physical assets and in inventory both carry this effect.
Also known as: ChInv, inventory changes, change in inventory to assets.
In the Finance Toolkit this is get_investment_to_assets with method="inventory", the same function as Investment to Assets.
Example · AAPL, MSFT, META, XOM · 2021 to 2025
Install the Finance Toolkit with pip install financetoolkit -U, then call get_investment_to_assets:
from financetoolkit import Toolkit
toolkit = Toolkit(
["AAPL", "MSFT", "META", "XOM"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
toolkit.ratios.get_investment_to_assets(method="inventory")
| Parameter | Type | Description | Example |
|---|---|---|---|
method | str | The investment. Options are: “physical” (Investment to Assets), “inventory” (Inventory Investment). Defaults to “physical”. | "physical" |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise). | 2 |
growth | bool | Whether to calculate the growth of the ratios. Defaults to False. | True |
lag | int | list[int] | The lag to use for the growth calculation. Defaults to 1. | 4 |
compound | bool | Whether the growth is the compound annual growth rate over the lag (e.g. lag=5 for the five-year CAGR) instead of the total change. Defaults to False. | False |
standardize | bool | Whether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False. | True |
transform | str | list[str] | None | Time series steps applied in order, such as “sma:12” (moving average), “ema:12”, “std:12”, “zscore:60”, “percentile:120”, “yoy”, “pct_change:3,annualize:3”, “log”, “diff”, “cumsum” or “hp_trend” and “hp_cycle” (Hodrick-Prescott), before growth. A window needs that many periods of history, so the first periods can be empty. Defaults to None. | None |
show_columns | str | list[str] | None | The columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column. | None, which keeps every column |
Which returns:
| Item | 2021 | 2022 | 2023 | 2024 | 2025 |
|---|---|---|---|---|---|
| AAPL | 0.0075 | -0.0046 | 0.0039 | 0.0027 | -0.0043 |
| META | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| MSFT | 0.0023 | 0.0032 | -0.0032 | -0.0027 | -0.0005 |
| XOM | -0.0002 | 0.0160 | 0.0018 | -0.0038 | 0.0062 |
4 rows
References
- Paper Thomas, J. K. and H. Zhang (2002). “Inventory Changes and Future Returns.” Review of Accounting Studies, 7(2-3), 163-187.