FX trading signals with regression-based learning

Jupyter Notebook

Regression-based statistical learning helps build trading signals from multiple candidate constituents. The method optimizes models and hyperparameters sequentially and produces point-in-time signals for backtesting and live trading. This post applies regression-based learning to macro trading factors for developed market FX trading, using a novel cross-validation method for expanding panel data. Sequentially optimized models consider nine theoretically valid macro trend indicators to predict FX forward returns. The learning process has delivered significant predictors of returns and consistent positive PnL generation for over 20 years. The most important macro-FX signals, in the long run, have been relative labor market trends, manufacturing business sentiment changes, relative inflation expectations, and terms of trade dynamics.

(more…)

Understanding dollar shortages and related market dynamics

A dollar shortage is a state of FX and rates markets where covered interest rate parity between the U.S. and another currency area would result in excess dollar demand. Covered interest rate parity is the equality for short-term interest rate differentials and FX forward implied carry. Since the great financial crisis, arbitrage between onshore and offshore dollar credit markets through FX swaps has been impaired. In contrast, the dollar’s dominance in international transactions has remained intact. The consequence of market segmentation and dollar dominance has been sporadic dollar shortfalls in times of market turmoil or tightening financial conditions: a rush for liquidity turns into a net “dash for dollars,” and dollar rates in the offshore market rise above those in the onshore markets. Since higher dollar rates in the offshore market drive both offshore borrowers and lenders to buy dollars in the FX spot market directly, the dollar appreciates, at least temporarily.

(more…)

Advanced FX carry strategies with valuation adjustment

Jupyter Notebook

FX forward-implied carry is a popular ingredient in currency trading strategies because it is related to risk premia and implicit policy subsidies. Its signal value can often be increased by considering inflation differentials, hedging costs, data outliers, and market restrictions. However, even then, FX carry is an imprecise and noisy signal, and previous research has shown the benefits of enhancements based on economic performance (view post here). This post analyses the adjustment of real carry measures by currency over- or undervaluation. As a reference point, it uses point-in-time metrics of purchasing power parity-based valuation estimates that are partly or fully adjusted for historical gaps. The adjustment is conceptually compelling and has historically increased the performance of carry signals across a variety of strategies.

(more…)

Pure macro FX strategies: the benefits of double diversification

Jupyter Notebook

Pure macro(economic) strategies are trading rules that are informed by macroeconomic indicators alone. They are rarer and require greater analytical resources than standard price-based strategies. However, they are also more suitable for pure alpha generation. This post investigates a pure macro strategy for FX forward trading across developed and emerging countries based on an “external strength score” considering economic growth, external balances, and terms-of-trade.

Rather than optimizing, we build trading signals based on the principles of “risk parity” and “double diversification.” Risk parity means that allocation is adjusted for the volatility of signals and returns. Double diversification means risk is spread over different currency areas and conceptual macro factors. Risk parity across currency signals diminishes vulnerability to idiosyncratic country risk. Risk parity across macroeconomic concepts mitigates the effects of the seasonality of macro influences. Based on these principles, the simplest pure macro FX strategy would have produced a long-term Sharpe ratio of around 0.8 before transaction costs with no correlation to equity, fixed income, and FX benchmarks.

(more…)

FX trend following and macro headwinds

Jupyter Notebook

Trend following can benefit from consideration of macro trends. One reason is that macroeconomic data indicate headwinds (or tailwinds) for the continuation of market price trends. This is particularly obvious in the foreign-exchange space. For example, the positive return trend of a currency is less likely to be sustained if concurrent economic data signal a deterioration in the competitiveness of the local economy. Macro indicators of such setback risk can slip through the net of statistical detection of return predictors because their effects compete with dominant trends and are often non-linear and concentrated. As a simple example, empirical evidence shows that standard global FX trend following would have benefited significantly merely from adjusting for changes in external balances.

(more…)

Terms of trade as FX trading signal

All other things equal, an improvement in a country’s terms of trade, the ratio of export to import prices, translates into increased demand for its currency and a boost for its growth outlook. However, terms of trade are a rather subtle and sporadic influence. Therefore, many market participants are rationally inattentive to smaller changes and unwilling to trade on large changes in times of turmoil. This points to investor value in the systematic consideration of monthly or annual terms-of-trade dynamics, which can be approximated by commodity-based export and import price indices. Empirically, standard terms-of-trade dynamics have indeed predicted FX returns positively since 2000, across developed and emerging market countries. However, while this relation has been fairly stable in the developed world since 2000, for emerging markets the trading value of terms-of-trade indicators has only become evident since the great financial crisis.

(more…)

Modified and balanced FX carry

Jupyter Notebook

There are two simple ways to enhance FX carry strategies with economic information. The first increases or reduces the carry signal depending on whether relevant economic indicators reinforce or contradict its direction. The output can be called “modified carry”. It is a gentle adjustment that leaves the basic characteristics of the original carry strategy intact. The second method equalizes the influence of carry and economic indicators, thus diversifying over signals with complementary strengths. The combined signal can be called “balanced carry”. An empirical analysis of carry modification and balancing with economic performance indicators for 26 countries since 2000 suggests that both adjustments would have greatly improved the performance of vol-targeted carry strategies. Modified carry would also have improved the performance of hedged FX carry strategies.

(more…)

FX trades after volatility shocks

Currency areas with negative external balances are – all other things equal – more vulnerable to financing shocks. Jumps in market price volatility often indicate such shocks. Realistically it takes a few days for the market to fully price the consequences of shocks consistently across currencies. Hence, the products of external balances-based “resilience scores” and volatility shocks are plausible indicators of “post-shock currency hazards”. This means that they should serve as signals for differences in currency returns after market volatility has surged or dropped. An empirical analysis based on 28 currencies since 2000 shows that a most simple “post-shock currency hazard” measure has significantly helped predict subsequent short-term returns and would have added positive PnL to FX trading strategies, particularly in times of turbulence.

(more…)

Economic growth and FX forward returns

Economic growth differentials are plausible predictors of foreign exchange return trends because they are related to differences in monetary policy and return on investment. Suitable metrics for testing growth differentials as trading signals must replicate historic information states. Two types of such metrics based on higher-frequency activity data are [i] technical GDP growth trends, based on standard econometrics, and [ii] intuitive GDP growth trends, mimicking intuitive methods of market economists. Both types have predicted FX forward returns of a set of 28 currencies since 2000.
For simple growth differentials, the statistical probability of positive correlation with subsequent returns has been near 100% with a quite stable relationship across time. Excess growth trends, relative to potential growth proxies, would have been more appropriate predictors for non-directional (hedged) FX forward returns. Correlations with hedged returns have generally been lower but accuracy has been more balanced. Finally, balanced growth differentials that emphasize equally the performance of output and external balances are theoretically a sounder predictor. Indeed, these indicators post even higher and more stable correlations with subsequent directional returns than simple growth differentials.

(more…)

How to use FX carry in trading strategies

FX forward-implied carry is a valid basis for trading strategies because it is related to divergences in monetary and financial conditions. However, nominal carry is a cheap and rough indicator: related PnLs are highly seasonal, sensitive to global equity markets, and prone to large drawdowns. Simple alternative concepts such as real carry, interest rate differentials, and volatility-adjusted carry metrics have specific benefits but broadly fail to mitigate these shortcomings. However, the consideration of a market beta premium, adjustment for inflation expectations, and the consideration of other macro-quantamental factors make huge positive differences. Not only do these modifications greatly enhance the theoretical plausibility of value generation, but they also would have almost doubled the PnL generation over the past 20 years, removed most of its equity market dependence, and greatly reduced seasonality.

(more…)