Quant Mashup
Did Declining Rates Actually Matter? [Flirting with Models]
From 1981 to 2017, 10-year U.S. Treasury rates declined from north of 15% to below 2%. Since bond prices appreciate when rates decline, many have pointed towards this secular decline as a tailwind that created an unprecedented bull market in bonds. Exactly how much declining rates contributed,
- 8 years ago, 10 Apr 2017, 11:53am -
Pop or Drop part 1: Stock Behavior After Big Moves [Throwing Good Money]
When stocks are moving gently from one day to the next, there is often no discernible pattern. However when they start rockin' and rollin' one direction or the other, they show certain similarities. I'm always curious how stocks behave when they show a significant drop, or when they
- 8 years ago, 9 Apr 2017, 08:31pm -
Visualizing Data with Python [Build Alpha]
In this post I will go over a few different ways to manipulate price data to create visuals to aid in the investing and trading research process. I have attached a ten minute YouTube video that has explanations, etc. However, this post also attempts to briefly walk you through the Python code.
- 8 years ago, 9 Apr 2017, 07:11pm -
Can We Use Mixture Models to Predict Market Bottoms? (Part 2) [Black Arbs]
In the previous post I gave a basic "proof" of concept, where we designed a trading strategy using Sklearn's implementation of Gaussian mixture models. The strategy attempts to predict an asset's return distribution such that returns that fall outside the predicted distribution
- 8 years ago, 8 Apr 2017, 02:54am -
Settle For Oil [Throwing Good Money]
Above: long-exposure nighttime shot of oil rigs off the coast of California. Strange things happen to options and futures on fairly predictable dates. Options expiration dates, contract settlement dates…these are trading days where – and this is just my theory – some traders just want to get
- 8 years ago, 7 Apr 2017, 11:58am -
Market State Impact on Cross-Sectional and Time-Series Momentum Strategy [Quantpedia]
Recent evidence on momentum returns shows that the time-series (TS) strategy outperforms the cross-sectional (CS) strategy. We present new evidence that this happens only when the market continues in the same state, UP or DOWN. In fact, we find that the TS strategy underperforms the CS strategy when
- 8 years ago, 7 Apr 2017, 11:58am -
Philosophical Economics' Growth-Trend Timing [Allocate Smartly]
This is a test of the Growth-Trend Timing (GTT) model from the always thought-provoking Philosophical Economics. GTT combines trends in price and key economic indicators to switch between US equities and cash. Results from 1970, net of transaction costs, follow. Read more about our backtests or let
- 8 years ago, 5 Apr 2017, 09:10am -
March 2017 Trend Following down [Wisdom Trading]
March 2017 Trend Following: DOWN -6.56% / YTD: -10.95% More of the same for the State of Trend Following in March. The index continues its downward progress and established a new Max Drawdown figure last month. Below is the full State of Trend Following report as of last month. Performance is
- 8 years ago, 5 Apr 2017, 09:09am -
What are the Best & Worst Times of Day to Buy the Stock Market? [MKTSTK]
I awoke this morning to find the S&P 500 futures down about 11 points. My immediate thought was “oh goodie, there’s some candy for the old early morning BTFD’ers to enjoy” [translation, “I’ll be the market goes up from here”]. This instinct was based on many such mornings of
- 8 years ago, 4 Apr 2017, 07:17pm -
Looking to Improve your Factor Investing? Examine the Trend of Profits [Alpha Architect]
A few years ago, the profitability “quality” factor was originally proposed by Robert Novy-Marx. Here is a snippet from the abstract of the paper: Profitability, measured by gross profits-to-assets, has roughly the same power as book-to-market predicting the cross-section of average returns.
- 8 years ago, 4 Apr 2017, 07:17pm -
Prospect Theory, Bias, and Chalk: Our 2017 March Madness Wrap [Invest Resolve]
Congrats to the First Place Loser Let’s start off in the obvious place: Mike Philbrick, the poor-man’s Gronkowski, went wire-to-wire in last place. That makes us happy, and so first and foremost, we come to bury him. It’s entirely his fault. We know because the scoring rules were such that,
- 8 years ago, 4 Apr 2017, 07:15pm -
Can We Use Mixture Models to Predict Market Bottoms? [Black Arbs]
In Part 1 we learned about Hidden Markov Models and their application using a toy example involving a lazy pet dog. In Part 2 we learned about the expectation-maximization algorithm, K-Means, and how Mixture Models improve on K-Means weaknesses. If you still have some questions or fuzzy
- 8 years ago, 4 Apr 2017, 07:14am -
Understanding False Discovery Rate [Eran Raviv]
False Discovery Rate is an unintuitive name for a very intuitive statistical concept. The math involved is as elegant as possible. Still, it is not an easy concept to actually understand. Hence i thought it would be a good idea to write this short tutorial. We reviewed this important topic in the
- 8 years ago, 4 Apr 2017, 07:14am -
Do Price Multiples Predict Market Returns? [Larry Swedroe]
A large body of work demonstrates that price multiples, such as the dividend-to-price ratio, predict stock returns. As a result, modern asset pricing theory increasingly incorporates time-varying expected returns. The majority of the empirical work underpinning these findings uses U.S. stock market
- 8 years ago, 4 Apr 2017, 07:14am -
Diversification, Adaptation, and Stock Market Valuation [Philosophical Economics]
Looking back at asset class performance over the course of market history, we notice a hierarchy of excess returns. Small caps generated excess returns over broad equities, which generated excess returns over corporate bonds, which generated excess returns over treasury bonds, which generated excess
- 8 years ago, 3 Apr 2017, 10:59am -
The Curious Case of the Missing Credit Premium [Flirting with Models]
Before we dive into this week’s commentary, we want to extend a very heartfelt thank you to everyone who nominated us for ETF.com’s 2016 ETF Strategist of the Year Award. The award ceremony was held on Thursday night and we were fortunate enough not to leave empty handed! We’re incredibly
- 8 years ago, 3 Apr 2017, 10:59am -
Early April’s Bullish Inclination [Quantifiable Edges]
The study below is one I have shown here on the blog a few times over the years. It examines the bullish inclination the market has had in early April. 2017-04-03 Numbers here appear impressive. Of further note, sixteen of the 1st eighteen years were higher on day 4, but the 2012-2014 instances saw
- 8 years ago, 3 Apr 2017, 10:58am -
Tactical Asset Allocation in March [Allocate Smartly]
This is a summary of the recent performance of a number of excellent tactical asset allocation strategies. These strategies are sourced from books, academic papers, and other publications. While we don’t (yet) include every published TAA model, these strategies are broadly representative of the
- 8 years ago, 1 Apr 2017, 10:26am -
N-CryptoAsset Portfolios: Identifying Highly Correlated Cryptocurrencies using PCA [Quant at Risk]
IMHO, there is nothing more exciting these days than researching, analysing, and a good understanding of cryptocurrencies. Powered by blockchain technology, we live in a new world that moves fast forward as we sleep. In my first post devoted to that new class of tradable assets we have learnt how to
- 8 years ago, 1 Apr 2017, 10:25am -
Do ETFs Harvest Factors & Shrink Premiums? [Larry Swedroe]
Financial research has uncovered many relationships between investment factors and stock returns. For investors, an important question is whether the publication of this research can impact the future size of factor premiums. Asking this question is crucial on two fronts. First, if anomalies are the
- 8 years ago, 1 Apr 2017, 10:25am -
A Dead-Simple Hedge Ratio API [MKTSTK]
As the title suggests, I created a dead simple hedge ratio API called Risk Hedger. Also its free and the Python client is open source. So if you’re in to that kind of thing feel free to read on: What is a Hedge Ratio? Traders and investors buy/sell hedges when they want to reduce the risk of their
- 8 years ago, 31 Mar 2017, 12:32pm -
Factor Investing: The Fama French 5-Factor Model on Chinese A-Shares [Alpha Architect]
Each year I teach my “seminar in investments” course at Drexel, which consists of the Masters in Finance students and a handful of geeky MBA students. The first few weeks of the course involve an introduction to various investment frameworks and how to navigate the source academic literature.
- 8 years ago, 31 Mar 2017, 12:31pm -
Research Review | 31 March 2017 | Managing Portfolio Risk [Capital Spectator]
Bubbles for Fama Robin M. Greenwood (Harvard Business School), et al. February 2017 We evaluate Eugene Fama’s claim that stock prices do not exhibit price bubbles. Based on U.S. industry returns 1926–2014 and international sector returns 1985–2014, we present four findings: (1) Fama is correct
- 8 years ago, 31 Mar 2017, 12:31pm -
Free Friday #14 and #14a [Build Alpha]
Happy Friday. The trader in me could not risk doing Free Friday #13 so I decided to release 2 strategies this week (14 and 14a). The first strategy shorts $GDX, the Gold Miners ETF, and the second strategy goes long $GLD, the Gold ETF. ff14a gdx_ff14 The strategy above is the GDX short strategy. The
- 8 years ago, 30 Mar 2017, 11:37pm -
Why have asset price properties changed so little in 200 years? [Quantpedia]
We first review empirical evidence that asset prices have had episodes of large fluctuations and been inefficient for at least 200 years. We briefly review recent theoretical results as well as the neurological basis of trend following and finally argue that these asset price properties can be
- 8 years ago, 30 Mar 2017, 11:37pm -
Podcast: Trading technology, alternative data, and originality w/ Manoj Narang [Chat With Traders]
High-speed trading veteran, Manoj Narang, originally worked on Wall St for the likes of Credit Suisse and Goldman Sachs prior to founding Tradeworx, which became one of the larger trading firms in the U.S. (in terms of volume). He’s since parted ways with Tradeworx to start MANA Partners—an
- 8 years ago, 29 Mar 2017, 07:27pm -
Podcast w/ @GaryAntonacci: “You Get a Synergy That Happens When You Use Dual Momentum” [Meb Faber]
Gary has over 40 years’ experience as an investment professional focusing on underexploited investment opportunities. Since receiving his MBA degree from the Harvard Business School, Gary has concentrated on researching, developing, and applying innovative investment strategies that have their
- 8 years ago, 29 Mar 2017, 07:27pm -
A More Complex View On Value [Larry Swedroe]
Eugene Fama and Kenneth French’s 1992 paper, “The Cross-Section of Expected Stock Returns,” resulted in the development of the Fama–French three-factor model. This model added the size and value factors to the market beta factor. As my co-author, Andrew Berkin, and I demonstrate in “Your
- 8 years ago, 29 Mar 2017, 07:25pm -
How to use bootstrapping in Portfolio Management [Quant Dare]
Faced with growing uncertainty in financial markets, investors are worried about the future of their investments. Travelling in time to check the future reality is not yet a possibility. For that reason, we use techniques and create measures to gain confidence in our investments’ future behaviour.
- 8 years ago, 29 Mar 2017, 09:47am -
The Case For Using Random Benchmarks In Portfolio Analysis [Capital Spectator]
Benchmarks are indispensable for investment analytics. The challenge is picking a relevant one. The stakes are high because the wrong benchmark can be worse than none at all. The good news is that the potential for error can be dramatically reduced by choosing a set of random benchmarks that are
- 8 years ago, 29 Mar 2017, 09:46am -
All About Factors & Smart Beta [Flirting with Models]
This week's commentary is a long-form presentation all about factor investing and smart beta. We cover four topics. In the first section, we explore the basics of factors: what are they and where do they come from? The second topic explores why implementation details matter and why long-only
- 8 years ago, 27 Mar 2017, 05:51pm -
Is There a Less Expensive Hedge Than a Protective Put? [Relative Value Arbitrage]
The spot VIX index finished last Friday at 11.28, a relatively low number, while the SKEW index was making a new high. The SKEW index is a good proxy for the cost of insurance and right now it appears to be expensive. A high reading of SKEW means investors are buying out of the money puts for
- 8 years ago, 24 Mar 2017, 07:58pm -
Getting position and accounting data out of IB native python API [Investment Idiocy]
This is the final post. Not the final post of the blog; which may be good news or bad. But the final post in my short series on using the new native python API for interactive brokers. Having got some prices and submitted some orders we want to know whether we made any money or not; and what
- 8 years ago, 24 Mar 2017, 10:28am -
Rebalance Your Portfolio? You are a Market Timer and Here's What to Consider [Alpha Architect]
In this piece I examine various way in which an investor can think about their active market timing decisions, often labeled with the innocuous term “rebalancing.” Rebalancing a portfolio is the finance version of “eat your vegetables” — the advice is taken as gospel, but very few people
- 8 years ago, 23 Mar 2017, 08:29pm -
Momentum and Reversal Combined with Volatility Effect in Stocks [Quantpedia]
Folks from Quantopian did a new independent analysis of a strategy we have in our database. An article is written by Jeremy Muhia and is focused on Momentum and Reversal Combined with Volatility Effect in Stocks (Strategy #155): https://www.quantopian.com/posts/do-momentum-and-reversals-coexist
- 8 years ago, 23 Mar 2017, 08:28pm -
73 DTE Iron Condor Results Summary [DTR Trading]
This article reviews the backtest results for iron condors (IC) entered at 73 days to expiration (DTE). These tests covered 9 IC variations, with short strike deltas at four locations (8, 12, 16, 20), utilizing 12 exits. In all, there were 432 test runs (9 variations x 4 deltas x 12 exits). Each
- 8 years ago, 23 Mar 2017, 08:28pm -
Intro to Expectation-Maximization, K-Means, Gaussian Mixture Models with Python, Sklearn [Black Arbs]
Post Outline Part 1 Recap Part 2 Goals Jupyter (IPython) Notebook References part 1 recap In part 1 of this series we got a feel for Markov Models, Hidden Markov Models, and their applications. We went through the process of using a hidden Markov model to solve a toy problem involving a pet dog. We
- 8 years ago, 21 Mar 2017, 02:27am -
Cryptocurrency Time-Series for N-CryptoAsset Portfolio Analysis in Python [Quant at Risk]
Welcome to a brand new era of “financial assets” – the crypto-assets. The impossible became possible. Yes, now you can trade cryptocurrencies: money that have been created in a virtual world with a physical impact onto our everyday cash-in-the-bank reality. The grande picture is still
- 8 years ago, 21 Mar 2017, 02:26am -
Placing orders in the native python IB API [Investment Idiocy]
This the fourth in a series of posts on using the native python API for interactive brokers. You should read the first, second, and third, before this one. It is an updated version of this older post, which used a third party API (swigibpy) which wraps around the C++ API. I've changed the code,
- 8 years ago, 20 Mar 2017, 03:18pm -
Diversification in Multi-Factor Portfolios [Flirting with Models]
The debate rages on over the application of valuation in factor-timing methods. Regardless, diversification remains a prudent recommendation. How to diversify multi-factor portfolios, however, remains up for debate. The ActiveBeta team at Goldman Sachs finds new evidence that composite
- 8 years ago, 20 Mar 2017, 03:18pm -
Back to Basics Part 2 – How to Succeed at Algorithmic Trading [Robot Wealth]
There is a lot of information about algorithmic and quantitative trading in the public domain today. The type of person who is attracted to the field naturally wants to synthesize as much of this information as possible when they are starting out. As a result, newcomers can easily be overwhelmed
- 8 years ago, 20 Mar 2017, 01:02am -
Podcast: Machine Learning with Kris Longmore of @Robot_Wealth [Better System Trader]
Machine learning has seen a huge amount of growth over recent years with the increase in available data and processing power. It’s an incredibly powerful toolset for uncovering patterns and relationships in data, however, these tools can be challenging to learn, apply correctly and are also open
- 8 years ago, 19 Mar 2017, 05:22pm -
Visualising Intraday Market Correlation [Ryan Kennedy]
I stumbled across a great post on MKTSTK about visualising volatility and correlations of multiple timeseries with streamgraphs, and it got me thinking about where else a streamgraph might be useful to visualise financial data. Rather than looking at an individual assets, I thought it might be
- 8 years ago, 19 Mar 2017, 05:20pm -
Research Review | 17 March 2017 | Risk Factors [Capital Spectator]
Contrarian Factor Timing is Deceptively Difficult Clifford S. Asness (AQR Capital Management), et al. March 7, 2017 The increasing popularity of factor investing has led to valuation concerns among some contrarian-minded investors, and fears of imminent mean-reversion and underperformance. In this
- 8 years ago, 17 Mar 2017, 08:03am -
Puts as Protection [Timely Portfolio]
Many asset management firms are happily enjoying record revenue and profits driven not by inorganic growth or skillful portfolio management but by a seemingly endless increase in US equity prices. These firms are effectively commodity producers entirely dependent on the price of an index over which
- 8 years ago, 16 Mar 2017, 05:34pm -
Simulating Correlated Random Walks for the S&P 500 [MKTSTK]
Waaaaaay back in the day, I showed how to simulate correlated random walks using copulas…. I was really thinking about the application to pairs trading back then… which was fine, because one of the limitations was that the method could only simulate two random variables at a time. If you wanted
- 8 years ago, 16 Mar 2017, 05:33pm -
Analysis of Asymmetrical Moving Average for Buy/Sell Signals [Quantpedia]
ost market participants are risk adverse and people tend to close their long positions once they perceive a formation of downturn in the market. Large sudden price drops can always be observed near the end of uptrends. On the other hand, people tend to have their own preferences in deciding the
- 8 years ago, 16 Mar 2017, 05:32pm -
Podcast: Trading the Mean Reversion Curve [Better System Trader]
One of the challenges of Mean Reversion trading is deciding when to get into a trade. How far from the mean should we actually wait before we consider getting into a trade? In a trending environment where the dips are shallow, getting in closer to the mean can bring lots of trading opportunities
- 8 years ago, 16 Mar 2017, 05:32pm -
TAA Strategy Combining Risk Parity & Trend Following [Allocate Smartly]
This is a test of a tactical asset allocation strategy from the excellent paper: The Trend is Our Friend: Risk Parity, Momentum and Trend Following in Global Asset Allocation (1). The strategy combines two important tools: trend-following (to determine what assets to hold) and risk parity (to
- 8 years ago, 15 Mar 2017, 03:04pm -
Simple ConnorsRSI Strategy on S&P500 Stocks [Alvarez Quant Trading]
A frequently asked question is how I pick which variation from an optimization run to trade. This post will cover a ConnorsRSI strategy on S&P500 stocks. We will use a wide range on the parameters to give us lots choices to be used in the next post. I the next post, I will show how I take the
- 8 years ago, 15 Mar 2017, 02:46pm -