Quant Mashup
Quantocracy is no longer available via daily email. You can still follow us via RSS or our other socials. - Mike
The Benefits of Sin Stocks [Alpha Architect]
While environmental, social, and governance (ESG) investing continues to gain in popularity, economic theory suggests the share prices of “sin” businesses (typically those involved in the gambling, tobacco, alcohol, guns, and defense industries) will become depressed if a large enough proportion
- 3 years ago, 29 Jul 2021, 11:14am -
March for the Fallen 2021: Detailed Logistics Outline and What to Expect [Alpha Architect]
March for the Fallen (#MFTF) will happen on September 25, 2021. COVID can't kill the event this year! Action Item: Please let us know your trip details so we can support you as much as possible. Here are the links to prior updates if you'd like to review: Footwear and foot care
- 3 years ago, 28 Jul 2021, 11:06am -
7 Things I've learned about trading from the industry's smartest people [Tradologics]
The first (annual) Algo Trading Summit was a huge success! Over 2,500 registered for the event, with an average of 500 people watching the live stream at any given moment — and, so far, the video recordings have over 5,000 views. Not too shabby. In this post, I want to share and summarize some of
- 3 years ago, 28 Jul 2021, 11:05am -
Intro to Partial Sample Regression [Hudson and Thames]
Ordinary least squares (OLS) regression is probably the most commonly used statistical method in quantitative finance (and likely in other quantitative fields). It is very fast to compute, and the results are often quite interpretable. Due to its simplicity, it serves as the cornerstone for many
- 3 years ago, 27 Jul 2021, 10:59am -
Residualization of Risk Factors: Examples and Pitfalls [Portfolio Optimizer]
The most common approach to measuring portfolio (risk) factor exposures is linear regression analysis, which describes the relationship between a dependent variable - portfolio returns - and explanatory variables - factors - as linear. One of the outputs of this analysis are the partial regression
- 3 years ago, 27 Jul 2021, 10:58am -
"Low-effort Trading Strategies" with Cesar Alvarez (@AlvarezQuant) [Better System Trader]
Algorithmic trader Cesar Alvarez from Alvarez Quant Trading joins us to discuss low effort trading strategies, including: An explanation of rotational trading and the benefits/challenges of using rotational strategies, Why rotational trading is a fantastic way to diversify time (and also get to
- 3 years ago, 27 Jul 2021, 10:58am -
Test and Trade RSI Divergence in Python [Raposa Trade]
Divergences occur when price and your indicator move in opposite directions. For example, you’re trading with the RSI and it last had a peak at 80, now it peaks at 70. The underlying security you’re trading was at $14 when RSI hit 80, and now hits a new peak at $18. This is a divergence. Traders
- 3 years ago, 26 Jul 2021, 01:59pm -
Digital Asset ETFs: Not Crypto Enough? [Factor Research]
Digital asset ETFs have outperformed tech stocks in recent years However, they provide no exposure to cryptocurrencies Their returns are explained by market beta and equity factors INTRODUCTION Cathie Wood, the founder and CEO of Ark Invest, an ETF manager, is the latest entrant to launching a
- 3 years ago, 26 Jul 2021, 10:18am -
The Role of Book-to-Market in Bond Returns [Alpha Architect]
My August 17, 2020, article for Advisor Perspectives, “Factor-Based Investing Beats Active Management for Bonds,” provided the evidence from a series of academic papers on the ability of common factors to explain the variation of returns of bond funds, results which have important implications
- 3 years ago, 26 Jul 2021, 10:18am -
Accounting data as investment factors [SR SV]
Corporate balance sheet data are important building blocks of quantitative-fundamental (“quantamental”) investment factors. However, accounting terms are easily misunderstood and confused with economic concepts. Accounting is as much driven by assessment of risk as it is by economic value. For
- 3 years ago, 26 Jul 2021, 10:17am -
Growth Trend Timing With US Stocks [Decoding Markets]
I’m always on the lookout for interesting ways to time the market. Using a market timing model can help to avoid painful bear markets and indicate when is a good time to buy stocks. Recently, I was looking at some of the strategies on Allocate Smartly and came across one called Growth Trend
- 3 years ago, 22 Jul 2021, 01:32am -
4 Simple Strategies to Trade Bollinger Bands [Raposa Trade]
Bollinger Bands have been a popular indicator by traders since they were invented in the early 1980’s. They’re calculated in four, easy steps and are intended to provide traders an idea of the price range of a security. We can use these to develop a number of different algorithmic strategies to
- 3 years ago, 22 Jul 2021, 01:32am -
Beyond linear: the Extended Kalman Filter [Quant Dare]
Although linear systems are pretty convenient at many levels, many real world applications cannot rely in this assumption. The Extended Kalman Filter can deal with these nonlinearities in a simple way. Learn how in this post. Introduction In the 1960s, Rufold E. Kalman codeveloped one of the most
- 3 years ago, 21 Jul 2021, 03:54am -
Stock Market Data And Analysis In Python [Quant Insti]
Are you looking to get stock market data and analyse the historical data in Python? You have come to right place. After reading this, you will be able to: Get historical data for stocks Plot the stock market data and analyse the performance Get the fundamental, futures and options data For easy
- 3 years ago, 21 Jul 2021, 12:37am -
Factor Investing in Sovereign Bond Markets: 221 years of evidence! [Alpha Architect]
Despite government bonds being one of the major asset classes invested in global portfolios, 30% of overall market capitalization according to Doeswijk, et al. (2020), little work has been done to investigate whether factors are present in the sovereign bond market. (Here is a deep dive into fixed
- 3 years ago, 21 Jul 2021, 12:36am -
Statistical Distributions and the Costliness of Hidden Assumptions [Enjine]
By the third year of my PhD program, I was impatient. I had endured 8 years of lectures, exams, and keeping close watch over my bank account’s balance. Meanwhile, my colleagues from undergrad had embarked on interesting projects with big potential, and were getting paid well to do so. Their lives
- 3 years ago, 19 Jul 2021, 10:47am -
Myth Busting: Equities are an Inflation Hedge [Factor Research]
Equities generated attractive nominal returns across all inflation regimes However, real returns were zero when inflation was above 10% Energy and materials performed best, consumer-facing sectors worst INTRODUCTION “I came of age and studied economics in the 1970s and I remember what that
- 3 years ago, 19 Jul 2021, 10:47am -
Create a Personal Portfolio/Wealth Simulation in Python (Part 2) [Python For Finance]
Welcome to Part 2 of the series of posts dealing with how to build your own python based personal portfolio /wealth simulation model. At the end of the first post (which can be found here), we got to the point where we had modelled some inflows, some outflows, we had applied an annual salary raise
- 3 years ago, 18 Jul 2021, 12:45pm -
Man vs. Machine: Stock Analysis [Quantpedia]
Nowadays, we see an increasing number of machine learning based strategies and other related financial analyses. But can the machines replace us? Undoubtedly, AI algorithms have greater capacities to “digest” big data, but as always in the markets, everything is not rational. Cao et al. (2021)
- 3 years ago, 18 Jul 2021, 12:45pm -
The Misery Index and Future Equity Returns [Alpha Architect]
Prospect theory was developed by Daniel Kahneman and Amos Tversky in 1979. The theory starts with the concept of loss aversion—the observation that people react differently between potential losses and potential gains. Thus, people make decisions based on the potential gain or loss relative to
- 3 years ago, 18 Jul 2021, 12:44pm -
Research Review | 16 July 2021 | Forecasting [Capital Spectator]
Forecasting the Long-Term Equity Premium for Asset Allocation Athanasios Sakkas (U. of Nottingham) and Nikolaos Tessaromatis (EDHEC) July 12, 2021 Long-term country equity premium forecasts based on a cross-sectional global factor model (CS-GFM), where factors represent compensation for risks
- 3 years ago, 18 Jul 2021, 12:43pm -
Everything About Faber: A Critical Look at Market Timing [Light Finance]
In 2006, Meb Faber wrote a highly influential paper on tactical asset allocation and market timing. The strategy was particularly attractive in part because of its simplicity: Buy when monthly price > 10-month SMA Sell and move to cash when monthly price By applying this simple, mechanical
- 3 years ago, 15 Jul 2021, 10:01am -
Modeling US Stock Market Expected Returns, Part I [Capital Spectator]
In recent posts I reviewed several basic applications for generating fair-value estimates for the 10-year Treasury yield, which can be used as a proxy for projecting return. Let’s expand this effort by forecasting performance for the US equity market over a 10-year window. The goal is developing a
- 3 years ago, 15 Jul 2021, 10:01am -
The risk of investing: An exploration on SPDR Sector ETFs [Quant Dare]
We will examine the relationship between annual returns and largest annual drop. Let’s use some well known Select Sector SPDRs and the SPDR S&P 500 Trust (SPY). Using prices from 1999-01-01 to 2021-06-30 we calculate the annual returns and the biggest drop for each year. For example, if we
- 3 years ago, 15 Jul 2021, 10:00am -
Volume Positive Negative Indicator for Breakouts [Alvarez Quant Trading]
Probably like a lot of you, I am an indicator junkie. Whenever I read about an indicator I have not tested and makes some sense, I got to try it out. Now, most of the time they turn out to not be useful for my strategies. While reading the April 2021 Technical Analysis of Stocks & Commodities, I
- 3 years ago, 14 Jul 2021, 09:56pm -
Metalabeling and the duality between cross-sectional and time-series factors [EP Chan]
Features are inputs to supervised machine learning (ML) models. In traditional finance, they are typically called “factors”, and they are used in linear regression models to either explain or predict returns. In the former usage, the factors are contemporaneous with the target returns, while in
- 3 years ago, 14 Jul 2021, 10:15am -
Moving Average Bands [Financial Hacker]
Compared to plain indicators, bands have the advantage that they look more colorful on charts. And they offer more lines to trigger trade signals. In this way, bands beat any old single-line indicator hands down. This was also noticed by Vitali Apirine, who invented in the Stocks&Commodities
- 3 years ago, 14 Jul 2021, 10:15am -
Size Really Does Matter: Position Sizing and Controlling your Risk [Raposa Trade]
Social media is replete with examples of people showing how much money they made going all-in on Bitcoin, Tesla, Gamestop, Dogecoin or whatever new fad is out there. These are the lucky ones. Most people bet too large and eventually blow up their account, losing years of hard work and wealth in the
- 3 years ago, 13 Jul 2021, 01:22am -
Building a Long Volatility Strategy without Using Options [Factor Research]
Long volatility strategies can be built without using options Our systematic approach has used exclusively currencies and bonds Investors can achieve attractive diversification benefits with such strategies INTRODUCTION The insurance policy is one of the game-changing products of our civilization as
- 3 years ago, 12 Jul 2021, 01:00pm -
Diversified reward-risk parity [SR SV]
Risk parity is a portfolio construction technique that seeks to equalize risk contributions from the different components of the portfolio. Risk parity with respect to uncorrelated risk sources maximizes diversification. Simple risk parity rules are based on the inverses of market beta, price
- 3 years ago, 12 Jul 2021, 01:00pm -
Maximize ESG exposure or screen out sin stocks? [Alpha Architect]
In a 2020 paper, the authors explore the side effects of applying ESG screens to a passive portfolio. While the ESG scores or tilt was improved and Sharpe ratios increased, significant regional, sector, and conventional risk factor exposures were magnified. While investors may be attracted and
- 3 years ago, 12 Jul 2021, 12:59pm -
New Site! Deep learning with long short-term memory networks for financial market predictions [Enjine]
The sentence that surprised me most while reading Fischer and Krauss’ paper ‘Deep learning with long short-term memory networks for financial market predictions’ was as follows: “To our knowledge, there has been no previous attempt to deploy LSTM networks on a large, liquid, and survivor
- 3 years ago, 10 Jul 2021, 12:05pm -
Introduction to CPPI - Constant Proportion Portfolio Insurance [Quantpedia]
As we have promised, we present a short article as an introduction into the methodology of the Quantpedia Pro CPPI reports. Quantpedia Pro clients can use the model portfolio built in the Portfolio Manager as a risky asset to test various variants – Basic CPPI, Drawdown Based CPPI and Dynamic
- 3 years ago, 9 Jul 2021, 01:32pm -
Strategies That Play Well With Others [Allocate Smartly]
We track more than 60 tactical asset allocation strategies. In this post we look at which of those strategies are most often recommended by common portfolio optimization techniques, and why strategies that “play well with others” are not always the best strategies. First, a little background for
- 3 years ago, 7 Jul 2021, 12:15pm -
Factor Olympics Q2 2021 [Factor Research]
The Q1 2021 factor rotation into Value and Size has reversed Value is the only factor with positive performance in 1H 2021 Momentum has generated the most negative returns INTRODUCTION We present the performance of five well-known factors on an annual basis for the last 10 years. Specifically, we
- 3 years ago, 7 Jul 2021, 10:33am -
When DJI Rallies From 50-day Low to 50-day High Very Quickly [Quantifiable Edges]
The SPX, Dow, and NASDQ all closed at all-time highs on Friday. Just 10 days ago the Dow closed at a 50-day low. That quick of a move from low to high is quite an accomplishment. Over the last 101 years this just the 21st time the Dow has managed to move from a 50-day closing low to a 50-day closing
- 3 years ago, 7 Jul 2021, 10:33am -
Talking to the dead / simple heuristic position selection / small account problems - part four / EPIC FAIL #2 [Investment Idiocy]
Over the last few posts I've been grappling with the difficulties of trading futures with a retail sized account. I've tried a couple of things so far - a complex dynamic optimisation (here and here) where I try and optimise the portfolio every day in the knowledge that I can only take
- 3 years ago, 2 Jul 2021, 01:16pm -
Low Volatility Factor Investing: How Investment Horizon Affects Results [Alpha Architect]
Two of the more interesting puzzles in finance are the high beta anomaly (high beta stocks have lower returns) and the IVOL anomaly (stocks with greater idiosyncratic volatility have produced lower returns). These are anomalies because both beta and IVOL are viewed as risk factors and should be
- 3 years ago, 2 Jul 2021, 01:16pm -
Community Alpha of @QuantConnect - Part 1: Following numerous quantitative strategies [Quantpedia]
Nowadays, social media are involved in fields that were unimaginable in the past. Among others, the world of finance, trading and investing is no exception. For example, Stocktwits is a strong community in this area, Seeking Alpha connects (non)professional analysts, and Twitter connects
- 3 years ago, 1 Jul 2021, 08:23pm -
Distance Approach in Pairs Trading: Part I [Hudson and Thames]
There are many types of approaches you can use in pairs trading, but the Distance Approach is one of the most widely used because of its simplicity. The basic concept is as follows: Using Euclidean squared distance on the normalized price time series, n closest pairs of assets are chosen as pairs. S
- 3 years ago, 29 Jun 2021, 11:51am -
Static optimisation of the best set of instruments to hold in a futures trading system [Investment Idiocy]
In a couple of recent posts (here and here) I explored the idea of using dynamic optimisation to deal with the following problem: diversification across markets is good, but requires more capital. That didn't work out so well! I can also appreciate that this is *way* beyond most peoples idea of
- 3 years ago, 29 Jun 2021, 11:51am -
Is Zorro project worth trying for algorithmic trading? [Trading Enigma]
The online trading platform is growing bigger day by day. More people are entering this industry, and they are trying to come up with unique trading strategies. But automated trading has taken the industry by storm. Automated trading is the best thing an independent trader can ask for. But
- 3 years ago, 29 Jun 2021, 11:50am -
Can Investors Beat Active Mutual Funds with Cheap ETFs, YUP! [Alpha Architect]
The research (and the theory) has convincingly shown that mutual funds should and do underperform a passive index by an amount approximately equal to fees. However, no one has actually tried to construct the active mutual fund dominating passive strategy using commercially available products. It
- 3 years ago, 29 Jun 2021, 11:50am -
Paul Novell's Bond-COMP Tactical Bond Strategy [Allocate Smartly]
This is a test of a tactical bond strategy from Paul Novell of Investing for a Living. It rotates between credit bond ETFs and defensive assets based on the same rules as his popular SPY-COMP strategy. Backtested results from 1970 follow. Results are net of transaction costs – see backtest
- 3 years ago, 28 Jun 2021, 11:25am -
Factor Exposure Analysis: Exploring Residualization [Factor Research]
Regression analysis is frequently subject to multicollinearity Independent variables can be residualized Using residualized variables in a factor exposure analysis identifies different drivers DISCLAIMER “The worth of an econometrics textbook tends to be inversely related to the technical material
- 3 years ago, 28 Jun 2021, 11:24am -
Bayesian vs. Frequentist in Practice, part 3 [Eran Raviv]
This post is inspired by Leo Breiman’s opinion piece “No Bayesians in foxholes”. The saying “there are no atheists in foxholes” refers to the fact that if you are in the foxhole (being bombarded..), you pray! Leo’s paraphrase indicates that when complex, real problems are present, there
- 3 years ago, 28 Jun 2021, 11:24am -
When Persistent Higher Highs Don’t Suggest a Pullback [Quantifiable Edges]
SPX managed to make an intraday high for the 5th day in a row on Friday. An interesting study from the Quantifinder looked at the possible impact of 5 higher highs occurring. The studies examined the impact of the position of the market when the 5 higher highs occurred. I broke it down again over
- 3 years ago, 28 Jun 2021, 11:23am -
A market-to-book formula for equity strategies [SR SV]
A new proxy formula for equity market-to-book ratios suggests that (the logarithm of) such a ratio is equal to the discounted expected value of (i) differences between return on equity and market returns and (ii) the net value added from share issuance or repurchases. A firm with a higher
- 3 years ago, 28 Jun 2021, 11:23am -
Optimising portfolios for small accounts: Dynamic optimisation testing -> EPIC FAIL [Investment Idiocy]
This is part two in a series of posts about using optimisation to get the best possible portfolio given a relatively small amount of capital. Part one is here (where I discussed the idea). You should read that now, if you haven't already done so. In this post I show you and explain the code and
- 3 years ago, 25 Jun 2021, 10:11pm -
Research Review | 25 June 2021 | Tail Risk [Capital Spectator]
Equity Tail Risk in the Treasury Bond Market Mirco Rubin (EDHEC) and Dario Ruzzi (Bank of Italy) December 23, 2020 This paper quantifies the effects of equity tail risk on the US government bond market. We estimate equity tail risk as the option-implied stock market volatility that stems from large
- 3 years ago, 25 Jun 2021, 10:11pm -