Quant Mashup
A "New" Way to Smooth Price [Dekalog Blog]
Rather than describe it, I'll just paste the "help" description below:- "This function takes an input series and smooths it by projecting a 5 bar rolling linear fit 3 bars into the future and using these 3 bars plus the last 3 bars of the rolling input to fit a FIR filter with a
- 3 months ago, 30 Dec 2024, 06:19pm -
From Gold to Bitcoin: Exploring the Oldest and Newest Asset Classes [Relative Value Arbitrage]
Gold, one of the oldest and most enduring asset classes, had an exceptional run in 2024, capturing attention across financial markets. Its role in investment portfolios continues to spark interest, acting as a hedge against uncertainty. On the other end of the spectrum, cryptocurrencies represent
- 3 months ago, 30 Dec 2024, 06:18pm -
Linear Congruential Generators in Python [Quant Start]
Some years ago we wrote a range of articles on random number generation (RNG) using C++. These techniques are primarily used for Monte Carlo simulations that underpin modern derivatives pricing methods. The articles included one that implemented a particular algorithm known as a Linear Congruential
- 3 months ago, 29 Dec 2024, 12:36am -
Drawdown Implied Correlations (Part 1) [CSS Analytics]
Diversification is a concept that is critical to most asset managers and traders. The foundation of this body of research is built upon the Pearson correlation coefficient, which is the most popular metric to determine whether adding an asset to a portfolio might enhance diversification. Despite its
- 3 months ago, 23 Dec 2024, 02:57am -
Intangibles and the Performance of the Value Factor [Alpha Architect]
Systematic factor-driven value strategies have underperformed broad market indices (such as the S&P 500) over the past 15+ years. That has led many to question whether intangible assets, such as patents and proprietary software, are properly treated. Current accounting standards, which require
- 3 months ago, 23 Dec 2024, 02:57am -
Front Running Commodity Seasonality [Allocate Smartly]
This is an independent test of a series of interesting studies from Quantpedia (here and here) related to seasonality in commodity ETFs. We’ve more than doubled the length of the author’s original test using relevant index data (1). Test #1: Front running commodity seasonality In all of our
- 3 months ago, 20 Dec 2024, 08:07am -
Front-Running Seasonality in US Stock Sectors [Quantpedia]
Seasonality plays a significant role in financial markets and has become an essential concept for both practitioners and researchers. This phenomenon is particularly prominent in commodities, where natural cycles like weather or harvest periods directly affect supply and demand, leading to
- 3 months ago, 19 Dec 2024, 09:18pm -
Is Goldman Sachs' 3% Annual Return Forecast Based on Bad Data? [Allocate Smartly]
This paper from Goldman Sachs made big headlines a couple of months back for forecasting an abysmal 3% nominal annual return for US stocks in the coming decade. For anyone who didn’t read GS’s analysis, the biggest contributor to that poor return was “market concentration”, or the market cap
- 3 months ago, 17 Dec 2024, 10:54pm -
The Finance and Economics Problem [Anton Vorobets]
Getting fundamental assumptions right is essential for successful investment and risk management. The aspects that enable us to build portfolios intelligently and outperform the market are subtle nuances that are not easily accessible to most investors. If you do not believe me, check out this video
- 3 months ago, 17 Dec 2024, 07:06pm -
Estimating Long-Term Expected Returns [Alpha Architect]
This paper examines various frameworks and proxies for forecasting long-term expected returns (E(R)) over periods of 10 to 20 years, focusing on out-of-sample performance and the impact of these forecasts on investment decisions. It compares models based on yield, valuation, and the combination of
- 3 months ago, 17 Dec 2024, 07:06pm -
Option Pricing Models and Strategies for Crude Oil Markets [Relative Value Arbitrage]
Financial models and strategies are usually universal and can be applied across different asset classes. However, in some cases, they must be adapted to the unique characteristics of the underlying asset. In this post, I’m going to discuss option pricing models and trading strategies in
- 3 months ago, 17 Dec 2024, 07:05pm -
NLX Finance's Hybrid Asset Allocation 60/40 [Allocate Smartly]
This strategy from NLX Finance is an alternative version of a strategy we’ve covered previously: Dr. Keller & Keuning’s Hybrid Asset Allocation (HAA). It trades based on all the same rules as the original HAA with one exception: rather than allocating 100% to US stocks when risk on, it holds
- 3 months ago, 16 Dec 2024, 08:08am -
PJ Sutherland - Complementary Dynamics of Mean Reversion and Trend Following [Algorithmic Advantage]
In the domain of quantitative finance, the juxtaposition of mean reversion and trend-following strategies constitutes a pivotal dialogue in the formulation of robust trading paradigms. Each methodology is underpinned by unique theoretical and empirical foundations, presenting distinct opportunities
- 3 months ago, 15 Dec 2024, 01:48am -
The Ultimate Strength Index [Financial Hacker]
The RSI (Relative Strength Index) is a popular indicator used in many trading systems for filters or triggers. In TASC 12/2024 John Ehlers proposed a replacement for this indicator. His USI (Ultimate Strength Index) has the advantage of symmetry – the range is -1 to 1 – and, especially
- 3 months ago, 15 Dec 2024, 01:47am -
Day 30: Summing up [OSM]
On Day 29, we conducted our out-of-sample test on the four strategies and found that the adjusted strategy came out on top. We made this conclusion after ranking a cross section of the following metrics: cumulative return, Sharpe Ratio, and max drawdown. If we wanted to commit capital, there would
- 3 months ago, 12 Dec 2024, 11:16pm -
Can We Use Active Share Measure as a Predictor? [Quantpedia]
Active Share is a metric introduced to quantify the degree to which a portfolio differs from its benchmark index. It is expressed as a percentage, ranging from 0% (fully overlapping with the benchmark) to 100% (completely different). The concept gained popularity because it was believed that higher
- 3 months ago, 12 Dec 2024, 06:42am -
From the Pits to the Page: A Conversation with Kris Abdelmessih [Robot Wealth]
It was my absolute pleasure to chat with Kris Abdelmessih about markets and life. Kris was an options market maker who started out in the trading pits of New York and later flipped the script to set up the commodity options business for hedge fund Parallax Advisory. Today, Kris writes the Moontower
- 3 months ago, 12 Dec 2024, 06:42am -
Fast trend following [Quantitativo]
“I always say that you could publish trading rules in the newspaper and no one would follow them. The key is consistency and discipline.” Richard Dennis. Richard Dennis is one of the greatest trend-following traders in history, renowned for transforming a small loan into a fortune in the
- 3 months ago, 11 Dec 2024, 04:28pm -
Frog in the Pan Momentum: International Evidence [Alpha Architect]
This article analyzes various reasons why momentum strategies might work outside US borders. While the US story is firmly rooted in behavioral biases, is the same true on an international scale? That seems logical and likely. In fact, the authors conclude that a “slow diffusion of news best
- 3 months ago, 9 Dec 2024, 08:00pm -
When Correlations Break or Hold: Strategies for Effective Hedging and Trading [Relative Value Arbitrage]
It’s well known that there is a negative relationship between an equity’s price and its volatility. This can be explained by leverage or, alternatively, by volatility feedback effects. In this post, I’ll discuss practical applications to exploit this negative correlation between equity prices
- 3 months ago, 8 Dec 2024, 09:40pm -
Taking an income from your trading account - probabilistic Kelly with regular withdrawals [Investment Idiocy]
Programming note: This post has been in draft since ... 2016! One question you will see me asked a lot is 'how much money do I need to become a full time trader?'. And I usually have a handwaving answer along the lines of 'Well if you think your strategy will earn you 10% a year, then
- 3 months ago, 6 Dec 2024, 07:31pm -
Day 29: Out of sample [OSM]
The moment of truth has arrived! On Day 28, we iterated through all the metrics we had previously used to identify and analyze the robustness of our strategy. We found the new adjusted strategy performed better than the original and adjusted strategies. Such performance was also statistically
- 3 months ago, 6 Dec 2024, 07:31pm -
Laying the Groundwork for Ito's Lemma and Financial Stochastic Models [Quant Insti]
This is a two-part blog where we’ll explore how Ito’s Lemma extends traditional calculus to model the randomness in financial markets. Using real-world examples and Python code, we’ll break down concepts like drift, volatility, and geometric Brownian motion, showing how they help us understand
- 3 months ago, 6 Dec 2024, 07:30pm -
Diversifying Trend Following Strategies Improves Portfolio Efficiency [Alpha Architect]
Since the turn of the century portfolios have been exposed to four periods of crisis: the bursting of the tech bubble and the events of September 11, 2001, from 2000-2002; the Great Financial Crisis in 2007-2008, the COVID-19 pandemic in 2020, and the period of persistent inflation in 2022 when both
- 3 months ago, 6 Dec 2024, 07:30pm -
Research Review | 6 December 2024 | Index and Passive Investing [Capital Spectator]
Limits to Diversification: Passive Investing and Market Risk Lily H. Fang (INSEAD), et al. September 2024 We show that the rise of passive investing leads to higher correlations among stocks and increased market volatility, thereby limiting the benefit of diversification. The extent to which a stock
- 3 months ago, 6 Dec 2024, 07:30pm -
Naive Backtesting [Anton Vorobets]
I am occasionally asked about historical backtests “proving” that CVaR is a better risk measure than variance. I provide such a backtest in Section 2.6 of the Portfolio Construction and Risk Management book1 and explain why it is naive (see the PDF at the bottom of this article). Thanks for
- 3 months ago, 5 Dec 2024, 07:15pm -
Trader’s Guide to Front-Running Commodity Seasonality [Quantpedia]
Seasonality is a well-known phenomenon in the commodity markets, with certain sectors exhibiting predictable patterns of performance during specific times of the year. These patterns often attract investors who aim to capitalize on anticipated price movements, creating a self-reinforcing cycle. But
- 3 months ago, 5 Dec 2024, 07:18am -
Day 28: Reveal [OSM]
On Day 27, we had our strategy enhancement reveal. By modifying the arithmetic behind our error correction, we chiseled another 16% points of outperformance vs. buy-and-hold and the original 12-by-12 strategy. All that remains now is to run the prediction scenario metrics and conduct circular block
- 3 months ago, 5 Dec 2024, 07:17am -
Day 27: Enhancement [OSM]
On Day 26, we extended the comparative error analysis to the original, 12-by-12 strategy and showed how results were similar to the unadjusted strategy relative to the adjusted one. The main observation that emerged was that the adjusted strategy performed better than the others due to identifying
- 3 months ago, 3 Dec 2024, 04:38pm -
Hurst Exponent Applications: From Regime Analysis to Arbitrage [Relative Value Arbitrage]
One of my favourite ways to characterize the market regime is by using the Hurst exponent. However, its applications are not limited to identifying market regimes. There are innovative ways to utilize it. In this post, I will discuss two approaches to applying the Hurst exponent. Using the Hurst
- 3 months ago, 2 Dec 2024, 04:34pm -
Day 26: Adjusted vs. Original [OSM]
The last five days! On Day 25, we compared the peformance of the adjusted vs. unadjusted strategy for different prediction scenarios: true and false positives and negatives. For true positives and false negatives, the adjusted strategy performed better than the unadjusted. For true negatives and
- 3 months ago, 2 Dec 2024, 04:33pm -
Time-Varying Drivers of Stock Prices [Alpha Architect]
This paper examines the time-varying roles of subjective expectations in driving stock price and return variations. Specifically, it focuses on how subjective cash flow expectations (CF) and discount rate expectations (DR) contribute to stock price fluctuations across different economic conditions,
- 3 months ago, 2 Dec 2024, 04:33pm -
Modelling UVXY trading strategies with Excel [Robot Wealth]
UVXY is an ETF that targets 1.5x the daily returns of a 30-day constant-maturity position in VX futures – the SPVIXSTR index. Before 2018, it targeted 2x returns – but Volmageddon ruined the fun. UVXY has to trade every day: To rebalance its notional exposure back to its target due to: Movements
- 3 months ago, 30 Nov 2024, 08:37pm -
AWS Trading Part 2 - The Strategy [Black Arbs]
In [part 1] [youtube video link] we covered the data pipeline portion of the AWS trading bot architecture. I demonstrated how to set up your AWS environment, including creating a simple dynamoDB database to hold our price and strategy data. Then we walked through the data pipeline code in detail
- 3 months ago, 30 Nov 2024, 08:36pm -
Calendar Anomalies, Much Ado About Nothing [Alpha Architect]
An anomaly is a pattern in stock returns that deviates from what is expected based on established financial theories or models. These patterns can sometimes present opportunities for abnormal returns. However, they are often inconsistent and challenging to exploit. Many anomalies have achieved
- 3 months ago, 30 Nov 2024, 08:36pm -
Day 25: Positives and Negatives [OSM]
On Day 24, we explained in detail how the error correction term led to somewhat unexpected outperformance relative to the original and unadjusted strategies. The reason? We hypothesized that it was due to the the error term adjusting the prediction in a trending direction when or if the current
- 4 months ago, 26 Nov 2024, 08:48pm -
Triple-70 Breadth Thrust Triggers [Quantifiable Edges]
The strong breadth readings over the last few days triggered one of my oldest and most favorite studies. It looks at other times that breadth came in strong for 3 days in a row. I have shown this study many times over the years. I often refer to it as a Triple-70 Thrust, because it requires the NYSE
- 4 months ago, 26 Nov 2024, 08:48pm -
The Risk-Constrained Kelly Criterion: From definition to trading [Quant Insti]
The Kelly Criterion is good enough for long-term trading where the investor is risk-neutral and can handle big drawdowns. However, we cannot accept long-duration and big drawdowns in real trading. To overcome the big drawdowns caused by the Kelly Criterion, Busseti et al. (2016) offered a
- 4 months ago, 25 Nov 2024, 09:26pm -
Day 24: Lucky Logic [OSM]
On Day 23 we dove into the deep end to understand why the error correction we used worked as well as it did. We showed how traditional machine learning uses loss functions and then hypothesized how our use helped improve predictions through its effect on the correlation of the signs of the
- 4 months ago, 25 Nov 2024, 09:25pm -
Factors are global, respectable and repeatable [Alpha Architect]
Do we have a chaotic “factor zoo” as some critics maintain? Is there a replication crisis in the research on factors? The authors of this research answer in the negative and argue that 82% of factors are replicable, the factor zoo is well-organized, and the factors are legit. Such bold
- 4 months ago, 25 Nov 2024, 09:25pm -
Valuation Timing with Excel [Robot Wealth]
Data analysis plays a central role in making sense of financial markets. But how can you verify the conclusions others draw, or better yet, uncover your own insights? Microsoft Excel remains one of the most powerful and accessible tools for financial data analysis, allowing anyone—from beginners
- 4 months ago, 24 Nov 2024, 09:18pm -
Examining Contango and Backwardation in VIX Futures [Relative Value Arbitrage]
In this post, I will continue exploring various aspects of the volatility index and the associated volatility futures. Data To conduct this study, data is essential. Below are the data sources: Spot VIX: Yahoo Finance provides data but no longer allows direct downloads. With some programming, a
- 4 months ago, 24 Nov 2024, 09:18pm -
Improving Low Volatility Strategies [Alpha Architect]
One of the big problems for the first formal asset pricing model developed by financial economists, the CAPM, was that it predicts a positive relationship between risk and return while, empirical studies have found the actual relationship to be basically flat, or even negative. In addition,
- 4 months ago, 24 Nov 2024, 09:17pm -
Takeaways From QuantMinds 2024 In London [Turnleaf Analytics]
- 4 months ago, 24 Nov 2024, 09:17pm -
Day 23: Logic or Luck [OSM]
On Day 22 we saw a meaningful improvement in our strategy by waiting an additional week to quantify model error and then using that error term to adjust the prediction on the most recently completed week of data. What was even more dramatic was comparing this improved strategy to one that followed
- 4 months ago, 21 Nov 2024, 07:14pm -
Tactical Asset Allocation Performance Lower Bound [Anton Vorobets]
Asset allocation is commonly split into strategic asset allocation (SAA) and tactical asset allocation (TAA). Strategic usually refers to investment horizons above one year, while tactical usually refers to investments horizons below one year. Almost all institutional investors are required to have
- 4 months ago, 20 Nov 2024, 09:19pm -
The Delusion of Market Efficiency [5th Horizon Research]
Key Point: Markets have potentially become less efficient in recent decades. There are several reasons why this might be the case. Implication: Market inefficiency means more opportunities for outperformance for sufficiently equipped investors. ____________ The question of market efficiency is of
- 4 months ago, 20 Nov 2024, 09:17pm -
How to Evaluate the Effectiveness of a Trading Strategy: p-Values and Bootstrapping Methods [Concretum Group]
One common question we often receive from our readers is: “How do you evaluate the effectiveness of a trading strategy?” In this post, we’ll explore two fundamental techniques used in quantitative research to assess whether a trading strategy may genuinely offer an advantage or if its
- 4 months ago, 20 Nov 2024, 09:12pm -
CTA index replication and the curse of dimensionality [Investment Idiocy]
So, first I should apologise for the LONG.... break between blogposts. This started when I decided not to do my usual annual review of performance - it is a lot of work, and I decided that the effort wasn't worth the value I was getting from it (in the interests of transparency, you can still
- 4 months ago, 19 Nov 2024, 04:41pm -
Day 22: Error Correction [OSM]
On Day 21, we wrung our hands with frustration over how to proceed. The results of our circular block sampling suggested we shouldn’t expect a whole lot of outperformance in our 12-by-12 model out-of-sample. To deal with this our choices were, back to the drawing board or off to the waterboard to
- 4 months ago, 19 Nov 2024, 04:41pm -