Quant Mashup
Quantocracy is now on Bluesky and Threads. See the links in the header. - Mike
Hierarchical clustering: explanation and classification [Quant Dare]
Clustering algorithms are one of the main techniques in the field of unsupervised learning. In the machine learning context, we understand by unsupervised learning the process of analyzing and identifying patterns in unlabeled datasets. Unsupervised learning algorithms observe similarities and
- 2 years ago, 25 May 2022, 09:45pm -
Best Performing Value Strategies - Part 1 [Quantpedia]
Value strategies attempting at determining a fair value of an asset are one of the first-ever employed strategies in the markets. We all know about Benjamin Graham and Warren Buffet that are one of the best known examples of Value pioneers. Since then, however, Value strategies have evolved
- 2 years ago, 24 May 2022, 10:16am -
Risk Parity & Rising Rates [Factor Research]
Risk parity strategies have become available via mutual funds and ETFs, but portfolio construction varies Rising interest rates are seen as a threat and recent performance was disappointing However, rising correlations between stocks and bonds would be more concerning INTRODUCTION Risk parity has
- 2 years ago, 24 May 2022, 10:16am -
Value Investing: Headwinds, Tailwinds, and Variables [Alpha Architect]
n my past life as a rower, I spent a lot of time figuring out which way the wind was blowing: Would it be a headwind and slow things down? Or would it be a tailwind and shorten the race? But a tailwind that went against the current could cause choppy water…which would slow things back down.
- 2 years ago, 22 May 2022, 11:17am -
Trend Following: Timing Fast and Slow Trends [Alpha Architect]
Momentum, the tendency of past winner stocks to outperform past loser stocks over the next several months, is one of the most well-documented and well-researched asset pricing anomalies. In our book “Your Complete Guide to Factor-Based Investing,” Andrew Berkin and I presented the evidence of a
- 2 years ago, 19 May 2022, 08:12pm -
How to Increase Factor Definition Robustness [Quant Dare]
When dealing with factors information is important to go to the detail and get insight about how the factor is built. Ratios combination improves robustness. When we read papers or studies about the Factor Premium of different factors we almost always come across with the problem of how to define
- 2 years ago, 19 May 2022, 02:56am -
Can You Predict Cryptocurrencies? [Decoding Markets]
The Nobel price laureate physicist Niels Bohr once said, “Prediction is very difficult, especially if it’s about the future.” This quote captures the reality in the markets rather accurately. Is Bitcoin breaking through the 50k mark this year? Or even the 100k mark? Will Ethereum outperform
- 2 years ago, 19 May 2022, 02:56am -
Extending Historical Daily Bond Data to 100 Years [Quantpedia]
Finding a good data source with quality data and long history is one of the greatest challenges in quantitative trading. There definitely are some data sources with very long histories. However, they tend to be on the more expensive side. On the other hand, cheap or free data usually lacks quality
- 2 years ago, 18 May 2022, 12:46pm -
SPX and Gold Momentum Portfolio [Alvarez Quant Trading]
Given the current rise in inflation, there has been a lot more interest in assets that do well during these times. Gold is one asset that is frequently brought up as an inflation hedge. I have also seen more lately about combining these two into a portfolio. Testing Notes The test range is from 1970
- 2 years ago, 18 May 2022, 12:46pm -
Inflation as equity trading signal [SR SV]
Academic research suggests that high and rising consumer price inflation puts upward pressure on real discount rates and is a headwind for equity market performance. A fresh analysis of 17 international markets since 2000 confirms an ongoing pervasive negative relation between published CPI dynamics
- 2 years ago, 16 May 2022, 08:43pm -
Bayesian net and Boparan 7.625% 30 Nov 2025 Prospectus [Gautier Marti]
This blog is a follow-up on a first naive modelling of Matalan notes using Bayesian nets. Bayesian nets are a good tool to quantify qualitative knowledge, as explained here. The work presented in this blog post was mostly realized by Zhiyuan Shen in the context of his financial mathematics master of
- 2 years ago, 16 May 2022, 08:43pm -
Form 3 and Form 4 Alpha: Focus on What Insiders Don't Trade [Alpha Architect]
Plenty of research ( most recently, Cziraki et al. 2021) shows that insider buys contain value-relevant information while insider sales include little to no information. But what about the action of “not trading”? The authors of this study ask the following: Are the trades of portfolio insiders
- 2 years ago, 16 May 2022, 08:42pm -
The 1-2 Punch of Major Losses in Both Stocks and Government Bonds [Allocate Smartly]
This is a follow up to our previous post. Same subject, additional data. Both stocks and government bond funds have suffered major losses this year. Stocks and gov bonds form the core of most portfolios. Gov bonds tend to counterbalance risk assets, helping to smooth returns during periods of market
- 2 years ago, 13 May 2022, 12:00pm -
Momentum Investing: What happens if we boot stocks over 10x P/S? [Alpha Architect]
Short answer up front–very little.(1) This was a simple question posed to me by one of our blog readers–what impact does excluding stocks trading at 10x P/S have on a Momentum portfolio? A good question–especially for those who are “value” investors that are interested in momentum. For
- 2 years ago, 13 May 2022, 11:59am -
Institutions Trading Against Anomalies: Are Their Trades Informed? [Alpha Architect]
Outperforming the market, before expenses, is a zero-sum game—if one group of active investors outperforms, another group of active investors must underperform. Is there a group of sophisticated investors who persistently exploit more naïve investors? The body of research has found that before
- 2 years ago, 13 May 2022, 11:59am -
Selecting a Stock Market Data (Web) API: Not So Simple [Portfolio Optimizer]
I am sometimes asked if I recommend any stock market data (web) API for a personal use, especially because I mention Alpha Vantage in a couple of previous posts1. I will describe in this post part of the thought process and of the due diligence which led me to select this financial market data
- 2 years ago, 11 May 2022, 10:11am -
Historic and recent performance by trading rule [Investment Idiocy]
Another brief post this month; the deadline for the first draft of my latest book is only a couple of months away and I haven't got much free time! But I was asked an excellent question on twitter recently, which was how the various types of trading rule have contributed to my p&l this
- 2 years ago, 11 May 2022, 10:11am -
Top Quantitative Finance Blogs and Vlogs: Review 2022 [Quant at Risk]
The Internet is full of articles covering all kinds of aspects related to finance. Stocks, crypto, indexes have always been a hot topic and many are seeking new ideas in these areas. It is true that in a vast amount of the content one may get lost. There are tons of blogs with irrelevant, outdated,
- 2 years ago, 7 May 2022, 11:00am -
Using Momentum to Find Value [Alpha Architect]
Value and momentum are two of the most powerful explanatory factors in finance. Research on both has been published for over 30 years(1). However, it was not until recently that the two had been studied in combination and across markets. Bijon Pani and Frank Fabozzi contribute to the literature with
- 2 years ago, 5 May 2022, 11:58am -
Achieving a well-diversified portfolio based on Graph Theory [Quant Dare]
Graph Theory is widely used in almost every area of interest for visualization or analysis purposes but, for some reason, it is not usually applied in finance. Why not trying to take advantage of its potential in portfolio management? Introduction Current uncertainty is causing very pronounced
- 2 years ago, 5 May 2022, 11:58am -
The Future of Factor Investing [Alpha Architect]
In this article, the authors expound on the importance of the factor “revolution” in finance. Factor investing has moved from a bedrock position to a future of innovation and disruption. With respect to factors the authors discuss where we have been and what can we look forward to. What are the
- 2 years ago, 5 May 2022, 11:58am -
Economic growth and FX forward returns [SR SV]
Economic growth differentials are plausible predictors of foreign exchange return trends because they are related to differences in monetary policy and return on investment. Suitable metrics for testing growth differentials as trading signals must replicate historic information states. Two types of
- 2 years ago, 1 May 2022, 03:40am -
Video: Economic Data Analysis with Python Pandas (h/t @PyQuantNews) [Medallion Data Science]
In this video kaggle grandmaster Rob Mulla takes you through an economic data analysis project with python pandas. We walk through the process of pulling down the data for different economic indicators, cleaning and joining the data. Using the Fred api you can pull up to date data and compare,
- 2 years ago, 1 May 2022, 03:40am -
The Absorption Ratio: Measuring Financial Risk, Part 2 [Portfolio Optimizer]
In the previous post, I reviewed the turbulence index, an indicator of financial market stress periods based on the Mahalanobis distance, introduced by Chow and al.1 and Kritzman and Li2. In this post, I will review the absorption ratio, a measure of financial market fragility based on principal
- 2 years ago, 29 Apr 2022, 04:17am -
How Does Weighting Scheme Impacts Systematic Equity Portfolios? [Quantpedia]
How often do you think about the weights of the assets in your portfolio? Do you weigh your assets equally, or do you prefer value-weighting? The researchers behind a recent research paper analyzed various weighting schemes and examined their effect on factor strategy return. They studied five
- 2 years ago, 29 Apr 2022, 04:17am -
Betting Against Beta: New Insights [Alpha Architect]
The 2014 study by Andrea Frazzini and Lasse Pedersen, “Betting Against Beta,” established strong support for low-beta (as well as low-volatility) strategies. The authors found that for U.S. stocks, the betting against beta (BAB) factor (a portfolio that holds low-beta assets leveraged to a beta
- 2 years ago, 29 Apr 2022, 04:16am -
Random Forest on Financial Ratios as an Investment Strategy [Quant Dare]
Random Forests are widely used Machine Learning algorithms. In finance, certain financial ratios are used to try and predict whether or not a company will outperform the market. Can we use the random forest on financial ratios to articulate an investment strategy which outperforms a buy and hold
- 2 years ago, 29 Apr 2022, 04:16am -
Crypto Tokens and Crypto Coins: What Drives Performance? [Factor Research]
Investors assume that token prices increase with product utilization in the token ecosystem However, the correlation between the token prices and token volumes has been zero Likely explained by token prices substantially being driven by speculation INTRODUCTION Much of the crypto world is, by
- 2 years ago, 26 Apr 2022, 03:29am -
Inflation Deep Dive: An Examination of the Underlying BEA PCE Data [Light Finance]
Inflation is perhaps the least well understood phenomenon in economics. Once said to be exclusively a monetary phenomenon, our current predicament is significantly more complicated and there is little consensus as to the root cause. Until recently the concern was that inflation would run permanently
- 2 years ago, 26 Apr 2022, 03:29am -
Hacking 1-Minute Crypto Candlesticks: (2) Custom Charts using Plotly [Quant At Risk]
A clear and informative time-series visualisation is often a challenge. Especially this is true when it comes to candlestick charts in Python. Searching the Web for a perfect solution may bring you to the Plotly package which stores in its arsenal the corresponding function allowing for easy
- 2 years ago, 24 Apr 2022, 11:49am -
The Price of Transaction Costs [Quantpedia]
Capturing the systematic premia is the main aim of many quantitative traders. However, investors tend to overlook an important factor when backtesting. Trading costs are an essential part of every trade, and yet even when we consider them, we often only use an approximation. The recent article from
- 2 years ago, 24 Apr 2022, 11:49am -
Measuring uncertainty in time series data [Quant Dare]
In financial time series it is very common to make predictions of single points such as expected future prices or returns. But is there any other way of adding more information in our forecasts? In today’s post we will be making probabilistic forecasts for time series data using recurrent neural
- 2 years ago, 21 Apr 2022, 09:51pm -
The Implementation Costs of Indexed ETFs [Alpha Architect]
A common mistake made by many passive investors is that they view all index funds in the same asset class as “commodities(1)”, often considering only the expense ratio when making their investment choices. However, not all index funds are alike, and not all passively managed funds (what I refer
- 2 years ago, 21 Apr 2022, 09:51pm -
Can Market Maker Capital Constraints Result in Mispricing of ETFs? [Alpha Architect]
In this research, the authors explore the role of financial intermediaries in contagion or comovements in pricing efficiency. Specifically, lead market makers (LMMs) like Goldman Sachs, Cantor Fitzgerald, RBC Capital Markets, and others, have funding constraints that may influence their ability to
- 2 years ago, 21 Apr 2022, 09:51pm -
Thematic Indices: Looking at the Past or the Future? [Factor Research]
Thematic indices from MSCI have outperformed their benchmark since 2018 However, they have a rather unattractive factor mix Going against decades of research is not a sound investment strategy INTRODUCTION Although much of the future is uncertain, some technological innovations are rather certain.
- 2 years ago, 21 Apr 2022, 09:50pm -
Government Bonds Have Failed to Deliver When Needed [Allocate Smartly]
Most government bond funds have suffered major losses this year. What is worse is that those major losses have come when they’re needed most, when stocks and other risk assets are also falling. During times of market stress, gov bonds tend to act as a counterbalance to risk assets, but so far this
- 2 years ago, 18 Apr 2022, 10:31am -
The Turbulence Index: Measuring Financial Risk [Portfolio Optimizer]
One of the challenges in portfolio management is the timely detection of financial market stress periods, typically characterized by an increase in volatility and a breakdown in asset correlations1. Chow and al.2 propose to detect such periods through the usage of the caste distance, a measure
- 2 years ago, 18 Apr 2022, 10:31am -
How to use FX carry in trading strategies [SR SV]
FX forward-implied carry is a valid basis for trading strategies because it is related to divergences in monetary and financial conditions. However, nominal carry is a cheap and rough indicator: related PnLs are highly seasonal, sensitive to global equity markets, and prone to large drawdowns.
- 2 years ago, 18 Apr 2022, 10:30am -
Research Review | 15 April 2022 | Risk Factor Premia [Capital Spectator]
A Look Under the Hood of Momentum Funds Ayelen Banegas and Carlo Rosa (Federal Reserve) February 2022 Momentum investing has surged over the past few years, with assets growing at three times the rate of conventional funds. Using a comprehensive dataset of US equity funds, this paper examines the
- 2 years ago, 18 Apr 2022, 10:30am -
Trading and investing performance: year eight [Investment Idiocy]
Eight years! Wow. In late 2013 I walked out of an office for the last time where I had been working for AHL, a large systematic futures trading fund. A few months later, in April 2014, I had my own very small systematic futures trading account, and I started doing these performance reviews. And this
- 2 years ago, 14 Apr 2022, 09:24pm -
Bond Investing in Inflationary Times [Alpha Architect]
As the chief research officer of Buckingham Strategic Partners, the issue I am being asked to address most often is about fixed income strategies when yields are at historically low levels and inflation risk is heightened due to the unprecedented increase in money creation (through quantitative
- 2 years ago, 14 Apr 2022, 09:24pm -
Never Sell in May! [Financial Hacker]
“Sell in May and go away” is an old stock trader’s wisdom. But in his TASC May 2022 article, Markos Katsanos examined that rule in detail and found that it should rather be “Sell in August and buy back in October”. Can trading be really this easy? Let’s have a look at the simple seasonal
- 2 years ago, 14 Apr 2022, 10:25am -
What's the Best Factor for High Inflation Periods? - Part II [Quantpedia]
This second article offers a different look at high inflation periods, which we already analyzed in What’s the Best Factor for High Inflation Periods? – Part I. In this second part, we look at factor performance during 10-year periods of high inflation. High Inflation Periods As we already
- 2 years ago, 13 Apr 2022, 01:08pm -
An Introduction to Stooq Pricing Data [Quant Start]
In the previous article we learnt how to setup a prototyping environment for algorithmic trading using Jupyter Notebooks. We used Yahoo data with Pandas DataReader. In this article we will be looking at another free market data provider Stooq. If you would like to follow along with the tutorial and
- 2 years ago, 12 Apr 2022, 09:59pm -
What's the Best Factor for High Inflation Periods? - Part I [Quantpedia]
In the past couple of weeks, we have done a few event studies, analyzing events that in one way or another resemble what is happening in the world today. At the beginning of March, we examined Factor Performance in Cold War Crises, and at the end of March, we brought you an article analyzing Nuclear
- 2 years ago, 11 Apr 2022, 12:20pm -
Trend Following & Factor Investing - Unexpected Cousins? [Factor Research]
Trend following and beta-neutral factor investing are considered diversifying strategies However, since 2009 their correlations to stocks moved in tandem Both strategies had related performance drivers and risk exposures INTRODUCTION Asset classes seem easy to distinguish at first. For example,
- 2 years ago, 11 Apr 2022, 12:20pm -
Find Your Best Market to Trade With the Hurst Exponent [Raposa Trade]
After five consecutive years of drought, Northern Californians welcomed the heavy rainfall in the winter of 2016-2017. By February, however, the rain had led many to worry about the integrity of the Lake Oroville Dam. Officials evacuated over 200,000 residents who lived downstream of the dam along
- 2 years ago, 11 Apr 2022, 12:20pm -
Shorting ETFs: A look into the ETF Loan Market [Alpha Architect]
The growth of ETFs has been explosive (and we aren’t helping the matter via ETF Architect which facilitates low-cost high quality ETF white label services). At the end of 2020, there was roughly $5.4 trillion invested in ETFs in the United States, representing more than 25% of US market trading by
- 2 years ago, 11 Apr 2022, 12:19pm -
A Guide to Obtaining Time Series Datasets in Python (h/t @PyQuantNews) [Machine Learning Mastery]
Datasets from real-world scenarios are important for building and testing machine learning models. You may just want to have some data to experiment with an algorithm. You may also want to evaluate your model by setting up a benchmark or determining its weaknesses using different sets of data.
- 2 years ago, 8 Apr 2022, 12:59pm -
Is Sector-neutrality in Factor Investing a Mistake? [Alpha Architect]
Firm characteristics such as size, book-to-market ratio, profitability, and momentum have been found to be correlated with expected returns. The predictive power of these characteristics may stem from their industry component, their firm-specific component, or both. For example, while the study
- 2 years ago, 8 Apr 2022, 12:57pm -