Quant Mashup
Quantocracy is now on Bluesky and Threads. See the links in the header. - Mike
How to make proper equity simulations on a budget – Part 1 Data [Following the Trend]
Simulating an equity strategy is difficult. Much more so than simulating a futures strategy. There’s a lot more moving parts to care about. Much more complexity. All too often, I see articles and books that just skipped the difficult parts. Either they didn’t understand it, or they hoped it
- 9 years ago, 14 Oct 2015, 11:58am -
Javascript for Financial Analysts Book - 'Fold' [John Orford]
First draft of 'JavaScript for Financial Analysts' Chapter 4. ~ Up until now we have introduced a handful of new concepts which needed just two words of vocabulary - map and filter. Fold however, is a new piece of vocabulary and one of the most powerful concepts in computer science rolled
- 9 years ago, 14 Oct 2015, 11:58am -
Keep Skewness In Perspective [Larry Swedroe]
Diego Amaya, Peter Christoffersen, Kris Jacobs and Aurelio Vasquez, authors of the new paper, “Does Realized Skewness Predict the Cross-Section of Equity Returns?”, examined higher moments of volatility, skewness and kurtosis to determine if they have provided incremental explanatory power in
- 9 years ago, 14 Oct 2015, 02:59am -
Absolute Strength Momentum Investing Strategy [Alpha Architect]
Here we highlight an interesting working paper titled “Absolute Strength: Exploring Momentum in Stock Returns” by Gulen and Petkova (2015). The abstract is the following: We document a new pattern in stock returns that we call absolute strength momentum. Stocks that have significantly increased
- 9 years ago, 13 Oct 2015, 12:15pm -
When process and performance disagree [Flirting with Models]
Summary Due diligence often focuses on the three Ps: people, philosophy, and process. There is an important 4th P: performance. When a portfolio has a consistent process, performance can ebb and flow as the strategy goes in or out of favor. For example, value stocks have been out of favor for 8
- 9 years ago, 13 Oct 2015, 03:40am -
Value Investing: The Pain Train has Arrived and it Sucks [Alpha Architect]
A few months ago we highlighted a surprising result: cheap high-quality stocks were getting crushed by expensive junk stocks. The spread at the end of June was around 18%. Here is the chart from the old post (details on construction are in the original post): cheap hiqh quality versus expensive low
- 9 years ago, 13 Oct 2015, 03:39am -
Multivariate volatility forecasting (3), Exponentially weighted model [Eran Raviv]
Broadly speaking, complex models can achieve great predictive accuracy. Nonetheless, a winner in a kaggle competition is required only to attach a code for the replication of the winning result. She is not required to teach anyone the built-in elements of his model which gives the specific edge over
- 9 years ago, 13 Oct 2015, 03:39am -
Giving up on Runge-Kutta Methods (for now?) [Dekalog Blog]
Over the last few weeks I have been looking at using Runge-Kutta methods for the creation of features, but I have decided to give up on this for now simply because I think I have found a better way to accomplish what I want. I was alerted to this possible approach by this post over at
- 9 years ago, 13 Oct 2015, 03:38am -
Daily Academic Alpha: Momentum Investing and Asset Allocation [Alpha Architect]
The results in this paper won’t surprise most who are regular readers, but the paper below does a nice job explaining things in a simple way. For more advanced asset allocation methods that use momentum one can check out past blogs on the subject here, here , and here. Momentum Investing &
- 9 years ago, 12 Oct 2015, 11:24am -
How to Get Started with R quantmod Package? [Quant Insti]
“The quantmod package for R is designed to assist the quantitative trader in the development, testing, and deployment of statistically based trading models.” It is a rapid prototyping environment where enthusiasts can explore various technical indicators with minimum effort. It offers charting
- 9 years ago, 12 Oct 2015, 11:24am -
More Factors Don’t Always Help [Larry Swedroe]
Professors Eugene Fama and Kenneth French have a new paper, “Incremental Variables and the Investment Opportunity Set,” that provides some important insights for investors considering funds designed to supply exposure to multiple factors, or styles, of investing. In their study, they note:
- 9 years ago, 12 Oct 2015, 11:23am -
Happy Columbus Day…Again? [Quantifiable Edges]
While the stock market is open on Monday, banks, schools, government offices, and the bond market are closed. In past years with the bond market closed, the stock market has done quite well on Columbus Day. Of course the most famous Columbus Day rally was in 2008 when the market gained over 11%
- 9 years ago, 12 Oct 2015, 11:23am -
PDF: Learning to Play Offense and Defense: Combining Value and Momentum [Meb Faber]
Abstract: Sorting stocks based on value and momentum factors historically has led to outperformance over the broad US stock market. However, any long-only strategy is subject to similar volatility and drawdowns as the S&P 500. Drawdowns of 50%, or even 60-90% make implementation of a stock
- 9 years ago, 11 Oct 2015, 09:55pm -
Momentum & Value in Quantopian [Relative Value]
This post looks at the results of adding additional value & quality factors to the previous momentum model mentioned here. Instead of purchasing stocks on momentum alone; I added a combined value score which aggregates stock rankings per valuation multiples such ROIC, EV/EBITDA, EV/FCF and so
- 9 years ago, 11 Oct 2015, 09:53pm -
Best Links of the Week [Quantocracy]
The best quant mashup links for the week ending Saturday, 10/10 as voted by our readers: ARIMA+GARCH Trading Strategy on the S&P500 Stock Market Index Using R [Quant Start] More On The Perils Of Statistical Hypothesis Testing – Part I [Price Action Lab] How to be a Quant [Turing Finance] Is
- 9 years ago, 11 Oct 2015, 09:51am -
Interview with David Aronson [Better System Trader]
David Aronson is a pioneer in machine learning and nonlinear trading system development and signal boosting/filtering. He is author of “Evidence Based Technical Analysis” and his most recent book “Statistically Sound Machine Learning for Algorithmic Trading of Financial Instruments” is an
- 9 years ago, 11 Oct 2015, 09:33am -
The Zweig Breadth Thrust as a case study in quantitative analysis [Humble Student of the Markets]
Academic financial quantitative analysis began in earnest in the 1970's as a response to the Efficient Market Hypothesis (EMH). EMH proponent believed that you can't beat the market with stock picking because everything about a stock is already known by the market. As a test of EMH,
- 9 years ago, 10 Oct 2015, 08:36pm -
All Trading is Quant Trading [MKTSTK]
Quant trading is a redundant term: all trading is quant trading. Whether your an arbitrageur or a technician, fund manager or high frequency trader, you are basing your trading on the quantitative analysis of the market, you just might not realize it. A lot of times there seems to be an artificial
- 9 years ago, 10 Oct 2015, 08:36pm -
Is research in finance and economics reproducible? [Mathematical Investor]
Reproducibility in scientific research In the past year or two, the reproducibility of research results in finance and economics has come under serious question. If it is any comfort, similar difficulties have emerged in numerous other scientific fields. In 2011, a team of Bayer researchers
- 9 years ago, 9 Oct 2015, 10:22pm -
Cumulative market gains are zero across ‘even years’ [RRSP Strategy]
Mkt-RF returns in ‘even years’ sum to zero over the last 50+ years (data from Ken French’s library). This could be a spurious result although the stats suggest otherwise. odd-even-years Is this result statistically significant? Applying Student’s t-test gives a statistic of 2.3, i.e. mean
- 9 years ago, 9 Oct 2015, 10:22pm -
Is “Scalping” Irrational? [Financial Hacker]
Clients often ask for strategies that trade on very short time frames. Some are possibly inspired by “I just made $2000 in 5 minutes” stories on trader forums. Others have heard of High Frequency Trading and concluded that the higher the frequency, the better must be the trading. Zorro
- 9 years ago, 9 Oct 2015, 12:55pm -
Volatility Stat-Arb Shenanigans [QuantStrat TradeR]
This post deals with an impossible-to-implement statistical arbitrage strategy using VXX and XIV. The strategy is simple: if the average daily return of VXX and XIV was positive, short both of them at the close. This strategy makes two assumptions of varying dubiousness: that one can “observe the
- 9 years ago, 9 Oct 2015, 10:23am -
Simple Tests of Sy Harding’s Seasonal Timing Strategy [CXO Advisory]
Several readers have inquired over the years about the performance of Sy Harding’s Street Smart Report Online (now unavailable due to Mr. Harding’s death), which included the Seasonal Timing Strategy. This strategy combines “the market’s best average calendar entry [October 16] and exit
- 9 years ago, 9 Oct 2015, 10:23am -
Learning R: Index of Online R Courses, October 2015 [Revolutions]
Early October: somewhere the leaves are turning brilliant colors, temperatures are cooling down and that back to school feeling is in the air. And for more people than ever before, it is going to seem to be a good time to commit to really learning R. I have some suggestions for R courses below, but
- 9 years ago, 8 Oct 2015, 10:47pm -
Weighted Momentum in Quantopian [Relative Value]
Yesterday Quantopian rolled out an update which added a few very nice features. All you really need to know is that you can now design your own custom filters and the 500 stock universe limit has been lifted. The following model uses these new additions to rank and buy 50 stocks according to their
- 9 years ago, 8 Oct 2015, 10:47pm -
What the Stretched VXO is Suggesting [Quantifiable Edges]
The VIX and VXO have dropped sharply over the last 7 days. These are measures of options premium. When they are falling it means premium is declining, and options traders are less fearful. The study below looks for times when the VXO becomes stretched more than 20% below its 10-day moving average. I
- 9 years ago, 8 Oct 2015, 10:42pm -
ARIMA+GARCH Trading Strategy on the S&P500 Stock Market Index Using R [Quant Start]
In this article I want to show you how to apply all of the knowledge gained in the previous time series analysis posts to a trading strategy on the S&P500 US stock market index. We will see that by combining the ARIMA and GARCH models we can significantly outperform a "Buy-and-Hold"
- 9 years ago, 7 Oct 2015, 09:57pm -
How to look up a Stock’s Short Interest with Python [MKTSTK]
Today I was trying to investigate short interest in the Energy sector: the group as a whole has rallied hard over the last few days and I suspect a short covering rally is at play, so some testing is in order. Much to my dismay, my searches didn’t return an easy way to do this in Python. Lots of
- 9 years ago, 7 Oct 2015, 09:56pm -
Optimization of Equity Momentum [Quantpedia]
Standard mean-variance optimized momentum outperforms the traditional equally weighted momentum strategy if the expected return vector used reflects momentum's top and bottom only characteristic. This top and bottom only characteristic is the phenomenon that only the stocks in the top decile of
- 9 years ago, 7 Oct 2015, 09:56pm -
How to be a Quant [Turing Finance]
Since writing about my experience writing the CFA Level I exam in June, I have received many emails from people interested in finding out how to become a quant. To some extent, this post will answer that question. That said, this post is actually not about how to become a quant, it is about how to
- 9 years ago, 6 Oct 2015, 07:48pm -
Test for Jumps using Neural Networks [Top of the Bell Curve]
Modelling of financial markets is usually undertaken using stochastic process. Stochastic processes are collection of random variables indexed, for our purposes, by time. Examples of stochastic processes used in finance include GBM, OU, Heston Model and Jump Diffusion processes. For a more
- 9 years ago, 6 Oct 2015, 07:48pm -
Research Review | 6 Oct 2015 | Portfolio Risk Management [Capital Spectator]
How Do Investors Measure Risk? Jonathan Berk and Jules H. Van Binsbergen October 1, 2015 We infer which risk model investors use by looking at their capital allocation decisions. We find that investors adjust for risk using the beta of the Capital Asset Pricing Model (CAPM). Extensions to the CAPM
- 9 years ago, 6 Oct 2015, 07:47pm -
A Review of DIY Financial Advisor from @AlphaArchitect [QuantStrat TradeR]
This post will review the DIY Financial Advisor book, which I thought was a very solid read, and especially pertinent to those who are more beginners at investing (especially systematic investing). While it isn’t exactly perfect, it’s about as excellent a primer on investing as one will find out
- 9 years ago, 6 Oct 2015, 01:03pm -
An Example of a Trading Strategy Coded in R [Quant Insti]
Back-testing of a trading strategy can be implemented in four stages. Getting the historical data Formulate the trading strategy and specify the rules Execute the strategy on the historical data Evaluate performance metrics In this post, we will back-test our trading strategy in R. The quantmod
- 9 years ago, 6 Oct 2015, 01:02pm -
Using Machine Learning to Select Your Indicators for a Trading Strategy [Inovance]
Selecting the indicators to use is one of the most important and difficult aspects of building a successful strategy. Not only are there thousands of different indicators, but most indicators have numerous settings which amounts to virtually limitless indicator combinations. Clearly testing every
- 9 years ago, 6 Oct 2015, 01:02pm -
Using Random Portfolios To Test Asset Allocation Strategies [Capital Spectator]
Last month I tested random rebalancing strategies based on dates and found that searching for optimal points through time to reset asset allocation may not be terribly productive after all. Let’s continue to probe this line of analysis by reviewing the results of randomly changing asset weights
- 9 years ago, 6 Oct 2015, 01:01pm -
A little demonstration of portfolio optimisation [Investment Idiocy]
I've had a request for the code used to do the optimisations in chapter 4 of my book "Systematic Trading" (the 'one-period' and 'bootstrapping' methods; there isn't much point in including code to the 'handcrafted' method as it's supposed to
- 9 years ago, 6 Oct 2015, 07:47am -
An Example of a Trading Strategy Coded in C++ [Quant Insti]
Any trading strategy can be broken down into a set of events and the reaction to those events. The reactions can get infinitely complex and varying but essentially strategy writing is quite simply put exactly that. The kind of events and their frequency would depend on the markets and the
- 9 years ago, 6 Oct 2015, 07:47am -
State of Trend Following in September: It was a Good Summer [Au Tra Sy]
The index had a strong September, continuing the “Summer uptrend” started in mid-July. This has now resulted in the YTD performance returning to positive territory, after the “Spring slump” took the index from the “Winter highs” to negative performance. Let’s see what Autumn (or Fall
- 9 years ago, 6 Oct 2015, 07:46am -
State of Trend Following in September: Still on the Rise [Wisdom Trading]
September 2015: Trend Following UP +4.64% — YTD: +13.98% Third month in a row of the index producing a positive return. The YTD and 12-month figures — well in the black (over 10% and 35% respectively) — show that trend following has been a good strategy to invest or trade in these past market
- 9 years ago, 6 Oct 2015, 07:46am -
Book Review: DIY Financial Advisor: A Simple Solution to Build and Protect Your Wealth [Scott's Investments]
Readers of Scott’s Investments know I am a proponent of do-it-yourself investing solutions. I am also a big fan of Alpha Architect, so I was excited when I was asked to review a book which combines the best of both worlds, DIY Financial Advisor: A Simple Solution to Build and Protect Your Wealth
- 9 years ago, 6 Oct 2015, 07:46am -
How Do Dividend Paying Stocks Affect the Value Investing Anomaly? [Alpha Architect]
Meb Faber tweeted an interesting question related to taxes, dividend payers, and the value premium the other day. I’ll summarize the heart of the question: How do dividend payers affect the value premium? Instead of pontificating on the issue, we decided to directly address the question via
- 9 years ago, 5 Oct 2015, 09:40pm -
Building better backtests [Flirting with Models]
Summary Backtests should be, and frequently are, evaluated with scrutiny and skepticism While hypothetical results – backtested or live – are reported as a single, precise number, investors will have different performance based on In most hypothetical results, this execution factor is often
- 9 years ago, 5 Oct 2015, 09:40pm -
Overnight Implications Of Short-Term Overbought On A Monday In A Weak Market [InvestiQuant]
The market is off to a strong start today and is posting short-term highs. Below is a study that examines similar situations when short-term highs occurred on a Monday during a long-term downtrend. 2015-10-05 image2 As you can see the numbers are quite bearish. Down-gaps outnumbered up-gaps by a
- 9 years ago, 5 Oct 2015, 11:47am -
What Reversals Like SPY Had On Friday Have Often Led To The Next Day [Quantifiable Edges]
Friday had an exceptionally weak start and strong finish. Such reversals during long-term downtrends have often failed to see further buying the next day. This can be seen in the study below. 2015-10-05 image1 The numbers here are solidly bearish. 70% of the time SPY has closed down the next day and
- 9 years ago, 5 Oct 2015, 08:56am -
Best Links of the Week [Quantocracy]
The best quant mashup links for the week ending Saturday, 10/03 as voted by our readers: Empirical Finance: Meeting Fiduciary Standards Through Skepticism, Not Cynicism [GestaltU] Forget “Active vs. Passive”: It’s All About Factors [GestaltU] Strategy Replication – Evolutionary Optimization
- 9 years ago, 4 Oct 2015, 05:14am -
Carver, Systematic Trading [Reading the Markets]
The days of Richard Dennis and his “turtles” with their alleged 100% per year profit are long gone, but their mystique lives on. And with it comes one attempt after the other to emulate them, to create trading systems that will knock the socks off the competition. Robert Carver is more
- 9 years ago, 4 Oct 2015, 05:13am -
Should we consider Gold? [Sharpe Returns]
I read a post on Mebane Faber’s blog a few months back about something he calls the “Three-Way Model.” It’s a simple trend following model that uses 3 ETFs: Stocks, Bonds and Gold. The rule is simply: Invest equally in whatever is going "up" (ie. 3 month moving average > 10
- 9 years ago, 3 Oct 2015, 09:51pm -
Accentuating [John Orford]
A bunch of people got in touch about the recent 'Duality' strategy. Frankly, I see a result and post it up here, thinking these ideas through as I write and as you read 'em. I used current DJIA constituents to backtest the strategy, but mentioned the need to test with random
- 9 years ago, 3 Oct 2015, 09:51pm -
Using Normal Drawdowns as a Timing Signal [EconomPic]
The below analysis was purely an accident. I was actually looking into periods the U.S. stock market "suffered" a 10% drawdown for the absolute opposite reason; to show that a buy and hold investor should likely ignore these regularly occurring events. How regular? The always interesting
- 9 years ago, 2 Oct 2015, 02:14pm -