Quant Mashup
Quantocracy is now on Bluesky and Threads. See the links in the header. - Mike
Meta-Labeling (A Toy Example) [Quants Portal]
Welcome to the concept of Meta-Labeling. This blog post investigates the idea and tries to help build an intuition for what is taking place. The idea of meta-labeling is first mentioned in the textbook Advances in Financial Machine Learning by Marcos Lopez de Prado and promises to improve model and
- 5 years ago, 24 Apr 2019, 10:41am -
P-hacking and backtest overfitting [Mathematical Investor]
Recent public reports have underscored a crisis of reproducibility in numerous fields of science. Here are just a few of recent cases that have attracted widespread publicity: In 2012, Amgen researchers reported that they were able to reproduce fewer than 10 of 53 cancer studies. In 2013, in the
- 5 years ago, 24 Apr 2019, 10:41am -
Podcast: Gary Antonacci: combining relative strength price momentum with absolute momentum [System Trader Show]
Imagine that you spend a few minutes a month to manage your investment. All is rule-based, statistically significant, simple and logical. No place for discretionary decisions, no guessing, no gut feeling, no forecasting. And in the long-term, you are almost sure to beat all the actively managed
- 5 years ago, 24 Apr 2019, 10:40am -
Replicating Famous Hedge Funds [Factor Research]
Diverse hedge fund strategies can be replicated via factor-mimicking portfolios The analysis highlights that most returns are explained by factors, not alpha However, hedge funds can create value by harvesting factor returns efficiently via portfolio construction INTRODUCTION In 1973, the U.S. Food
- 5 years ago, 23 Apr 2019, 10:24am -
The Recent $RUT / $SPX Divergence And Why It Might Be Bullish [Quantifiable Edges]
One aspect of recent market action that is interesting is the weakness in the Russell vs the SPX over the last few days. While some may worry the divergence is concerning, an old Quantifinder study that appeared last night indicates the setup is likely suggestive of an upside edge. It looked at
- 5 years ago, 23 Apr 2019, 10:23am -
Bond ETFs in an Era of Rising Rates [Better Buy And Hold]
Bonds are key to a well-diversified portfolio; they’ve provided both consistent returns and consistent diversification against riskier asset classes like stocks and real estate. But bonds face stiff headwinds in the coming years. That’s not prognostication, it’s a mathematical certainty.
- 5 years ago, 22 Apr 2019, 10:45am -
mlfinlab on PyPi Index [Quants Portal]
mlfinlab is a “living and breathing” project in the sense that it is continually enhanced with new code from the chapters in the Advanced Financial Machine Learning book. We have built this on lean principles with the goal of providing the greatest value to the quantitative community. Currently
- 5 years ago, 22 Apr 2019, 10:44am -
The Path-Dependent Nature of Perfect Withdrawal Rates [Flirting with Models]
The Perfect Withdrawal Rate (PWR) is the rate of regular portfolio withdrawals that leads to a zero balance over a given time frame. 4% is the commonly accepted lower bound for safe withdrawal rates, but this is only based on one realization of history and the actual risk investors take on by using
- 5 years ago, 22 Apr 2019, 10:43am -
12 Quant Business Practices to Improve [Two Centuries Investments]
Only showing the latest backtest versions without disclosing their out-of-sample degradation Backtesting today’s static holdings (managers, asset allocations, sub-asset-classes) into the past - filled with look-ahead bias Charging fees that are on par with the tracking error of the strategy Asking
- 5 years ago, 22 Apr 2019, 10:43am -
Compound Your Knowledge Episode 9: Investor Confidence & Issues with Factor Investing [Alpha Architect]
In this week’s post, we discuss two posts. The first post, written by Elisabetta, examines a new method attempting to directly measure aggregate investor overconfidence. The second post, written by Larry Swedroe, examines issues that plague Factor Investing.
- 5 years ago, 22 Apr 2019, 10:43am -
Multi-threading Trading Strategy Back-tests and Monte Carlo Simulations in Python [Python For Finance]
In this post I will be looking at a few things all combined into one script – you ‘ll see what I mean in a moment… Being a blog about Python for finance, and having an admitted leaning towards scripting, backtesting and optimising systematic strategies I thought I would look at all three at
- 5 years ago, 19 Apr 2019, 03:54pm -
Factor Investing is Simple, But Not Easy (Video) [Alpha Architect]
We are creating a series of long-form educational videos that present materials often covered in our white papers. The intent of these videos is make our content more accessible to visual learners. The video below is a presentation related to a long-form post we have on a post called, “The
- 5 years ago, 19 Apr 2019, 03:54pm -
Daily Extremes - Significance of time [Philipp Kahler]
Analysing at which time daily market extremes are established shows the significance of the first and last hours of market action. See how different markets show different behaviour and see what can be learned from this analysis. Probability of Extremes A day of trading usually starts with a lot of
- 5 years ago, 18 Apr 2019, 10:48am -
Gini Index For Decision Trees [Quant Insti]
Decision trees are often used while implementing machine learning algorithms. The hierarchical structure of a decision tree leads us to the final outcome by traversing through the nodes of the tree. Each node consists of an attribute or feature which is further split into more nodes as we move down
- 5 years ago, 18 Apr 2019, 10:48am -
SPX Strangle - 2018 Review [DTR Trading]
I've been a little curious how the SPX strangle has been performing since I last analyzed it's results back in 2015. For this article, we'll just look at the following variations and how they performed from January 2007 through December 2018: 59 DTE - 16 Delta Short Strikes (100:50) /
- 5 years ago, 18 Apr 2019, 10:48am -
Reliably download historical market data from Yahoo! Finance with Python [Ran Aroussi]
Ever since Yahoo! Finance decommissioned their historical data API, Python developers looked for a reliable workaround. As a result, my library, fix-yahoo-finance, gained momentum and was downloaded over 100,000 acording to PyPi. fix-yahoo-finance aimed to offer a temporary fix to the problem by
- 5 years ago, 17 Apr 2019, 10:23am -
Trading and investing performance - year five [Investment Idiocy]
Hard to believe, but it has been five and a half years since I had to go to an office to manage other peoples money, and exactly five years since I began systematically trading my own. Time then for another annual review. Perhaps it is confusing for overseas readers, but these reviews follow the UK
- 5 years ago, 17 Apr 2019, 10:23am -
Classification of Market Regimes [Quant Dare]
Understanding classification of market regimes is fairly important in finance. It all comes down to correctly predicting the way prices are going to move. But prediction isn’t the only crucial thing; knowing how to describe what has already happened is also of great importance. In this QuantDare
- 5 years ago, 17 Apr 2019, 10:22am -
The Factors that Plague Factor Investing [Alpha Architect]
For those interested in the literature on factor-based investing, a new paper by Robert Arnott, Campbell Harvey, Vitali Kalesnik and Juhani Linnainmaa, “Alice’s Adventures in Factorland: Three Blunders That Plague Factor Investing,” focuses on why, in some ways, it has failed to live up to its
- 5 years ago, 16 Apr 2019, 09:45pm -
The seven reasons most econometric investments fail [Mathematical Investor]
Marcos Lopez de Prado, recently named 2019 Quant of the Year by the Journal of Portfolio Management, has released a presentation entitled The seven reasons most econometric investments fail. Lopez de Prado’s overall point is that many widely used econometric approaches in finance either rely on
- 5 years ago, 16 Apr 2019, 09:45pm -
Warren Buffet: The Greatest Factor Investor of All Time? [Factor Research]
A factor exposure of Berkshire Hathaway reveals structural factor tilts Long Value, Size, Quality, and Low Volatility factors and short Growth and Dividend Yield Warren Buffet generated little alpha, but is highly skilled at harvesting factor returns SAINTS AND STAR INVESTORS The Vatican waits at
- 5 years ago, 16 Apr 2019, 09:45pm -
Aggregate Investor Confidence in the Stock Market [Alpha Architect]
What are the Research Questions? A common assumption in finance theory is that agents in the stock market behave rationally. Even if temporary mispricing occurs, due to irrational beliefs or incomplete information of some agents, arbitrageurs swiftly restore equilibria. In contrast, the history of
- 5 years ago, 16 Apr 2019, 09:44pm -
The Speed Limit of Trend [Flirting with Models]
Trend following is “mechanically convex,” meaning that the convexity profile it generates is driven by the rules that govern the strategy. While the convexity can be measured analytically, the unknown nature of future price dynamics makes it difficult to say anything specific about expected
- 5 years ago, 15 Apr 2019, 09:56am -
Investment Strategy in an Uncertain World [Alpha Architect]
In 1921, University of Chicago Professor Frank Knight wrote the classic book “Risk, Uncertainty, and Profit.” An article from the Library of Economics and Liberty described Knight’s definitions of risk and uncertainty as follows: Risk is present when future events occur with measurable
- 5 years ago, 11 Apr 2019, 01:05pm -
Coming Soon: Quant Minds International - May 13-17 - Vienna, Austria
QuantMinds International heads to Vienna on 13-17 May! Now in it’s 26th year, QuantMinds International brings together 400+ global quant finance experts from banks, buy-side, academia and beyond, to cover every hot topic in quant finance over the course of 5 days. Quote VIP code FKN2595QCYMU for a
- 5 years ago, 10 Apr 2019, 01:50pm -
Learning to Rank with TensorFlow [Quant Dare]
Alphabet, the largest Internet-based company, has based its success on sophisticated information retrieval algorithms since its origins. Now, 20 years later, one of its divisions is open-sourcing part of its secret sauce, drawing attention from developers all over the world. Since Google was founded
- 5 years ago, 10 Apr 2019, 01:48pm -
The Problem With Unfilled Gaps Down From Intermediate-Term Highs [Quantifiable Edges]
I saw some bullish studies emerge last night. But there was a study below that was not favorable that I thought readers would find interesting. One potential issue with Tuesday’s decline is that it included an unfilled gap down. Generally, an unfilled gap down from a high has more trouble quickly
- 5 years ago, 10 Apr 2019, 01:48pm -
Tail risk of systematic investment strategies and risk-premia alpha [Artur Sepp]
Everyone knows that the risk profile of systematic strategies can change considerably when equity markets turn down and volatilities spike. For an example, a smooth profile of a short volatility delta-hedged strategy in normal regimes becomes highly volatile and correlated to equity markets in
- 5 years ago, 9 Apr 2019, 02:22pm -
S&P500 - when to be invested [Philipp Kahler]
S&P500 – when to be invested The stock market shows some astonishingly stable date based patterns. Using a performance heat map of the S&P500 index, these patterns are easily found. Date based performance The chart below shows the profit factor of a long only strategy investing in the
- 5 years ago, 9 Apr 2019, 02:18pm -
A Remarkable New Factor: The Cash Conversion Cycle [Alpha Architect]
The barrier to entry into the factor zoo has increased exponentially. Prof. Harvey (now working with RAFI) made this clear at the 2017 AFA address, when he highlighted the issue with data-mining in front of a room full of academics from top-flight research programs in the country. Prof. Harvey and
- 5 years ago, 9 Apr 2019, 12:32pm -
Equity Factor Census [CXO Advisory]
Should investors trust academic equity factor research? In their February 2019 paper entitled “A Census of the Factor Zoo”, Campbell Harvey and Yan Liu announce a comprehensive database of hundreds of equity factors from top academic journals and working papers through January 2019, including a
- 5 years ago, 9 Apr 2019, 12:32pm -
The First Risk and Opportunity in Active Investing [Two Centuries Investments]
What is the most significant risk in quant (and all active) investing today? The First Moment (the mean) The Second Moment (under-estimating tracking error) The Third Moment (skewness, left tails, crash risk) Mis-specified risk model (hidden factor biases, factors ‘eating’ alphas) Sub-optimal
- 5 years ago, 8 Apr 2019, 11:10pm -
Compound Your Knowledge Episode 7: Momentum & Short Sellers [Alpha Architect]
In today’s video, we examine three articles from last week. The first article, written by Larry Swedroe, examines the Momentum of News. The second article, written by Wes, examines an out-of-sample test on Momentum by looking at Russian stocks in the 19th century. The third article, written by
- 5 years ago, 8 Apr 2019, 11:09pm -
Revisiting The Weird Portfolio [Flirting with Models]
A few years ago, we blindly applied mean-variance optimization to a set of capital market assumptions, and The Weird Portfolio was born. This portfolio is weird because it does not look like typical investor portfolios since it tilts heavily toward credit-based and alternative asset classes. Despite
- 5 years ago, 8 Apr 2019, 09:58am -
Multi-Factor Smart Beta ETFs [Factor Research]
Investors have leaned towards multi-factor over single-factor products in recent years The factor selection and portfolio construction of multi-factor ETFs can be challenged Multi-factor ETFs often feature factors, such as growth, which are not supported by academic research while lacking exposure
- 5 years ago, 8 Apr 2019, 09:57am -
The most overlooked aspect of algorithmic trading [EP Chan]
Many algorithmic traders justifiably worship the legends of our industry, people like Jim Simons, David Shaw, or Peter Muller, but there is one aspect of their greatness most traders have overlooked. They have built their businesses and vast wealth not just by sitting in front of their trading
- 5 years ago, 5 Apr 2019, 11:40am -
A Simple Mean Reversion Stock Trading Script in C# [Trevor Thackston]
Python is not the only language In the past, I’ve published stories on Medium showing how to write algorithms that trade stocks based on company fundamentals and how to run a technical analysis day trading algorithm in the cloud. Both of those articles assumed that: Python was the language the
- 5 years ago, 5 Apr 2019, 11:40am -
Low Volume At Highs Does Not Provide The Short-Term Bearish Edge It Once Did [Quantifiable Edges]
Years ago, strong overbought readings during an uptrend were easily sold – especially when volume came in very light. But that has not held true in recent years. There were several studies I examined last night that noted the low volume, but they have all lost their edge over the last several
- 5 years ago, 5 Apr 2019, 11:38am -
Tests of Constant and Variable Acceleration Model Kalman Filters [Dekalog Blog]
In my last post I said that this next post would report the results of tests on a Constant Acceleration model Kalman filter, and the results are: fail, just like the Constant Velocity model, so I won't bore readers with reporting the details of the failed tests. However, tests of a Variable
- 5 years ago, 5 Apr 2019, 11:38am -
State of Trend Following in March [Au Tra Sy]
Slightly negative result for the State of Trend Following last month, leaving the YTD number in slight positive territory. Please check below for more details. Detailed Results The figures for the month are: March return: -0.22% YTD return: 2.55% Below is the chart displaying individual system
- 5 years ago, 5 Apr 2019, 11:38am -
The Momentum of News [Alpha Architect]
Since the development of the capital asset pricing model (CAPM) in the 1960s, hundreds of anomalies (what John Cochrane famously called a “zoo of new factors”) have been uncovered in the cross-section of stock returns. While some of the anomalies (such as the size and value factors) have
- 5 years ago, 4 Apr 2019, 03:09pm -
Wisdom State of Trend Following - March 2019 [Wisdom Trading]
Please find this month’s report of the Wisdom State of Trend Following. Performance is hypothetical. Chart for March: The chart for the first quarter: And the 12-month chart: Below are the summary stats: Horizon Return Ann. Vol. Last month 1.49% 12.99% Year To Date -6.21% 12.56% Last 12 months
- 5 years ago, 4 Apr 2019, 03:09pm -
Mutual Fund Investors Irrationally Naive? [CXO Advisory]
Do retail investors rationally account for risks as modeled in academic research when choosing actively managed equity mutual funds? In their March 2019 paper entitled “What Do Mutual Fund Investors Really Care About?”, Itzhak Ben-David, Jiacui Li, Andrea Rossi and Yang Song investigate whether
- 5 years ago, 4 Apr 2019, 03:08pm -
Global Equity Momentum: A Craftsman's Perspective - Executive Summary [Invest ReSolve]
Quantitative investment researchers often seek uniquely optimal parameterizations of their strategies amongst a broad “robust” region of parameter choices. However, this ignores a critically important feature of investing – Diversification. By diversifying across many equally legitimate
- 5 years ago, 3 Apr 2019, 12:50pm -
The 50/50 SPY Strategy [Alvarez Quant Trading]
I was talking to my trading buddy about the annoying part of trend following strategies. They may get you out of the major sell off but then you miss part of the run up. Using a 200-day moving average on the SPY would have got you out in late 2018. This would have been within 10% from the top and
- 5 years ago, 3 Apr 2019, 12:50pm -
Understanding the shape of data (II) [Quant Dare]
Topology could be used to gain insight on the shape of our data, as we explained in our last post. Today, we will put this theory into practice by analyzing the 2008 financial crisis. Persistence diagrams We will start by giving an equivalent representation of the persistence barcode that we saw
- 5 years ago, 3 Apr 2019, 12:50pm -
Over 90 Years of Golden Crosses (and a look at past drawdowns) [Quantifiable Edges]
The SPX made a Golden Cross formation on Monday. 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. I used my Norgate data and Amibroker software to look back as far as 12/31/1928.
- 5 years ago, 2 Apr 2019, 09:37am -
Intro to Hidden Markov Chains [Quant Insti]
In a situation where you wish to determine the returns on investment, one may have all the expertise to do this but without certain information (missing pieces) it would not be possible to derive to a conclusive figure. In practical terms “assume you have the value of all returns of all assets in
- 5 years ago, 2 Apr 2019, 09:37am -
Tactical Asset Allocation in March [Allocate Smartly]
This is a summary of the recent performance of a wide range of excellent Tactical Asset Allocation (TAA) strategies, net of transaction costs. These strategies are sourced from books, academic papers, and other publications. While we don’t (yet) include every published TAA model, these strategies
- 5 years ago, 1 Apr 2019, 01:05pm -
Short Selling + Insider Selling = Bad News [Alpha Architect]
What are the research questions? Is there a relationship between short selling activity and insider selling? What is the impact of short selling trading strategies that are conditioned on insider trading signals? Does the price impact of short selling subsume that of insider trading? Is the price
- 5 years ago, 1 Apr 2019, 01:04pm -