Decision Trees are one of the best known supervised classification methods. As explained in previous posts, “A decision tree is a way of representing knowledge obtained in the inductive learning process. The space is split using a set of conditions, and the resulting structure is the tree“ A tree(...)
Below are some more out of sample plots for the Temporal Clustering solutions of the EUR_USD forex pair for the week just gone. The details of how these solutions are derived is explained in my previous post, Temporal Clustering on Real Prices. First is Tuesday's solution where the major (blue(...)
As equity trading moves to less regulated markets and off of exchanges across the world, mutual fund families have increasingly taken advantage of this opportunity to reallocate trades. Fund families are able to offset opposite trades of their affiliated funds within an internal market referred to(...)
I have a couple of equities strategies that I will start trading shortly, and I want to understand the risk from all angles. Towards this end I try to utilize both market signals and exogenous unstructured data to minimize surprise and maximize selection or prediction efficiency. In thinking about(...)
A major problem of indicator-based strategies is that most indicators produce more or less noisy output, resulting in false signals. The faster the indicator reacts on market situations, the noisier is it usually. In the S&C December issue, John Ehlers proposed a de-noising technology based on(...)
A while ago I posted an article titled “INVESTMENT PORTFOLIO OPTIMISATION WITH PYTHON – REVISITED” which dealt with the process of calculating the optimal asset weightings for a portfolio according to the classic Markowitz “mean-variance” approach. With this method we aim to maximise our level of(...)
In the past have been a HFT market maker for FX and other traditional instruments, however have not investigated exchange-based market making in Crypto. As I have proprietary signals applicable for Crypto, thought it would be worthwhile to investigate the difficulty of market making on crypto(...)
I’m a big fan of Ernie Chan’s quant trading books: Quantitative Trading, Algorithmic Trading, and Machine Trading. There are some great insights in there, but the thing I like most is the simple but thorough treatment of various edges and the quant tools you might use to research and trade them.(...)
Given alternative data, machine learning, and AI advances, systematic should beat discretionary investing However, the performance of systematic and discretionary equity market neutral hedge funds has largely been the same since 2009 Both were also correlated to the stock market, offered low(...)
Having now had time to run the code shown in my previous post, Temporal Clustering, part 3, in this post I want to show the results on real prices. Firstly, I have written two functions in Octave to identify market turning points and each function takes as input an n_bar argument which determines(...)
Finance literature is abundant with theories. As academics, we like to think these theories foster behaviors and choices by investors, which in turn translate into asset prices. To test these theories, scholars typically try to infer the validity of these assumptions by examining outcomes. The(...)
In “Stock Market Valuation and the 2020’s in R” I investigated whether the CAPE ratio could forecast the future trajectory of earnings and/or stock returns over the period 1980-2019. From this study, we made a couple of observations: The CAPE ratio cannot be used to forecast future earnings growth(...)
The time around Thanksgiving has shown some strong tendencies over the years – both bullish and bearish. I have discussed them a number of times over the years. In the updated table below I show SPX performance results based on the day of the week around Thanksgiving. The bottom row is the Monday(...)
There is a simple method of approximating trend follower positioning in real-time and without lag. It is based on normalized returns in liquid futures markets over plausible lookback windows, under consideration of a leverage constraint, and uses estimated assets under management as a scale factor.(...)
What is survivorship bias, and why should you care about it? This post explains how survivorship bias can trick you into drawing faulty conclusions from your research, and what you need to know to avoid being tricked. What is survivorship bias? Equities datasets are said to have survivorship bias(...)
Running a marathon is similar to being a value investor, especially in recent years where it seems more like an ultra-marathon. Both activities are painful experiences that require the ability to suffer and persist through physically and emotionally straining times. Moreover, value investors always(...)
If you regularly read this blog then you know I am not one to jump on the “AI Bandwagon”, being quickly weary of anyone flashing the “It’s Artificial Intelligence” joker card. Don’t get me wrong, I understand it is a sexy term I, but to me it always feels a bit like a sales pitch. If the machine(...)
The S&P index committee recently announced that Tesla, already one of the biggest stocks listed in the country, would be included in the S&P 500. Here’s the press release: Due to TSLA’s size, it was widely expected to have entered the S&P 500 index much earlier – but S&P has some(...)
After many years there are many evidences that the low volatility anomaly works in stock markets. We have also mentioned this topic a long time ago to analysis the costs of it. This anomaly says stocks with less price variability deliver higher returns, contrary to everyone’s belief, which expects(...)
Here I share a refreshing idea from the paper “Asymmetric correlations of equity portfolios” which was published in the Journal of financial Economics, a top tier journal in this field. The question is how much the observed conditional correlation on the downside (say) differs from the conditional(...)
There are many ways to find stocks with similar behavior based on how one defines similarity and the data used. In this article we use a 12 period channel where, for each period, we have (current adjusted close price – minimum value)/(maximum value – minimum value). Maximum and minimum values are(...)
Shiller’s (1998) original CAPE ratio (the cyclically adjusted price of an equity index/10 year average of real earnings) used to predict long term equity returns, like every online recipe, has been improved over the years by various reviewers. A number of substitutes for real earnings have been(...)
Defined outcome ETFs have quickly gathered almost $5 billion in assets Not unexpected given their much lower drawdowns when the market crashed in March 2020 However, they are complex and expensive products and there are viable alternatives INTRODUCTION If ETFs had an arch enemy, then it probably(...)
Resurrecting the Value Premium David Blitz (Robeco) and Matthias X. Hanauer (Technische Universität München) October 15, 2020 The prolonged poor performance of the value factor has led to doubts about whether the value premium still exists. Some have noted that the observed returns still fall(...)
We decided to allow anyone to take advantage of some tools we constantly use at NAVA Capital. Investors and financial managers often need to perform similar tasks, like analyzing financial time series, comparing two investments, adjusting gross performance by management fees, performance fess and(...)
Continuing on with the subject matter of my last post, in the code box below there is R code which is a straight forward refactoring of the Octave code contained in the second code box of my last post. This code is my implementation of the cross validation routine described in the paper Cluster(...)
In our last post, we took our analysis of rolling average pairwise correlations on the constituents of the XLI ETF one step further by applying kernel regressions to the data and comparing those results with linear regressions. Using a cross-validation approach to analyze prediction error and(...)
Bloomberg has an article You May Regret Staying Parked in U.S. Stocks which made the case that there’s "widespread agreement" and "the answer isn’t in dispute" that foreign stocks will outperform going forward. Simplified version of my view of that statement.... c'mon now.(...)
Momentum is the tendency for assets that have performed well (poorly) in the recent past to continue to perform well (poorly) in the future, at least for a short period of time. Initial research on momentum was published by Narasimhan Jegadeesh and Sheridan Titman, authors of the 1993 study(...)
I am happy to announce that I will be hosting a free webinar series on quantitative analysis and algorithmic trading. Dates and times for the first shows can be found over here: Tradesignal Webinar Series Date and Time based patterns will be the topic of the first webinar. It will focus on the(...)
This post contains affiliate links. An affiliate link means CSSA may receive compensation if you make a purchase through the link, without any extra cost to you. CSSA strives to promote only products and services which provide value to my business and those which I believe could help you, the(...)
In the last post I reviewed the Momentum Trading Strategies Course by Quantra (a division of QuantInsti) which I reviewed as part of a recent educational journey to improve my quantitative skill set. The next course that I will be reviewing is Mean-Reversion Strategies in Python which is taught by(...)
I’ve been sitting here for 5 mins trying to come up with a witty intro for this episode about momentum, but I just couldn’t seem to get it going, so…
This post is a BONUS LESSON taken directly from Zero to Robot Master Bootcamp. In this Bootcamp, we teach traders how to research, build and trade a portfolio of 3 strategies including an Intraday FX Strategy, a Risk Premia Strategy and a Volatility Basis Strategy. If you’re interested in adding(...)
Monday saw a massive market rotation. It could be noted by the performance in the IWM vs the QQQ, or in looking at performance among S&P 500 sectors, where Energy beat Technology by 15% on Monday. But to really see how strong the rotation was, you’d need to take a look at individual stock(...)
Do analysts actively exploit anomalies when they recommend stocks? Do analysts’ research efforts contribute to efficiency in the equity markets? Good questions. This research clarifies the relationship between established stock return anomalies and analyst recommendations. Given that anomalies are(...)
Further to my previous post, below is an extended version of the "blurred_maxshift_1d_linear" function. This updated version has two extra outputs: a vector of the cluster centre index ix values and a vector the same length as the input data with the cluster centres to which each datum(...)
The long-term track record of equity market neutral hedge funds is attractive, but should be viewed with scepticism due to Madoff and survivorship bias Only one index from HFRX seems sound, but his highlights negative alpha since the GFC and positive returns primarily from market beta A factor(...)
After losing 5.6% this in the week ending 10/30/20, the S&P 500 completely reversed the losses this past week with a 7.3% gain. That is a fairly remarkable turnaround. Below is a look at all other times the S&P 500 lost 5% or more one week, and then made up for the losses and more the next(...)
Recent academic papers illustrate how macroeconomic data support predictions of energy market flows and prices. Valid macro indicators include shipping costs, industrial production measures, non-energy industrial commodity prices, transportation data, weather data, financial conditions indices, and(...)
As we test more and more strategies the overall probability of choosing at least one poor strategy grows. So we must be very careful with how many backtests we run. We should always record all of them, to later deflate the Sharpe Ratio accordingly. In this post, we are going to analyze how the(...)
In virtually all studies on asset pricing and asset pricing models, the one-month Treasury bill is the choice as the risk-free rate. In his study “The Risk-Free Asset Implied by the Market: Medium-Term Bonds instead of Short-Term Bills,” published in the September 2020 issue of The Journal of(...)
Quantopian announced that it is shutting down its community platform. This doesn’t entirely come as a surprise. Quantopian returned money to investors earlier this year after its investment strategy underperformed. It shut down paper trading in 2019 (having already ended live trading in 2017), then(...)
Remember the handcrafting method, which I described in this series of posts? Motivating portfolio construction Methodology Implementing Testing Adjusting portfolio weights for Sharpe Ratios All very nice, all very theoretically grounded, except for one thing: the 'candidate matrices'.(...)
Zombie stocks are a diverse group, both from a country and sector perspective Zombie stocks were fundamentally riskier, yet outperformed non-zombie stocks over the last year Oddly, investors need to pay up as they are also more expensive INTRODUCTION Walking through financial centers like London or(...)
I recently listened to a podcast about one of the earliest human civilizations – the ancient Sumerians. Apparently, our system of minutes, hours, and days has been with us since the time of these ancient people, who developed it based on a simple base-12 counting system: There are three joints in(...)
This paper complements Doeswijk, Lam, and Swinkels’ 2014 paper, which documents the historical composition of the market portfolio. Doeswijk, Lam, and Swinkel stopped their research in building the “market portfolio,” but left the work of the market portfolios historical returns undone. In this(...)
I’ve been thinking about valuations a lot lately. If you’ve been following the stock market in recent months, then you will doubtlessly be aware that the past 6-months have witnessed a historic 44% rally across global markets. This rally has drawn particular attention because it has been dominated(...)
Wes Gray after serving as a Captain in the United States Marine Corps earned an MBA and a PhD in the finance from the University of Chicago where he studied under Nobel Prize Winner Eugene Fama. He worked as a finance professor at Drexel University. He then found Alpha Architect — a(...)
One of the most common problem encountered by all novice researches of the crypto-markets and (algo-)traders is knowing a list of all cryptocurrency pairs being actively traded at specific crypto exchange. This knowledge is a gateway to a vast research over correlations of crypto-assets, looking(...)