Quant Mashup
Updating Historical Data Using Oanda's API and R [Dekalog Blog]
Following on from my previous post about downloading historical data, this post shows how previously downloaded data may be updated and appended with new, more recent data without having to re-download all the old data all over again. The main function to do this, HisPricesDates, downloads data
- 7 years ago, 27 Oct 2017, 10:20am -
Want to Learn More About Factor Investing? Read This. [Alpha Architect]
Replicating Anomalies is arguably a “must read” for anyone who thinks about factor investing and is looking to improve their understanding of the space. Lu Zhang, and his colleagues, Kewei Hou and Chen Xue, spent nearly 3 years carefully compiling and replicating 447 “anomalies” identified
- 7 years ago, 26 Oct 2017, 12:07pm -
How universities are failing finance students [Mathematical Investor]
One of us (Marcos Lopez de Prado) has been interviewed on the topic of educational training in the finance field by Institutional Investor. A brief synopsis of this interview is below. The full article is HERE. How Universities Are Failing Finance Students With investment shops fighting over
- 7 years ago, 26 Oct 2017, 12:07pm -
Takeaways from a Non-PHD who Powered Through a 144-page Factor Investing Paper [Alpha Architect]
Wes recently challenged me with a unique proposition: Hey Ryan, read through this Replicating Anomalies paper and tell me what you think. Its a bit long, but I’m curious to hear your thoughts. Well, by “a bit long,” Wes really meant 144 pages of equations and reams of quantitative data on
- 7 years ago, 26 Oct 2017, 12:07pm -
Meta Strategy: A Smart Approach to Combining TAA Strategies [Allocate Smartly]
We’re very excited for the launch of an awesome new feature for our members: Meta Strategy. We track a wide range of published tactical asset allocation strategies in near real-time (40 and counting), which members can then combine into their own custom portfolios. Our platform helps members
- 7 years ago, 25 Oct 2017, 11:21am -
ReSolve's Buffett Bet Portfolio Based on Risk Parity and Factors [Invest Resolve]
Note: This is not an official bet. We’re not interested in documenting all the potential details that would be involved, and we don’t have $1million to wager. Moreover, licensed firms are not allowed to make public fund recommendations, so the details of an official bet would have to be private
- 7 years ago, 25 Oct 2017, 11:20am -
Are Equity Multifactor ETFs Working? [CXO Advisory]
Are equity multifactor strategies, as implemented by exchange-traded funds (ETF), attractive? To investigate, we consider seven ETFs, all currently available (in order of decreasing assets): Goldman Sachs ActiveBeta U.S. Large Cap Equity (GSLC) – holds large U.S. stocks based on good value, strong
- 7 years ago, 25 Oct 2017, 11:20am -
The Return of Free Data and Possible Volatility Trading Subscription [QuantStrat TradeR]
This post will be about pulling free data from AlphaVantage, and gauging interest for a volatility trading subscription service. So first off, ever since the yahoos at Yahoo decided to turn off their free data, the world of free daily data has been in somewhat of a dark age. Well, thanks to
- 7 years ago, 24 Oct 2017, 11:48am -
Stick to the Fundamentals and Discover Your Industry Peers [Alpha Architect]
When performing multiple-based valuations, which rely on the assumption that perfect substitutes should sell for the same price, it is very important to identify companies that are truly comparable. Most analysts use industry classifications. Lee et al. (2015) note that industry classifications are
- 7 years ago, 24 Oct 2017, 11:48am -
A Potential Winner: Buying Lottery Stocks with Low Short Interest [Alpha Architect]
Kelley Bergsma & Jitendra Tayal A version of this paper can be found here Want to read our short summaries of academic finance papers? Check out our Academic Research Insight category. What are the research questions Using data from CRSP and Compustat from 1989 to 2015 the research team
- 7 years ago, 23 Oct 2017, 09:44am -
Factor Returns: Small vs Large Caps [Factor Research]
A frequent criticism of factor investing is that factor returns are stronger in small caps Our research highlights that this is not uniformly true across factors Value and Size benefit most from including small caps INTRODUCTION Factor investing can be challenged in many ways. Nearly all of the
- 7 years ago, 23 Oct 2017, 09:44am -
Would You Invest in A Coin Flip? [Flirting with Models]
For active strategies, investors often focus on the potential outperformance the strategy can create. Beyond the potential for outperformance, active strategies also introduce tracking error: extra volatility that comes from active decisions. While most view tracking error as a negative, if derived
- 7 years ago, 23 Oct 2017, 09:44am -
Tail Risk in Term Structure Based Strategies in Commodities [Quantpedia]
In this paper I document that carry trades in commodity markets are subject to potential large and infrequent losses, that is, tail risk. Also, I show that shocks to carry trades and volatility have persistent tail-specific effects which last from four to twelve weeks ahead. The main empirical
- 7 years ago, 23 Oct 2017, 09:43am -
Interview with Dr Thomas Starke of @AAAQuants [Chat With Traders]
Dr Thomas Starke is a Physics PhD who once designed microchips, worked as an engineer for Rolls Royce and lectured at University of Oxford, before applying his know-how of modelling to financial markets… As a trader, Thomas has contracted to various funds and up until recently, he was a
- 7 years ago, 19 Oct 2017, 01:46pm -
The ABCs of creating a mean reversion strategy – Part 1 [Alvarez Quant Trading]
I was recently interviewed on Better System Trader, click here for part one of the interview, about the steps for creating a stock mean reversion strategy. I will be covering and expanding on the topics from the interview. These steps, for the most part, would apply to any strategy one is creating.
- 7 years ago, 18 Oct 2017, 02:35pm -
Trend-Following: A Deep Dive Into A Unique Risk Premium [Alpha Architect]
Trend-following strategies have historically been laughed at via the modern academic finance research community. Having first-hand knowledge of that community, we can verify that academic researchers are humans like the rest of us (we checked, academics aren’t robots), and they suffer from group
- 7 years ago, 18 Oct 2017, 02:35pm -
QSTrader: A Major Update On Our Progress [Quant Start]
I spoke at the Open Data Science London conference last weekend on the topic of becoming a quant. Part of the talk was aimed at educating practising data scientists on the fact that quantitative finance firms do actually contribute to, and create, many open source projects. One such project is
- 7 years ago, 18 Oct 2017, 10:32am -
Academic Research Insight: Sentiment Feedback Strength Trading Strategy [Alpha Architect]
What are the research questions? Based on the evidence that tweets are faster than news in revealing new market information, but that news is regarded a more reliable source of information, the authors propose a superior trading strategy based on the sentiment feedback strength between the news and
- 7 years ago, 17 Oct 2017, 09:36pm -
Hedging Market Crashes with Factor Exposure [Factor Research]
None of the factors consistently generated positive performance during recent market crashes However, almost any factor exposure would have increased the risk-return ratio of an equity-centric portfolio Low Volatility and Mean-Reversion would have been most beneficial, Momentum least INTRODUCTION A
- 7 years ago, 16 Oct 2017, 11:05am -
Sleuthing Out Allocations [Flirting with Models]
Determining the allocations of an investment strategy is often the first step in scenario analysis, sensitivity analysis, and stress testing. For a single fund or ETF, the allocations can be found on the provider’s website or in marketing materials. However, when analyzing a larger group of funds
- 7 years ago, 16 Oct 2017, 11:05am -
Podcast: Factor Replication with Lu Zhang [Alpha Architect]
Here is a link to our podcast on Behind the Markets Wes and Jeremy speak with Lu Zhang, The John W. Galbreath Chair, Professor of Finance, at the Fisher College of Business at The Ohio State University, and co-author of the paper, “Replicating Anomalies.” The team dig into the 3-year research
- 7 years ago, 16 Oct 2017, 11:05am -
How to Predict FX Carry Profitability [Quantpedia]
In this paper, we study the effectiveness of carry trade strategies during and after the financial crisis using a flexible approach to modeling currency returns. We decompose the currency returns into multiplicative sign and absolute return components, which exhibit much greater predictability than
- 7 years ago, 16 Oct 2017, 11:04am -
October Opex Week Historically Bullish [Quantifiable Edges]
Option expiration week is often a pretty good week for the market. October is one of those months where it has been especially good over the years. This can be seen in the study below. 2017-10-16 I decided to exclude 2008 because action that week was such an incredible outlier that it greatly skewed
- 7 years ago, 16 Oct 2017, 11:04am -
Tips To Start Your Own Business In Algorithmic Trading [Quant Insti]
You are doing well at work but have always felt that need to cater to the aspiration of doing something more, building something of your own? You are passionate about the chosen field of work. You have already explored different organizations and their work processes extensively. Entrepreneurship
- 7 years ago, 16 Oct 2017, 11:03am -
Replicating Anomalies [Alpha Architect]
Academic research is amazing and incredibly useful for helping us better understand the complex world in which we live. In fact, academic research has literally rewired my brain at times. However, research isn’t perfect and the search for truth is messy. Data-mining. Overfitting. P-hacking.
- 7 years ago, 13 Oct 2017, 02:26pm -
Are U.S. Equity Momentum ETFs Working? [CXO Advisory]
Are U.S. stock and sector momentum strategies, as implemented by exchange-traded funds (ETF), attractive? To investigate, we consider five momentum-oriented U.S. equity ETFs with assets over $100 million, all currently available (in order of decreasing assets): iShares Edge MSCI USA Momentum Factor
- 7 years ago, 13 Oct 2017, 02:26pm -
Research Review | 13 October 2017 | Expected Return [Capital Spectator]
The Most Dangerous (and Ubiquitous) Shortcut in Financial Planning John West and Amie Ko (Research Affiliates) September 2017 Using historical returns to forecast the future is one of the most common shortcuts in financial planning. Investment advisors who use only past returns to forecast future
- 7 years ago, 13 Oct 2017, 02:26pm -
Dividend Capture Strategy: Trade Execution Matters [Alpha Architect]
One area in investing that is often overlooked by investors is trade execution, which relates primarily to commissions, bid-ask spreads, and price impact. Yet sometimes it is trade-execution alone that can make the difference between and profitable trade and an unprofitable one. In a new paper,
- 7 years ago, 12 Oct 2017, 01:19pm -
A Returns-based Approach: Incorporating Microcap in Equity Allocations [Factor Investor]
We are often asked how much of a plan’s assets should be allocated to microcap equities. As long-term investors that view the opportunity set through the lens of factors, our answer is usually some version of "probably more than you currently do." Microcap is a very challenging asset
- 7 years ago, 11 Oct 2017, 02:10pm -
Replicating Indexes In R With Style Analysis: Part I [Capital Spectator]
In the quest for clarity in portfolio analytics, Professor Bill Sharpe’s introduction of returns-based style analysis was a revelation. By applying statistical techniques to reverse engineer investment strategies using historical performance data, style analysis offers a powerful, practical tool
- 7 years ago, 10 Oct 2017, 11:30pm -
The Kelly Criterion and Option Trading [Highly Evolved Vol]
The Kelly criterion can be used to calculate the optimal size of a trade. Specifically, it gives the size that increases the trader's account at the fastest possible rate. It is possible that a given trader might not actually want this. She might want some sort of volatility or draw down
- 7 years ago, 10 Oct 2017, 11:30pm -
Problems in the Optimization of Swing Portfolios [QUSMA]
Assume you have a bunch of different systems that trade stocks, equity index ETFs, bond ETFs, and some other alternative assets, eg commodity ETFs. All the systems take both long and short positions. What are the questions your portfolio optimization approach must answer? This is a post focused on
- 7 years ago, 9 Oct 2017, 11:03pm -
Academic Research Insight: Does Social Capital payoff during times of crisis in the markets? [Alpha Architect]
Title: Social Capital, Trust, and Firm Performance: The Value of Corporate Social Responsibility during the Financial Crisis Authors: Karl V. Lins, Henri Servaes, and Ane Tamayo Publication: The Journal of Finance, Vol. LXXII, No. 4, August 2017 The present financial crisis springs from a
- 7 years ago, 9 Oct 2017, 11:03pm -
Death, Taxes, and Mean-Reversion? [Factor Research]
SUMMARY Mean-reversion has not performed well over the last few years Highly sensitive to model assumptions The strategy is an attractive addition for an equity-centric portfolio INTRODUCTION According to Benjamin Franklin death and taxes are the only two certainties in life. In finance, where much
- 7 years ago, 9 Oct 2017, 09:22am -
Tactical, But When? [Flirting with Models]
We’re often asked, “is now a good time to implement tactical strategies?” We believe there are better and worse periods for tactical, largely based upon expected risk/reward trade-offs and available diversification opportunities. For investors, we believe an equally important consideration is
- 7 years ago, 9 Oct 2017, 09:20am -
Analyzing A South African Financial News Twitter Corpus using a Topic Model [Top of The Bell Curve]
Over the past decade there has been an increase in the amount of digital information that is available. In particular, there is now vasts amount of data that is available on social media platform such as twitter and Facebook that can be analysed to gain further insight and to establish sentiment
- 7 years ago, 8 Oct 2017, 09:11am -
getSymbols and Alpha Vantage [Foss Trading]
Thanks to Paul Teetor, getSymbols() can now import data from Alpha Vantage! This feature is part of the quantmod 0.4-11 release, and provides another another data source to avoid any Yahoo Finance API changes*. Alpha Vantage is a free web service that provides real-time and historical equity data.
- 7 years ago, 6 Oct 2017, 10:45pm -
Volume Filters (Part 2) | Trading Strategy (Entry & Exit) [Oxford Capital]
Developer: Joseph Granville (On-Balance Volume); R. D. Donchian (Breakout Channels). Concept: Trading strategy based on price breakouts confirmed by OBV (On-Balance Volume) filters. Research Question: Can volume filters improve price breakouts? Specification: Table 1. Results: Figure 1-2. Trade
- 7 years ago, 6 Oct 2017, 10:45pm -
Reconciling Individual Stock Returns and Factor Portfolio Returns [Alpha Architect]
Those in the financial media have recently been writing multiple stories on a fascinating working paper, “Do Stocks Outperform Treasury Bills?” by Hendrik Bessembinder. We originally highlighted the paper on our blog in January. However, recent stories by those at the New York Times (here and
- 7 years ago, 6 Oct 2017, 01:15pm -
Comparing Supervised Learning Methods for Hang Seng Futures Long/Short Strategy [Golden Compass]
Trend prediction in financial markets is a very complex task, due to the fact that prices are inherently noisy, non-stationary, and deterministically chaotic. In recent years, studies have leveraged various machine learning algorithms to tackle this task. Leung, Chen, and Daouk (2001) used a
- 7 years ago, 5 Oct 2017, 11:12am -
Strong down performance for trend following in September [Wisdom Trading]
September 2017 Trend Following: DOWN -5.31% / YTD: -21.01% The Wisdom State of Trend Following index had a rough September, unfortunately following the trend of the last 18 months and going through the -20% mark for the year so far. With only 3 months to go, 2017 is shaping up to be a strong
- 7 years ago, 5 Oct 2017, 11:11am -
Indicator Comparison: Ehler My Stochastic Indicator, RSI and ConnorsRSI [Alvarez Quant Trading]
Like all traders, I am always on the lookout for any new indicators better than the ones I am using. I have been using and promoting RSI2 since 2004 for mean reversion trading. I created the ConnorsRSI in 2012. Am I married to these indicators? No. If I find something ‘better’ I will drop them.
- 7 years ago, 4 Oct 2017, 07:42pm -
Hiking Mountains, Gladly, To Honor The Fallen [Alpha Architect]
Landon Thomas Jr. recently wrote an article in the New York Times regarding our participation in the recent March for the Fallen Event. Landon’s article was well-written and provided a compelling narrative. However, much of the attention of the article was focused on Alpha Architect and my
- 7 years ago, 3 Oct 2017, 10:57pm -
Capital Raising for Early Stage Quant Fund Managers - Part I [Quant Start]
This is the first in a two part series of articles written by Frank Smietana, an expert guest contributor to QuantStart. In this article Frank takes a look at how early-stage quantitative hedge fund managers can go about looking to secure their first institutional allocation of capital. Please be
- 7 years ago, 3 Oct 2017, 10:57pm -
Suggestion of a New Currency Factor Model [Quantpedia]
We examine the ability of existing and new factor models to explain the comovements of G10-currency changes. Extant currency factors include the carry, volatility, value, and momentum factors. Using a new clustering technique, we find a clear two-block structure in currency comovements with the
- 7 years ago, 3 Oct 2017, 10:56pm -
Factor Olympics: Q3 2017 [Factor Research]
2017 is on track for a good year for factor exposure as most factors are positive Quality, Growth, and Momentum are headed for the winners podium Value is negative across regions, giving up all of last year’s gains INTRODUCTION We present the performance of six well-known factors on an annual
- 7 years ago, 2 Oct 2017, 11:51am -
TAA vs buy and hold in overvalued markets (CAPE > 30 edition) [Investing For A Living]
Personal note: Sorry for the long delay from posting. I had a death in the family this summer, a big overseas family wedding, and I’ve been working on getting my newsletter released, which I’ll announce in a later post. Now, I’m back. I was thinking this morning that with the increasing talk
- 7 years ago, 2 Oct 2017, 11:50am -
Academic Research Insight: Volatility Wisdom of Social Media Crowds [Alpha Architect]
Title: VOLATILITY WISDOM OF SOCIAL MEDIA CROWDS Authors: Ahmet K. Karagozoglu and Frank J. Fabozzi Publication: Journal of Portfolio Management, Winter 2017 (version here) What are the research questions? Using raw tweets from Twitter and StockTwits (“Trader Mood Data” from PsychSignal) a
- 7 years ago, 2 Oct 2017, 11:50am -
Analyzing the FDIC Dataset [Jonathan Kinlay]
- 7 years ago, 2 Oct 2017, 11:49am -
The Frustrating Law of Active Management [Flirting with Models]
In an ideal world, all investors would outperform their benchmarks. In reality, outperformance is a zero-sum game: for one investor to outperform, another must underperform. If achieving outperformance with a certain strategy is perceived as being “easy,” enough investors will pursue that
- 7 years ago, 2 Oct 2017, 11:49am -