Quant Mashup
Quantocracy is now on Bluesky and Threads. See the links in the header. - Mike
AI case study: Long/Short strategy [Quant Dare]
In today’s post we will be using AI to improve a module of the Alternative Data-Driven Investment (ADDI) strategy developed by ETS Asset Management Factory, which is an automatic Long – Short investment strategy that aims to obtain stable performance de-correlated from the market and with a
- 1 year ago, 2 Oct 2023, 11:00pm -
Is $SPX Selloff Near An End? [Quantifiable Edges]
This past week was the 4th week in a row that the SPX declined. It is quite unusual to see SPX close down for 4 weeks in a row, but still remain above its 40-week moving average. Below is a look at other times since 1975 that this action has occurred. SPX down 4 weeks in a row but above 40-week
- 1 year ago, 2 Oct 2023, 11:00pm -
ETF Evolution: what does it mean for investors? [Alpha Architect]
The first ETFs emerged in 1993 and closely tracked broad-based indexes for a low fee. Since then, the competitive situation in the ETF industry today has differentiated itself by adding a new breed of ETFs that reflected specialization into popular investment themes. When the evolution of the ETF
- 1 year ago, 2 Oct 2023, 10:59pm -
ESG Preferences Negatively Affecting Market Efficiency [Alpha Architect]
Environmental, social, and governance (ESG) investing continues to increase in popularity, with many institutional and individual investors incorporating ESG criteria into their investment decision-making process. Three main themes have driven this massive shift of assets: 1) Many investors are
- 1 year ago, 2 Oct 2023, 10:59pm -
Researching the Quality Factor with Alphalens and Zipline [Quant Rocket]
Buying high-quality stocks and avoiding low-quality ones can improve investment returns. In this post, I use Alphalens and Zipline to analyze the Piotroski F-Score, a composite measure of a firm's financial health and quality. This post is part of the fundamental factors series, which explores
- 1 year ago, 28 Sep 2023, 07:56pm -
AutoRegressive Moving Average (ARMA) models: Using Python [Quant Insti]
In the first part of my ARMA article series, I covered the background theory of lag operators, the stationarity and invertibility of Autoregressive Moving Average models (ARMA) and the different types of versions you can create from it. Here, we’ll explore theoretically these models using Python.
- 1 year ago, 28 Sep 2023, 07:55pm -
An Introduction to Machine Learning Research Related to Quantitative Trading [Quantpedia]
Following the recent release of the popular large language model ChatGPT, the topic of machine learning and AI seems to have skyrocketed in popularity. The concept of machine learning is, however, a much older one and has been the topic of various research and technology projects over the last
- 1 year ago, 27 Sep 2023, 11:36pm -
Reducing Whipsaws When Using 200-day Moving Average for Market Timing [Alvarez Quant Trading]
I was working on testing a market timing indicator that I read about it. It was showing some promise and the next step was to compare it to my benchmark. My benchmark is using the 200-day moving average. But an additional rule removes a lot of the whipsaws that can happen. After doing the
- 1 year ago, 27 Sep 2023, 11:35pm -
Super-Secret Proprietary Black Box Strategies [Allocate Smartly]
Note: This is a rare non-geeky, non-quantitative, stream of thought blog post. Because we’re so deep into this world of Tactical Asset Allocation (TAA), we’re sometimes asked for our thoughts on such-and-such black box TAA strategy. By “black box” we mean a strategy for which the trading
- 1 year ago, 27 Sep 2023, 11:34pm -
Geographic investing: business activity vs. domicile [Alpha Architect]
The article explores the limitations of traditional country-level stock market indexes constructed based on issuing firms’ domicile. Additionally, it introduces a new type of national stock market index called the EMindex, which is based on companies’ business activities rather than their
- 1 year ago, 27 Sep 2023, 11:34pm -
Code Walkthrough for Alpha Simulator: Simple Trend Rule with Vol Targeting [Hanguk Quant]
In the last post we did a line-by-line walkthrough of the alpha simulator, using a uniform random variable to represent the signal generating component of the alpha backtest. We also raised a few questions: How can we manage the varying levels of risk profiles of different stocks in our asset
- 1 year ago, 25 Sep 2023, 09:14am -
The predictive power of real government bond yields [SR SV]
Real government bond yields are indicators of standard market risk premia and implicit subsidies. They can be estimated by subtracting an estimate of inflation expectations from standard yields. And for credible monetary policy regimes, inflation expectations can be estimated based on concurrent
- 1 year ago, 25 Sep 2023, 09:13am -
R&D stocks - do asset pricing models do them justice? [Alpha Architect]
Since the development of the CAPM, which explains about two-thirds of the variation of returns among diversified portfolios, academic research has attempted to find models that increase the explanatory power of the cross-section of stock returns. Models are not like cameras that provide an exact
- 1 year ago, 25 Sep 2023, 09:13am -
Have Stock Markets Changed? [Finominal]
Trading technology continues to make trading of stocks easier, cheaper, and faster However, despite this and other financial innovations like ETFs, the US stock market structure hasn’t changed Likely explained by the fact that its core participants are unable to change INTRODUCTION Consider the
- 1 year ago, 25 Sep 2023, 09:13am -
Tactical Asset Allocation Performance During the 2022 Bear Market [Allocate Smartly]
As a whole, Tactical Asset Allocation (TAA) did not manage losses during the 2022 bear market as well as it has during previous downturns. Individual strategies varied and some did well, but a primary function of TAA is loss management, and any failure to do so is worth analyzing further. In this
- 1 year ago, 22 Sep 2023, 07:52am -
Quant Signal Trade-Offs in the Real World [Robot Wealth]
I want to discuss a couple of simple trade-off considerations around quant trading signals that may not be obvious. Here’s the price of some asset: Our main job is to predict how it’s likely to move. To do this, you use information about it that you think is predictive. And at any point in time:
- 1 year ago, 22 Sep 2023, 07:52am -
Range-Based Volatility Estimators: Overview and Examples of Usage [Portfolio Optimizer]
Volatility estimation and forecasting plays a crucial role in many areas of finance. For example, standard risk-based portfolio allocation methods (minimum variance, equal risk contributions, hierarchical risk parity…) critically depend on the ability to build accurate volatility forecasts1.
- 1 year ago, 20 Sep 2023, 09:45pm -
Analysis of Price-Based Quantitative Strategies for Country Valuation [Quantpedia]
Value investing originated as an investment strategy in which investors try to beat the stock market by looking for stocks that trade at a price below their intrinsic value or book value. Value investors do not subscribe to the efficient-market hypothesis, which suggests that stock prices always
- 1 year ago, 18 Sep 2023, 10:23pm -
A New Wolf in Town? Pump-and-Dump Manipulation in Cryptocurrency Markets [Alpha Architect]
Pump-and-Dump (P&D) schemes to manipulate the prices of cryptocurrencies are unlike the P&D schemes found in the equity market. They produce very large price distortions on the order of 65%, very large trading volumes of 13.5x the average, and generate very large profits to cryptocurrency
- 1 year ago, 18 Sep 2023, 10:23pm -
Don't Convert to Convertible Bonds [Finominal]
Convertible bonds are typically viewed as debt rather than equity instruments However, these are highly correlated to equities The diversification benefits are limited as these just represent diluted equity proxies INTRODUCTION Let’s say you’re the CEO of a small listed company that isn’t
- 1 year ago, 18 Sep 2023, 10:22pm -
The Seasonality of Bitcoin [Quantpedia]
Seasonality effects, one of the most fascinating phenomena in the world of finance, have captured the attention of investors and researchers worldwide. Since these anomalies are often driven by factors other than general market trends, they usually don’t correlate strongly with market movements,
- 1 year ago, 13 Sep 2023, 09:28pm -
There IS a low vol anomaly in SPY [Babbage9010]
TL;DR – There really is a low volatility anomaly in the SPY data; low volatility today predicts low volatility tomorrow and risk-adjusted returns are higher investing daily in the lower vol half of predicted market days. Same data, new analysis, better graphs and you’ll see it too. First up, a
- 1 year ago, 11 Sep 2023, 10:58pm -
Momentum turning points and their impact on market cycles [Alpha Architect]
The article investigates time-series (TS) momentum strategies and their performance in financial markets based on various speeds or lookback horizons. The study aims to understand the connections between different speeds of TS momentum, unobservable variables like trend, turning points, and noise
- 1 year ago, 11 Sep 2023, 10:58pm -
K-Nearest Neighbors Algorithm: Steps to Implement in Python [Quant Insti]
Machine Learning (ML) has emerged as a powerful tool in the field of Artificial Intelligence, revolutionising various aspects of our lives. Whether it's recognising human handwriting or enabling self-driving cars, ML has become an integral part of our daily routines. With the exponential growth
- 1 year ago, 11 Sep 2023, 10:57pm -
Fixed Income Factors II [Finominal]
There are style factors like value and traditional fixed income factors like term premium The correlations of these factors has been low However, it is not clear which are better suited for a factor exposure analysis INTRODUCTION In our last research article, we compared fixed income factors from
- 1 year ago, 11 Sep 2023, 10:57pm -
How to backtest 2,000,000 simulations for the best exits [PyQuant News]
If you’ve been a reader of this newsletter for a while, or a student of Getting Started With Python for Quant Finance, you’ll recognize this statement: Backtests are not a way to brute force optimize parameters to maximize a performance metric. Doing that leads to overfitting and losses. But
- 1 year ago, 9 Sep 2023, 07:16pm -
Equity versus fixed income: the predictive power of bank surveys [SR SV]
Bank lending surveys help predict the relative performance of equity and duration positions. Signals of strengthening credit demand and easing lending conditions favor a stronger economy and expanding leverage, benefiting equity positions. Signs of deteriorating credit demand and tightening credit
- 1 year ago, 9 Sep 2023, 07:16pm -
Price data from Yahoo Finance in R – the Easy Way [Robot Wealth]
Traders typically have many ideas for trading strategies – more than they can ever implement in practice! Therefore it’s useful to be able to move quickly in the early research phase. You want to disprove things as quickly as possible so that you can move onto the next thing. Obviously there is
- 1 year ago, 8 Sep 2023, 09:08pm -
Stock-bond correlation and its lessons for investors [Alpha Architect]
The correlation between stocks and bonds should be a critical component of any asset allocation decision, as it impacts not only the overall risk of a diversified multi-asset class portfolio but also the risk premia one should expect to receive for taking risk in different asset classes. The problem
- 1 year ago, 8 Sep 2023, 09:07pm -
Financial Distress Factors: Altman Z-Score and Interest Coverage Ratio [Quant Rocket]
Are rising interest rates straining balance sheets and increasing the risk of bankruptcies? This article investigates two financial distress factors, the Altman Z-Score and interest coverage ratio, to see if distress is on the rise and how it impacts stock returns. This post is part of the
- 1 year ago, 7 Sep 2023, 07:34pm -
Code Walkthrough for the Alpha Simulator (for Programming Beginners) [Hanguk Quant]
As we advance into our third year on this blog - it’s dawning upon me that many of the readers are getting left behind…the biggest concern by far is the complexity of the current Russian Doll model and not being sure how to proceed with using the statistical suite presented therein, together
- 1 year ago, 7 Sep 2023, 07:34pm -
Testing “TrendYCMacro” from Durian and Vojtko of @Quantpedia [Allocate Smartly]
This is a test of the “TrendYCMacro” strategy from the paper Avoid Equity Bear Markets with a Market Timing Strategy from Ďurian and Vojtko of Quantpedia. The strategy combines trends in price, the slope of the yield curve and key economic indicators to switch between US equities and cash.
- 1 year ago, 5 Sep 2023, 05:27pm -
Short Term Signals - can they produce meaningful alpha? [Alpha Architect]
Short-term return anomalies are generally dismissed in the academic literature “because they seemingly do not survive after accounting for market frictions.” In this research, short-term “factors” are taken seriously, and the authors argue the standard parameters may not apply to short
- 1 year ago, 5 Sep 2023, 05:26pm -
The Investment Factor: does it impact returns? [Alpha Architect]
Over the long term, low-investment firms have outperformed high-investment firms. This finding has led to the investment factor (CMA, or conservative minus aggressive) being incorporated into the leading asset pricing models—the four-factor q-theory model (market beta, size, investment, and
- 1 year ago, 2 Sep 2023, 06:33pm -
Autocorrelation in Trading: A Practical Python Approach to Analyzing Time Series Data [Quant Insti]
Autocorrelation is a statistical concept that measures the correlation between observations of a time series and its lagged values. It is commonly used in various fields, including trading for technical analysis, to identify patterns, trends, and relationships within data. Autocorrelation helps
- 1 year ago, 2 Sep 2023, 04:04am -
How to use HDF5 for advanced, ultra fast market data storage [PyQuant News]
If there’s one thing algorithmic traders cannot get enough of, it’s data. The data that fuels our strategies is more than just numbers—it’s the lifeblood of our decision-making processes. And having data available locally—or at least within your control—is a big part of that. In
- 1 year ago, 2 Sep 2023, 04:03am -
Research Review | 31 August 2023 | Financial Crises [Capital Spectator]
Predicting Financial Crises: The Role of Asset Prices Tristan Hennig (International Monetary Fund), et al. August 2023 We explore the early warning properties of a composite indicator which summarizes signals from a range of asset price growth and asset price volatility indicators to capture
- 1 year ago, 2 Sep 2023, 04:03am -
15 Ideas, Frameworks, and Lessons from 15 Years [Flirting with Models]
Today, August 28th, 2023, my company Newfound Research turns 15. It feels kind of absurd saying that. I know I’ve told this story before, but I never actually expected this company to turn into anything. I started the company while I was still in undergrad and I named it Newfound Research after a
- 1 year ago, 28 Aug 2023, 10:40pm -
The determinants of inflation [Alpha Architect]
The research questions of the article are as follows: How can a Hidden Markov Model be applied to identify regimes of shifting inflation? What are the characteristics and descriptive information of the identified inflation regimes? Which economic variables are the determinants of inflation and how
- 1 year ago, 28 Aug 2023, 10:40pm -
Quant And Machine Learning Links: 20230827 [Machine Learning Applied]
AutoAlpha: an Efficient Hierarchical Evolutionary Algorithm for Mining Alpha Factors in Quantitative Investment – Tianping Zhang, Yuanqi Li, Yifei Jin, Jian Li The multi-factor model is a widely used model in quantitative investment. The success of a multi-factor model is largely determined by the
- 1 year ago, 28 Aug 2023, 10:40pm -
Intro to Black-Scholes, implied volatility and hedging [OS Quant]
I’m a little embarrassed to admit this, I was recently in a quant interview and the interviewer quickly realised that I didn’t know the Black-Scholes formula! That was definitely a moment when imposter syndrome became reality. To fix the situation, I’ve written up an easy intro to the
- 1 year ago, 26 Aug 2023, 05:57pm -
How to Launch Your Career as a Risk Quant in 2024? [Quant at Risk]
Launching a career as a risk quant requires a well-thought-out strategy that combines a strong educational foundation, technical skills, and an understanding of the evolving landscape of risk management. To embark on this journey, aspiring risk quants should start by building a solid educational
- 1 year ago, 26 Aug 2023, 05:57pm -
Business sentiment and commodity future returns [SR SV]
Business sentiment is a key driver of inventory dynamics in global industry and, therefore, a powerful indicator of aggregate demand for industrial commodities. Changes in manufacturing business confidence can be aggregated by industry size across all major economies to give a powerful directional
- 1 year ago, 26 Aug 2023, 05:57pm -
Structured notes: Wall Street fairy tales that should be avoided! [Alpha Architect]
As a general rule of thumb, the more complexity that exists in a Wall Street creation, the faster and farther investors should run. —David Swensen, Unconventional Success Structured products are packages of synthetic investment instruments specifically designed to appeal to needs that investors
- 1 year ago, 26 Aug 2023, 05:57pm -
Correlation Matrix Stress Testing: Random Perturbations of a Correlation Matrix [Portfolio Optimizer]
In the previous posts of this series, I detailed a methodology to perform stress tests on a correlation matrix by linearly shrinking a baseline correlation matrix toward an equicorrelation matrix or, more generally, toward the lower and upper bounds of its coefficients. This methodology allows to
- 1 year ago, 23 Aug 2023, 05:34pm -
Design Crypto-Asset to Avoid Structural Failures Due to Random Vibrations [Quant at Risk]
Although the relationship is not immediately clear and obvious, the structural engineering has a lot in common with financial assets. In both cases we deal with the objects under stress over their entire lifetimes. There are two possible outcomes: something can break or perform well. The engineers
- 1 year ago, 23 Aug 2023, 02:22am -
Sector Neutralization: Why It Matters and How to Use It [Quant Rocket]
Sector neutralization is a technique to hedge out sector bets and reduce the impact of sector-specific risks on the portfolio by ranking factors within sectors rather than across sectors. This post uses the debt-to-equity ratio to show why sector neutralization is important and how to perform it in
- 1 year ago, 23 Aug 2023, 02:21am -
How to make amazing dashboards to easily power alpha analysis [PyQuant News]
Principal component analysis (PCA) is used widely in data science. It’s a way to reduce the number of dimensions in a data set. It’s also used in quant finance to find alpha. In a stock portfolio, a dimension might be a column of returns for one of the stocks. Once you get the model built, you
- 1 year ago, 23 Aug 2023, 02:21am -
Revisiting “Link’s Global Growth Cycle” Strategy [Allocate Smartly]
We’ve previously covered Link’s Global Growth Cycle strategy, which uses OECD Composite Leading Indicator (CLI) data to time the market. The strategy has navigated the market gyrations over the last few years well, so naturally it’s gotten the attention of members. Recent strategy results
- 1 year ago, 21 Aug 2023, 05:48pm -
A Case Study in Finding Edge [Robot Wealth]
In 2021, James, I, and a small team decided to set up a crypto trading venture. We faced several problems, but knowing almost nothing about crypto was the most significant. We sensed that the fractured, developing nature of the crypto market would likely be a good place to seek out inefficiencies,
- 1 year ago, 21 Aug 2023, 05:48pm -