Using principal components to construct macro trading signals

Jupyter Notebook

Principal Components Analysis (PCA) is a dimensionality reduction technique that condenses the key information from a large dataset into a smaller set of uncorrelated variables called “principal components.” This smaller set often functions better as features for predictive regressions, stabilizing coefficient estimates and reducing the influence of noise. In this way, principal components can improve statistical learning methods that optimize trading signals.

This post shows how principal components can serve as building blocks of trading signals for developed market interest rate swap positions, condensing the information of macro-quantamental indicators on inflation pressure, activity growth, and credit and money expansion. Compared to a simple combination of these categories, PCA-based statistical learning methods have produced materially higher predictive accuracy and backtested trading profits. PCA methods have also outperformed non-PCA-based regression learning. PCA-based statistical learning in backtesting leaves little scope for data mining or hindsight, and the discovery of trading value has high credibility.

(more…)

Macro information changes as systematic trading signals

Jupyter Notebook

Macro information state changes are point-in-time updates of recorded economic developments. They can refer to a specific indicator or a broad development, such as growth or inflation. The broader the economic concept, the higher the frequency of changes. Information state changes are valuable trading indicators. They provide daily or weekly signals and naturally thrive in periods of underestimated escalatory economic change, adding a layer of tail risk protection.
This post illustrates the application of information state changes to interest rate swap trading across developed and emerging markets, focusing on six broad macro developments: economic growth, sentiment, labour markets, inflation, and financing conditions. For trading, we introduce the concept of normalized information state changes that are comparable across economic groups and countries and, hence, can be aggregated to local and global signals. The predictive power of aggregate information state changes has been strong, with material and consistent PnL generation over the past 25 years.

(more…)

Cross-country equity futures strategies

Jupyter Notebook

Developing macro strategies for cross-country equity futures trading is challenging due to the diverse and dynamic nature of equity indices and the global integration of corporations. This complexity makes it difficult to align futures prices with country-specific economic factors. Therefore, success in cross-country macro trading often relies on differentiating indicators related to monetary policy and corporate earnings growth in local currency. Additionally, cross-country strategies benefit from a broad and diverse set of countries to generate value consistently.
We tested five simple, thematic, and potentially differentiating macro scores across a panel of 16 developed and emerging markets. Our findings suggest that a straightforward, non-optimized composite score could have added significant value beyond a risk-parity exposure to global equity index futures. Furthermore, a purely relative value equity index futures strategy would have produced respectable long-term returns, complementing passive equity exposure.

(more…)

Macro-quantamental scorecards: A Python kit for fixed-income markets

 Jupyter Notebook

Macro-quantamental scorecards are condensed visualizations of point-in-time economic information for a specific financial market. Their defining characteristic is the combination of efficient presentation and evidence of empirical power. This post and the accompanying Python code show how to build scorecards for duration exposure based on six thematic scores: excess inflation, excess economic growth, overconfidence, labour market tightening, financial conditions, and government finance. All thematic scores have displayed predictive power for interest rate swap returns in the U.S. and the euro area over the past 25 years. Since economic change is often gradual and requires attention to a broad range of indicators, monitoring can be tedious and costly. The influence of such change can, therefore, build surreptitiously. Macro-quantamental scorecards cut information costs and attention time and, hence, improve the information efficiency of the investment process.

(more…)

How to adjust regression-based trading signals for reliability

Jupyter Notebook

Regression-based statistical learning is convenient for combining candidate trading factors into single signals (view post here). Models and signals are updated sequentially using expanding time windows of empirical evidence and offering a realistic basis for backtesting. However, simple regression-based predictions disregard statistical reliability, which tends to increase as time passes or decrease after structural breaks. This short methodological post proposes signals based on regression coefficients adjusted for statistical precision. The adjustment correctly aligns intertemporal risk-taking with the predictive power of signals. PnLs become less seasonal and outperform as sample size and statistical quality grow.

(more…)

Inventory scores and metal futures returns

Jupyter Notebook

Inventory scores are quantamental (point-in-time) indicators of the inventory states and dynamics of economies or commodity sectors. Inventory scores plausibly predict base metal futures returns due to two effects. First, they influence the convenience yield of a metal and the discount at which futures are trading relative to physical stock. Second, they predict demand changes for restocking by producers and industrial consumers. Inventory scores are available for finished manufacturing goods and base metals themselves. An empirical analysis for 2000-2024 shows the strong predictive power of finished goods inventory scores and some modest additional predictive power of commodity-specific inventory scores.

(more…)

Macro trends and equity allocation: a brief introduction

Jupyter Notebook

Macroeconomic trends affect stocks differently, depending on their lines of business and their home markets. Hence, point-in-time macro trend indicators can support two types of investment decisions: allocation across sectors within the same country and allocation across countries within the same sector. Panel analysis for 11 sectors and 12 countries over the last 25 years reveals examples for both. Across sectors, export growth, services business sentiment, and consumer confidence have predicted the outperformance of energy stocks, services stocks, and real estate stocks, respectively. Across countries, relative export growth, manufacturing sentiment changes, and financial conditions have predicted the outperformance of local stocks versus foreign ones for the overall market and within sectors.

(more…)

Equity market timing: the value of consumption data

Jupyter Notebook

The dividend discount model suggests that stock prices are negatively related to expected real interest rates and positively to earnings growth. The economic position of households or consumers influences both. Consumer strength spurs demand and exerts price pressure, thus pushing up real policy rate expectations. Meanwhile, tight labor markets and high wage growth shift national income from capital to labor.
This post calculates a point-in-time score of consumer strength for 16 countries over almost three decades based on excess private consumption growth, import trends, wage growth, unemployment rates, and employment gains. This consumer strength score and most of its constituents displayed highly significant negative predictive power with regard to equity index returns. Value generation in a simple equity timing model has been material, albeit concentrated on business cycles’ early and late stages.

(more…)

Sovereign debt sustainability and CDS returns

Selling protection through credit default swaps is akin to writing put options on sovereign default. Together with tenuous market liquidity, this explains the negative skew and heavy fat tails of generic CDS (short protection or long credit) returns. Since default risk depends critically on sovereign debt dynamics, point-in-time metrics of general government debt sustainability for given market conditions are plausible trading indicators for sovereign CDS markets and do justice to the non-linearity of returns. There is strong evidence of a negative relation between increases in predicted debt ratios and concurrent returns. There is also evidence of a negative predictive relation between debt ratio changes and subsequent CDS returns. Trading these seems to produce modest but consistent alpha.

(more…)

Macro demand-based rates strategies

Jupyter Notebook

The pace of aggregate demand in the macroeconomy exerts pressure on interest rates. In credible inflation targeting regimes, excess demand should be negatively related to duration returns and positively to curve-flattening returns. Indeed, point-in-time market information states of various macro demand-related indicators all have helped predict returns of directional and curve positions in interest rate swaps across developed and emerging markets. The predictive power of an equally weighted composite demand score has been highly significant at a monthly or quarterly frequency and the economic value of related strategies has been sizeable.

(more…)