Category: Investing Insight

Investing insight to make you a better investor.

Global Equities Momentum

A slice of Dual Momentum

Gary Antonacci created the Global Equities Momentum (GEM) model that applied dual momentum to stock and bond indices. It toggles between stocks and bonds using 12-month trailing returns. And when it toggles to “stocks,” it chooses between US equities and International (ex-US) equities based on whichever posted higher returns in the previous 12-months. The model uses the S&P 500 index as a stand-in for US equities and the WORLD ex USA index for international stocks.

Investors can use the ETFs SPY/VOO for the S&P 500, SCHF for World ex-US DMs and AGG for bonds while replicating this strategy.

The best part about this strategy is its simplicity. It takes just 3 inputs and anybody can set it up on Google Sheets. Execution is as simple as it gets because at any given point in time, it is long just one ETF. Also, given that it uses a 12-month look-back, it is less prone to whiplashes, resulting in a lower trading frequency.

Specifications & Expressions

When you automate systematic strategies, you need to nail down its exact specifications. In this case, they are mainly: inputs, look-back periods and traded instruments.

The original version of the Strategy uses the S&P 500 and World ex-US both for inputs and as proxies for the traded instruments. However, there is no reason why they both should be the same. Also, what is so magical about a 12-month look-back period anyway? Why can’t it be 6 -months, a month or an average of the last 6-months?

The Strategy only describes a broad idea with one set of Specifications and Expressions out of a multitude. It can (and should) be adapted to fit one’s risk profile and investment horizon.

The Momentum Expression

The easiest tweak to the original strategy is to swap out the traded equity instruments with their momentum counterparts.

At the final step, when it comes to executing the trade, you can use MTUM, the US Momentum ETF instead of SPY/VOO and IMTM, the DM ex-US Momentum ETF instead of SCHF.

Long-only momentum ETFs are highly correlated to their market-cap counterparts but have the potential to juice returns in bull-markets. Since we are trend-following anyway, why not go a step further up the risk-curve and embrace momentum as well?

This is the basic idea behind our Global Equities Momentum I strategy.

The Look-Back Specification

Picking a look-back for trend-following strategies is fraught with data-mining bias. One could potentially test 100s of periods and pick one that gave the best results historically. The data-mined look-back could even work in forward tests but inexplicably, and suddenly, fail in real portfolios.

The safest thing to do would be to not change the look-back periods outlined in the original research. However, the world would’ve changed since its first publication. How do you strike a balance between the two?

This is what we’ve tried to do in our Global Equities Momentum II strategy.

Long look-backs are slow at reacting to rapidly changing markets. Some might say that this is a bug while some might argue that this is a feature. Shorter look-backs, on the the other hand, can react faster but are prone to head-fakes and whiplashes.

The second version of our GEM strategy tries walk the fine line by taking the average of 6- through 12-month returns. It tries to hew close to the original research while acknowledging that the world has gotten faster since it was first published.

No Free Lunch

While the strategy adapts to the broad, slow-moving macro theme of US equity under-performance vis-à-vis rest-of-the-world (were it to occur,) it is not immune to getting whiplashed due to short and steep market dislocations like the COVID crash of March 2020. The strategy got into bonds just when the equity markets were recovering and stayed there until well-after. It is simply not possible to avoid all landmines when it comes to investing.

While we ran our back-tests, we tried a fair amount of permutations and combinations. Some where discarded in spite of having better risk-adjusted returns because they lacked internal consistency. While some slipped into data-mining territory in spite of our best efforts to avoid it. Readers interested in the process and the code can read through our GEM Collection.



Related: ETFs for Asset Allocation

Synthetic Indices

Popular indices, like NIFTY 50 & MIDCAP 150, are useful if you are benchmarking long-only portfolios. However, if you have a long-short portfolio, then you need a long-short benchmark.

When Are Contrarian Profits Due To Stock Market Overreaction? (Lo, MacKinlay, 1990) describes a naïve portfolio construction process that is fit for purpose.

For momentum, portfolio weights are in proportion of excess returns over an equal-weighted index and for mean-reversion, they are the inverse.

For example, if you subtract the returns of each of the components of the NIFTY 50 index with the returns of NIFTY 50 EQUAL-WEIGHT index and divide by 50, you end up with the portfolio weights for the next day. Each look-back period used to calculate returns will produce a different set of weights (and a different synthetic index.)

As impractical as constructing such a portfolio may seem, they are useful as a benchmark for long-short mean-reversion/momentum portfolios. Here are index returns since April 2020 with 20- and 50-day look-backs.

This is especially interesting if you are looking at market dislocations and subsequent recoveries. Here are indices since June 2019 with 5-, 20- and 50-day look-backs.

Counter-intuitively, naïve mean-reverting long-short seems to out-perform momentum.

ETFs for Asset Allocation

Building blocks for a diversified portfolio

Over the last few years, most brokers in the US have started offering no-frills accounts with zero-brokerage and fractional shares. However, new investors who are just getting started are either over-served by advisors or under-served by social media. In this post, we list out ETFs that every investor should be aware of if they are interesting in building a diversified portfolio.

We filtered for

  • Assets under management (AUM) – larger the better

  • Cost (expense ratio) – lower the better

  • Liquidity and popularity – higher the better

We cover equities, bonds, real-estate and commodities across the US, DM (Developed Markets) and EM (Emerging Markets.)


VTI

The Vanguard Total Stock Market Index Fund ETF is a $250 billion whale of a fund that is probably the only equity ETF a small-ticket first-time investor should consider.

Covering the entire US equity market, it is as passive as they come. With an expense ratio of 3bps (you pay $3 for every $10,000 investment,) it is the cheapest as well.

ETF, Vanguard

AGG

The iShares Core U.S. Aggregate Bond ETF is one of the largest bond ETFs on the planet with $90 billion in assets. It has everything from treasuries, agencies, CMBS and ABS to investment-grade corporates. You pay 4bps for the privilege.

Split your funds 60% into VTI and 40% into AGG and you basically have a portfolio that has traditionally outperformed 99% of the hedge funds out there.

ETF, iShares


With the Big Two out of the way, if you still have some risk appetite and time on your hands, you can reach out for more returns (potentially.)

SCHF

The Schwab International Equity ETF tracks all Developed Markets other than the US. With an AUM of $27 billion and an expense ratio of 6bps, it is a decent equity fund if you feel that US stocks are over valued.

Its largest exposure is to Japanese stocks followed by British, France, Germany, Canada and Switzerland. Unlike some other funds in this space, it also includes South Korea.

One caveat though, the fund is not currency hedged. The topic of buying hedged vs. unhedged ETFs is a topic that we will not get into right now. Suffice to say that hedging is not free – it is a price you pay to insulate yourself from fluctuations and you should weigh the cost vs. its benefits over your investment time horizon.

ETF, Schwab

BNDX

The Vanguard Total International Bond ETF provides exposure to Developed Market (ex-US) investment-grade government and corporate bonds. It is a monster of a fund with $136 billion in assets. An 8bps expense ratio is a wonderful bargain.

The fund is currency hedged.

ETF, Vanguard


We are not fans big fans of EM/FM (Emerging/Frontier Markets) investing from the US through ETFs. In the recent past, these markets have only been a source of risk and not returns. Gains in local currencies, when converted to US Dollars, haven’t compensated for the additional risk. However, for investors who believe that the future is going to be different, these ETFs are worth considering.

EEM, EMXC and FRDM

The iShares MSCI Emerging Markets ETF is perhaps the largest in this space. $32 billion in AUM and a 70bps expense ratio, it is the go-to ETF for EM investors.

However, the wrinkle is that Hong Kong and China form more than 37% of the portfolio. For investors worried about geopolitical risk, this may be a point of concern. This is where EMXC comes in.

The iShares MSCI Emerging Markets ex China ETF is a minnow by comparison (less than $1 billion in AUM) but it doesn’t include China and Hong Kong, making it palatable. However, there’s another wrinkle while investing in EM – some of those countries are ruled by despots. What if you want to invest in EMs that are democratic and respect personal freedom? Enter FRDM.

The Freedom 100 Emerging Markets ETF tracks the Life + Liberty Freedom 100 Emerging Markets Index. The Index is a freedom-weighted EM equity strategy that uses human and economic freedom metrics as primary factors in the investment selection process. And this means excluding China, Hong Kong and India – 3 of the largest markets in EM.

ETF, iShares

EMB

The iShares JP Morgan USD Emerging Markets Bond ETF an index of US-dollar-denominated sovereign debt issued by EM countries. It holds USD-denominated rather than local-currency debt. This eliminates direct currency risk for US investors. With $20 billion in AUM and an expense ratio of 39bps, its an attractive fund for investors looking to diversify into EM bonds.

ETF, iShares


Now that we have equities and bonds out the way, lets look at real estate. A REIT is a publicly traded security that invests in real estate through properties or mortgages. For the most part, in the past, their returns were correlated to interest rates. From investopedia: In a study done by the S&P, which analyzed six periods beginning in the 1970s where the yield of the 10-year Treasury grew significantly, of these six periods of interest rate increases, REIT returns increased during four of them.

VNQ and VNQI

VNQ, The Vanguard Real Estate ETF has about $75 billion in AUM and charges 12bps. It captures much of the US real estate market.

VNQI, Vanguard Global ex-U.S. Real Estate ETF has about $5 billion in assets and an order-of-magnitude larger than the closest alternative. It contains property companies from both developed and emerging countries, excluding the United States. Japan, China and Hong Kong are the top three geographies where it invests. Like with any other EM/FM investments, caveat emptor!


Some investors view gold as a tail-risk and inflation hedge and some prefer to add commodities to their portfolio to ride on emerging market demand. While it is debatable whether these assets live up to their expectations in the future, there have been lengthy stretches in the past where gold and commodities have outperformed other asset classes.

GLD and PDBC

GLD tracks the gold spot price, less expenses and liabilities, using gold bars held in London vaults. With about $65 billion in management and 40bps in expense ratio, its probably the best way to add exposure to the yellow metal in your portfolio.

PDBC holds a diverse basket of futures contracts on 14 commodities across the energy, precious metals, industrial metals and agriculture sectors. Has about $6 billion in AUM and its 59bps expense ratio is a bargain compare to the effort involved in actively managing a futures portfolio in a tax-efficient manner.


There are over 2500 ETFs listed in various US stock exchanges. We hope that our short list of 12 ETFs above helps investors get started. Do watch the discussion below:


Already have a basic portfolio and looking for quantitative strategies on US stocks and ETFs? Head over to freefloat.us

Transfer Entropy

In investing, we are always trying to find the relationship between two entities. For example, to hedge a long portfolio, we typically calculate the “beta” with respect to an index and use that to go short the index. Here, the biggest assumption is that the relationship is linear (or at least, piecewise linear.)

However, relationships in finance are typically non-linear. Using the math behind calculating entropy is one way to overcome the “beta” problem.

Introduction

From Wikipedia: Transfer entropy is a non-parametric statistic measuring the amount of directed (time-asymmetric) transfer of information between two random processes.

It tries to answer a simple question: what the effect of one entity over another, given a lag?

From StackExchange: TE(X↦Y)=0.624 means that the history of the X process has 0.624 bits of additional information for predicting the next value of Y. (i.e., it provides information about the future of Y, in addition to what we know from the history of Y). Since it is non-zero, you can conclude that X influences Y in some way.

Quick Look

Luckily, both R and python have libraries that help calculate transfer entropies between two variables.

Here’s the TE between Stock Futures and the NIFTY with a 500 day lookback and a single-day lag. FLOW_TO is a measure of information flow from the stock to the index and FLOW_FROM is the opposite direction.

Next Steps

This has interesting applications in portfolio risk management. Instead of calculating beta and hoping for the best, we could use TE to get a better understanding of how the individual constituents are affected by the index and hedge only those that have large values.

This post was inspired by Concepts of Entropy in Finance: Transfer entropy. Code and images for this post are on Github.

DeFi for the rest of us

How zoomers trade baseball cards for Furbies

DeFi stands for Decentralized Finance.

Decentralized: Ideally, any single entity should not be able to stop the process or program or system in question. It’s running on some unstoppable system where anyone can execute operations.

Finance: Savings, Loans, Exchanges, Margin Trading, Synthetic Assets (Equities, for example), Lotteries, Insurance, Collateralized Debt Obligations (why not?), and such.

Before the advent of Bitcoin/Ethereum, financial products were run on a computer that some entity controlled. This entity had a physical address, and could be visited by law enforcement or regulators or more generally, whom I call “men with guns”. Bitcoin/Ethereum run on so many computers that it’s not possible for men with guns to stop it. Smart contracts running on Ethereum are hard to take physical control of – and stop, or modify unilaterally by men with guns. This is the decentralization that we are interested in. Because of this, we have “unstoppable programs”, at least in theory.

First, a simple example of where these “unstoppable programs” come in. Let’s say you want to buy some Ether. You could submit your KYC details to a centralized exchange like Coinbase or Kraken and get an account. You then wire-transfer some dollars to their bank account, with some routing instructions so that the money goes to your account. You wait for the dollars to show up in your dashboard, and then buy some Ether with it. You could let the Ether stay there (like how you let your money stay in a real world bank) or you could self-custody by transferring the Ether out to your own hardware wallet. Like you withdraw cash from a bank and self-custody under a mattress, for example.

Decentralized Exchange

BUT! Coinbase and its ilk are still “centralized” and men with guns can make them block your account. What then?

Enter DEX’es, or decentralized exchanges. Uniswap is one such DEX. It’s a set of smart contracts that run on the Ethereum network. The specific Uniswap smart contract that accepts USD and gives back Ether is located at the address 0xb4e1…c9dc on the Ethereum blockchain’s “main-net”. Think of it as the unchanging IP address of the smart contract on the Internet. If you make a request to this smart contract with some USD, and it returns some Ether to your address. Think of it as making a web-search request to Google.com with a query and getting back 10 blue links as the result. But to start this process, you need to have USD in a form that the smart contract can accept. Enter Stablecoins.

Stablecoins

Stablecoins are tokens that 1:1-track external fiat currencies like the US Dollar or Euro, external (to the system in question) cryptocurrencies like Bitcoin. This token system is implemented as an ERC-20 token (which I explained in my post on NFT’s).

Take USDC for example, which is a stablecoin that tracks the US Dollar. Every token minted by the USDC smart contract can be redeemed for $1. How do you mint a USDC token? You create an account on Coinbase, you transfer USD to it, and you buy 1 USDC for 1 USD. This 1 USDC is an ERC-20 token that can be transferred from your Coinbase account to your computer, or some other contract, or exchanged on Uniswap for something else. The 1 USD you owned earlier is now on the Ethereum blockchain in the form of 1 USDC. To redeem this 1 USDC back to 1 USD, you transfer this USDC back to your Coinbase account, and sell if for 1 USD. Note again, that there is no USD, ever, on the Ethereum blockchain. Ethereum does not know about USD at all. All it knows is USDC. Coinbase is your bridge from the real world to the ethereal world.

Coinbase is able to redeem USDC to USD because they have a traditional bank account somewhere that stores the USD that backs the USDC.

Coming back to our earlier use case: now that you have USDC on Ethereum, you can use the Uniswap contract to buy Ether with it, without going through Coinbase for the swap. But hey, we had to go to Coinbase to buy USDC in the first place. So, didn’t we just move the trusted third party from the exchange to the stablecoin issuer? We did. But it’s not that bad. You can get USDC without going to Coinbase as well – it’s just an ERC-20 token that anyone can transfer to you on the Ethereum blockchain without permission from anyone else. And you can use this to exchange to any other token on Uniswap without anyone’s permission as well. If more and more of the economy “moves on chain”, the on and off ramps to fiat currencies like USD will become less important. But for now, someone, somewhere has to store 1 USD in a bank account to be able to generate the equivalent stablecoin “on chain”.

Automated Market Makers

So, how does Uniswap know the exchange rates for every token pair that it allows us to trade with? Each token-pair is run as a smart contract, where you can make function calls to swap one token for another. The smart contract also has a liquidity pool under its control which stores both the tokens in some ratio, and this ratio is used to infer the market price. The assumption is that if this ratio goes out of sync with the external market price, arbitrageurs will trade in the other direction to take tiny profits and revert the pool ratio back to reflect external market price. Users with excess liquidity in any token can fund these liquidity pools and take a small cut of each trade that hits their liquidity pool. We now have a liquidity provider who can get some yield on their capital. Notice that this system of smart contracts is not relying on any external data to be ingested into the system. The exchange rate between token is entirely set by market dynamics.

Let’s say you wanted to provide liquidity to the token pair ABC-XYZ on Uniswap, but you have neither token with you. On the other hand, you have more than enough Bitcoin that you want to HODL and not want to sell. Can we use this Bitcoin as collateral to get a loan of some ABC tokens that you can then use to fund the ABC-XYZ Uniswap pool? Enter DeFi loans.

Loans

In the traditional world of finance, loans are given out to parties with good credit rating, and defaults are prevented/mitigated by a combination of social pressure of reputational damage, law enforcement, liquidation of other assets, or such. In the world of cryptocurrencies, the users have just one identity – a public key, which looks like this: 0x12cb…Tu3S. How do you cause reputational damage to this public key? Traditional default protection ideas fail here. So most crypto-loans are, for that reason, over-collateralized.

You want to borrow 100 tokens of ABC? You put up 150 ABC worth of Bitcoin as collateral, and then you take 100 ABC. As long as the smart contract can convince itself that the loan remains over-collateralized, you are good. If the value of Bitcoin goes down, you are expected to put up more collateral – or risk being liquidated.

Why would someone borrow an amount of X by pledging a collateral of 1.5X? Well, one obvious reason is that the borrowed token is more useful than the collateral token. It could be that the borrowed token is undervalued by the market vis-à-vis the collateral token. It could be that the borrower knows that the collateral token will tank in value the next day, and wants to willfully default on the loan. It’s all possible.

What next?

“TradFi” could get disrupted by “DeFi” because of how automated these smart contracts are, and how they can easily build on top of each other. Everything is an API, and API’s are open.

On the other hand, men with guns could mess with the trusted third parties that, say, back stablecoins – and take down the whole system.

Or, they could just run in this little corner of the general financial ecosystem, and everyone wins.


Looking for a sensible way to invest? Here’s how to get started.