Quant Mashup
Quantocracy is now on Bluesky and Threads. See the links in the header. - Mike
Fundamental Momentum, the Carry Trade, and Currency Returns [Alpha Architect]
Momentum in prices is the tendency of assets that have performed well recently (such as over the prior year) to outperform assets in the same asset class that have performed poorly over the prior year. For a more thorough review of momentum check out this post by Wes Gray. This phenomenon has been
- 4 years ago, 23 Jul 2020, 09:09pm -
The importance of testing different exits [Alvarez Quant Trading]
When developing a strategy, exits are often not given a second thought. If you are creating a mean reversion, you may default to using Close greater than the 2-period RSI. If you are trading a trend strategy, you may default to trailing exit using 14-day ATR. You try a bunch of entry filters but
- 4 years ago, 22 Jul 2020, 12:47pm -
The secret sauce that makes Deep Learning frameworks so powerful [Quant Dare]
Inside most of the Deep Learning frameworks that are available lies a powerful technique called Automatic Differentiation. If you ever encountered these words but don’t know what they mean or how this procedure works, this post is for you. In a previous post, we saw how to built a deep learning
- 4 years ago, 22 Jul 2020, 11:06am -
A Simple Neural Network for Indicator Prognosis [Philipp Kahler]
Technical indicators are the base of algorithmic trading. So wouldn’t it be nice to know tomorrows indicator value in advance? This article is about how to use a simple neural network to do so. Python and Tradesignal will be used to do the programming. A single linear neuron A single neuron /
- 4 years ago, 21 Jul 2020, 11:16pm -
EM Equities vs Debt: Same, Same, but Different? [Factor Research]
Some EM asset classes are highly correlated, to the point they can almost be considered interchangeable EM equities and hard-currency government debt are highly correlated to US equities and bonds In crisis times, all EM exposure is sold off and fails to provide meaningful diversification benefits
- 4 years ago, 21 Jul 2020, 11:15pm -
What is Impact Investing? [Alpha Architect]
Can we do impact investing that is both good for us and tastes better? In the past, if an investment had positive non-financial outcomes (positive impact), a return trade-off was expected. Today, some investors find that incorporating aspects such as diversity, stakeholders, and environmental
- 4 years ago, 21 Jul 2020, 11:15pm -
Machine Learning Model Validation [Only VIX]
I just came across an excellent and highly relevant piece of research "A comparison of machine learning model validation schemes for non-stationary time series data" by Matthias Schnaubelt. Features like non-stationarity, concept drift, and structural breaks present serious modelling
- 4 years ago, 18 Jul 2020, 10:13am -
Research Review | 17 July 2020 | Smart Beta Revisited [Capital Spectator]
The Smart Beta Mirage Shiyang Huang (University of Hong Kong), et al. June 2020 We document sharp performance deterioration of smart beta indexes after the corresponding smart beta ETFs are listed for investments. Adjusted by aggregate market return, the average return of smart beta indexes drops
- 4 years ago, 18 Jul 2020, 10:13am -
ESG Scores and Price Momentum Are More Than Compatible [Quantpedia]
Momentum in stocks is not only a key strategy in the many portfolios of practitioners, but it is also an attractive research topic for academics. The original idea behind momentum, is that past winner tend to perform well in the near future, and vice versa, past loser tend to underperform (Jegadeesh
- 4 years ago, 16 Jul 2020, 12:31pm -
Backtesting Basics: Four biases to know by heart [Auquan]
In God we trust. All others must bring data. Backtesting is probably the single best method we have to quickly evaluate new trading strategies. However, if used incorrectly it can be our greatest weakness — guiding us on a false path to ruin. For the uninitiated, backtesting is the process where
- 4 years ago, 16 Jul 2020, 12:30pm -
Installing TensorFlow 2.2 on Ubuntu 18.04 with an Nvidia GPU [Quant Start]
Earlier in the year we carried out our 2020 QuantStart Content Survey and Advanced Machine Learning & Deep Learning was voted the most popular topic. This article constitutes the first in a series on the topic of modern machine learning via deep learning as applied to systematic trading
- 4 years ago, 16 Jul 2020, 12:29pm -
Forex Intraday Seasonality [Dekalog Blog]
Over the last week or so I have been reading about/investigating this post's title matter. Some quotes from various papers' abstracts on the matter are: "We provide empirical evidence that the unique signature of the FX market seasonality is indeed due to the different time zones
- 4 years ago, 15 Jul 2020, 08:55pm -
Finance Factors Coordination? Cascade Selection [Quant Dare]
Currently, strategies based on premium factors are everywhere: from funds or ETFs built on ratios or statistics perfectly specified, trying to exploit specific factor premia, to boutique instruments more or less opaque that following one or more risk premia. In any case, one of the questions we may
- 4 years ago, 15 Jul 2020, 10:39am -
Left Tail Risk and Left Tail Momentum [Alpha Architect]
The positive trade-off between risk and expected return is the most fundamental concept in financial economics. Most investors are risk-averse. In order to hold higher-risk securities, they demand higher compensation in the form of higher expected returns. And risk-averse investors are more
- 4 years ago, 15 Jul 2020, 10:38am -
How To Be a Quant Trader - Experiments with @QuantConnect [Robot Wealth]
This post presents an analysis of the SPY returns process using the QuantConnect research platform. QuantConnect is a strategy development platform that lets you research ideas, import data, create algorithms, and trade in the cloud, all in one place. For this research, I’ve used their online
- 4 years ago, 14 Jul 2020, 09:36am -
Sixty-Forty Over the Long-Run [Two Centuries Investments]
Based on many years of reviewing investor portfolios, I concluded that most end up closely resembling a 60% Stocks / 40% Bonds Allocation. Yes, many portfolios also have alternatives, nuanced sub-asset classes, individual security selection, and perhaps some tactical components. But when you look at
- 4 years ago, 13 Jul 2020, 09:05pm -
Reducing Estimation Error in Mean-Variance Optimization [Alpha Architect]
As a general rule, we recommend you kick your spidey senses into high gear anytime there is a geek bearing formulas (especially if they are trying to sell you something). Simple is always a nice cheap default because complexity often leads to confusion, which leans to a need to have an expert, which
- 4 years ago, 13 Jul 2020, 09:04pm -
Cap-Weighted Benchmarks: Good Momentum Bets? [Factor Research]
After strong momentum rallies, investors frequently ask if cap-weighted benchmarks are good Momentum bets Factor exposure analysis shows this is not the case Investors should seek smart beta and long-short products if they want Momentum exposure INTRODUCTION Old myths are hard to kill. Good old
- 4 years ago, 13 Jul 2020, 09:04pm -
Portfolio Optimisation with MlFinLab: Theory-Implied Correlation Matrix [Hudson and Thames]
Traditionally, correlation matrices have always played a large role in finance. They have been used in tasks ranging from portfolio management to risk management and are calculated based on historical empirical observations. Although they are used so frequently, these correlation matrices often have
- 4 years ago, 13 Jul 2020, 11:01am -
Labeling Momentum & Trends [Tr8dr]
There are times when need to label a time series, identifying periods of momentum, trend, mean-reversion, etc. Directionaly labeling timeseries has a wide variety of applications: labels can be used for supervised learning analysis of microstructure around larger price moves conditional analysis
- 4 years ago, 12 Jul 2020, 08:04pm -
Testing expectations [OSM]
In our last post, we analyzed the performance of our portfolio, built using the historical average method to set return expectations. We calculated return and risk contributions and examined changes in allocation weights due to asset performance. We briefly considered whether such changes warranted
- 4 years ago, 10 Jul 2020, 12:41pm -
March for the Fallen 2020: Sign-Up for The Virtual Version! [Alpha Architect]
We are going to help make March for the Fallen a virtual event this year (September 26, 2020 at 8am). COVID is bad news, but we can turn lemons into lemonade…and we can still show gratitude for Gold Star Families by breaking into smaller groups and marching outdoors! We’ve already have 20 local
- 4 years ago, 9 Jul 2020, 09:37am -
SPX Golden Cross History Since 1928 [Quantifiable Edges]
SPX will post a Golden Cross on Thursday afternoon. A Golden Cross occurs when the 50ma crosses over the 200ma. Having the 50ma above the 200ma is commonly considered a bullish market condition – and generally it is. In the 4/2/19 blog post I looked at SPX Golden Crosses dating all the way back to
- 4 years ago, 9 Jul 2020, 09:36am -
Gold Price Prediction Using Machine Learning In Python [Quant Insti]
Is it possible to predict where the Gold price is headed? Yes, let’s use machine learning regression techniques to predict the price of one of the most important precious metal, the Gold. Machine Learning in Trading We will create a machine learning linear regression model that takes information
- 4 years ago, 8 Jul 2020, 10:09am -
Market Return Around the Clock [Alpha Architect]
Get your popcorn ready, the quants are about to do battle… As with all good questions in academic research, there are two sides to the story. We recently published Matthew Bartolini’s blog post explaining the impacts of trading costs on the “Overnight Return Anomaly.” This paper, takes the
- 4 years ago, 7 Jul 2020, 01:57pm -
The Livermore System: Part 2 | Trading Strategy (Filters) [Oxford Capital]
Source: Kaufman, P. J. (2020). Trading Systems and Methods (Chapter 5: The Livermore System). New Jersey: John Wiley & Sons, Inc. Concept: Trading strategy based on Jesse Livermore‘s approach to swing trading with DeMark pivots. Research Goal: Performance verification of Pivot Size and
- 4 years ago, 7 Jul 2020, 01:57pm -
Beyond Risk Parity: The Hierarchical Equal Risk Contribution Algorithm [Hudson and Thames]
As diversification is the only free lunch in finance, the Hierarchical Equal Risk Contribution Portfolio (HERC) aims at diversifying capital allocation and risk allocation. Briefly, the principle is to retain the correlations that really matter and once the assets are hierarchically clustered, a
- 4 years ago, 6 Jul 2020, 09:34am -
Heads I Win, Tails I Hedge [Flirting with Models]
For hedging strategies, there is often a trade-off between degree, certainty, and cost. Put options have high certainty and typically offer a high degree of protection, making them costly to hold and roll over the long run. In this note, we briefly explore the application of different tactical
- 4 years ago, 6 Jul 2020, 09:33am -
Factor Olympics 1H 2020 [Factor Research]
Momentum & Quality are leading the performance scoreboard in 1H 2020 Value & Size generated negative returns, like in recent years Low Volatility failed to preserve capital during the COVID-19 crisis INTRODUCTION We present the performance of five well-known factors on an annual basis for
- 4 years ago, 6 Jul 2020, 09:33am -
R + Python = Rython [Eran Raviv]
Enough! Enough with that pointless R versus Python debate. I find it almost as pointless as the Bayesian vs Frequentist “dispute”. I advocate here what I advocated there (“..don’t be a Bayesian, nor be a Frequenist, be opportunist“). Nowadays even marginally tedious computation is being
- 4 years ago, 5 Jul 2020, 11:14pm -
Do non binary forecasts work? [Investment Idiocy]
This is a post about forecasts in trading systems. A forecast is a calibrated expectation for future risk adjusted returns. In more layman like terms, it is a measure of how confident we are about a bullish (positive forecast) or bearish (negative forecast). Perhaps it is easiest to think about
- 4 years ago, 3 Jul 2020, 11:39am -
Combining Momentum with Long-Term Reversal [Alpha Architect]
Two of most documented anomalies in the asset pricing literature are the momentum effect and the long-term reversal effect. Momentum is typically defined as the last 12 months of returns excluding the most recent month (i.e., months 2–12) because it tends to show a reversal, which some have
- 4 years ago, 3 Jul 2020, 11:38am -
Research Review | 3 July 2020 | Business Cycle Analysis [Capital Spectator]
Forecasting Macroeconomic Risk in Real Time: Great and Covid-19 Recessions Roberto A. De Santis (European Central Bank) July 2020 We show that financial variables contribute to the forecast of GDP growth during the Great Recession, providing additional insights on both first and higher moments of
- 4 years ago, 3 Jul 2020, 11:38am -
First Day of Month Based on Month [Quantifiable Edges]
Since the late 80s there has been a tendency for the market to rally on the first day of the month. One theory on why this occurs is that there are often 401k inflows that are put to work on the 1st of the month. I examined this tendency and broke it down by month on the blog in 2013 and 2009. I
- 4 years ago, 1 Jul 2020, 10:09am -
Time Series Momentum: Theory and Evidence [Alpha Architect]
The profitability of trend-following strategies has been documented in a large number of empirical studies. The majority of these empirical studies find that these strategies are profitable in the long-run over periods ranging from 50 to 150 years. However, two issues of concern arise regarding the
- 4 years ago, 30 Jun 2020, 01:06pm -
How Trend Following Strategies Shape Return Distributions [Alpha Architect]
Crisis Alpha is on everyone’s mind right now, maybe due to a bit of recency bias, but regardless of the reason thinking of and preparing for “tail-risk” is best done before it’s needed. Trend following is one such strategy that is rooted in academic research and is an enticing way to manage
- 4 years ago, 29 Jun 2020, 01:10pm -
The Variance Risk Premium: What Premium? [Factor Research]
Harvesting the variance risk premium has a sound theoretical foundation However, actual investment products have generated poor returns Furthermore, they are correlated to equities, providing few diversification benefits INTRODUCTION Investing is akin to fighting in a never-ending war. There are
- 4 years ago, 29 Jun 2020, 01:10pm -
Diversifying Your Value Portfolio? Quality Works, but Have You Heard of Momentum? [Alpha Architect]
What if your portfolio was only based on one idea? Something like “stocks always go up” or “value always beats growth.” You may be learning a humbling lesson right now that Mr. Market has taught us over and over again (and learning it the painful way). In this post, we’ll examine various
- 4 years ago, 26 Jun 2020, 01:46pm -
Performance anxiety [OSM]
In our last post, we took a quick look at building a portfolio based on the historical averages method for setting return expectations. Beginning in 1987, we used the first five years of monthly return data to simulate a thousand possible portfolio weights, found the average weights that met our
- 4 years ago, 26 Jun 2020, 04:57am -
YTD Performance of Crisis Hedge Strategies [Quantpedia]
After a month, we are back with a year-to-date performance analysis of a few selected trading strategies. In the previous article, we were writing about the performance of equity factors during the coronavirus crisis. Several readers asked us to take a look also on different types of trading
- 4 years ago, 26 Jun 2020, 04:57am -
How to turn off a strategy using historical volatility [Alvarez Quant Trading]
A very common question I get, is “when should I turn off a strategy?” Given the very volatile markets we have had the last few months, I can relate. Some strategies can thrive in these high volatility markets. While others can suffer. In the June 2020 issue of Technical Analysis of Stocks and
- 4 years ago, 24 Jun 2020, 01:02pm -
Option-Based Trend Following [Flirting with Models]
The convex payoff profile of trend following strategies naturally lends itself to comparative analysis with option strategies. To isolate the two extremes of paying for whipsaw – either up front or in arrears – we replicate an option strategy that buys 1-month at-the-money calls and puts based
- 4 years ago, 23 Jun 2020, 02:40pm -
No Longer Superheroes? Twilight of the Bonds [Factor Research]
Bonds had superhero qualities over the last few decades The case for bonds in asset allocation is not clear when yields are low or negative Japan can be used as a roadmap for the outlook of a 60/40 portfolio in the US or Europe FIXED INCOME KRYPTONITE “Faster than a speeding bullet. More powerful
- 4 years ago, 23 Jun 2020, 02:40pm -
Can Statistics Actually Determine if Managers Have No Skill? [Alpha Architect]
Whether they are selecting a manager, a factor, or a strategy, investors can make two types of mistakes. We thought we were hiring Peter Lynch, not this loser! A Type I error (or false discovery) when selecting a manager who turns out to be unskilled. That Warren Buffett guy is washed up, let’s
- 4 years ago, 23 Jun 2020, 02:40pm -
Portfolio Optimisation with MlFinLab: Hierarchical Risk Parity [Hudson and Thames]
In 2016, Dr. Marcos Lopez de Prado introduced the Hierarchical Risk Parity (HRP) algorithm for portfolio optimization. Prior to this, Harry Markowitz’s Modern Portfolio Theory (MPT) was used as an industry-wide benchmark for portfolio optimization. MPT was an amazing accomplishment in the field of
- 4 years ago, 22 Jun 2020, 05:16am -
Petra on Programming: Truncated Indicators [Financial Hacker]
Cumulative indicators, such as the EMA or MACD, are affected not only by previous candles, but by a theoretically infinite history of candles. This makes them return slightly different results depending on the tested period. Although this effect is often assumed negligible, John Ehlers demonstrated
- 4 years ago, 21 Jun 2020, 10:01am -
Fighting racism starts with a baby step [Ran Aroussi]
While most people agree that black lives matter (why shouln't they?), many also feel that the "PC Police" has gone too far with demands to ban movies like "Gone with the Wind", removing statues of historical figures, or renaming words like "blacklist". Here are my
- 4 years ago, 21 Jun 2020, 10:01am -
Do Option Prices Inform Stock Returns? [Alpha Architect]
In perfectly efficient markets, option prices should not convey any new information or contribute to the price discovery of underlying assets. However, if markets are not perfectly efficient, traders with private information might prefer to transact in option markets over stock markets even though
- 4 years ago, 18 Jun 2020, 09:47pm -
More Work on RVFL Networks [Dekalog Blog]
Back in November last year I posted about Random Vector Functional Link (RVFL) networks here and here. Since then, along with my recent work on Oanda's API Octave functions and Market/Volume Profile visualisation, I have continued looking at RVFL networks and this post is an update on this
- 4 years ago, 18 Jun 2020, 09:47pm -
Trend-following, volatility targeting and Ensembles for Bitcoin [Beat Passive]
Today we’ll incrementally build a strategy using trend-following, volatility targeting, and ensemble models and we’ll use Bitcoin as our use-case. Why bitcoin? Because it’s a maddening asset-class that’s extremely volatile over short periods of time and seemed like a fun place to test these
- 4 years ago, 17 Jun 2020, 11:29am -