Quant Mashup
Quantocracy is now on Bluesky and Threads. See the links in the header. - Mike
Risk-Neutral Probability Distributions: CLK2020 [Quantoisseur]
Risk-neutral probability distributions (RND) are used to compute the fair value of an asset as a discounted conditional expectation of its future payoff. In 1978, Breeden and Litzenberger presented a method to derive this distribution for an underlying asset from observable option prices [1]. The
- 4 years ago, 24 Aug 2020, 11:07pm -
Does Gold do What it is Supposed to do? [Alpha Architect]
The world has unquestionably be sent on a wild ride in 2020. We entered the year full of optimism and hope. Markets were at or near all-time highs, unemployment was low, living on easy street was good. Then the impact of COVID-19 ripped through the market and the economy with enough force to make
- 4 years ago, 24 Aug 2020, 11:07pm -
Training the Perceptron with Scikit-Learn and TensorFlow [Quant Start]
In the previous article on the topic of artificial neural networks we introduced the concept of the perceptron. We demonstrated that the perceptron was capable of classifying input data via a linear decision boundary. However we postponed a discussion on how to calculate the parameters that govern
- 4 years ago, 24 Aug 2020, 10:24am -
How Risky Are Value Stocks? [Factor Research]
The Value factor is often explained as representing a risk premium or a behavioral bias However, financial analysts regard cheap stocks as less risky than expensive ones Data shows that expensive stocks were riskier than cheap ones, which challenges the risk premium theory INTRODUCTION Which of the
- 4 years ago, 24 Aug 2020, 10:23am -
Market-implied macro shocks [SR SV]
Combinations of equity returns and yield-curve changes can be used to classify market-implied underlying macro news. The methodology is structural vector autoregression. Theoretical ‘restrictions’ on unexpected changes to this multivariate linear model allow identifying economically
- 4 years ago, 24 Aug 2020, 10:23am -
Petra on Programming: Four Dimensions of Strength [Financial Hacker]
In the S&C September 2020 article “Tracking Relative Strength In Four Dimensions”, James Garofallou presents a metric for evaluating a security’s strength relative to 11 major market sectors and over several time periods. All this information is squeezed into a single value. Maybe at cost
- 4 years ago, 21 Aug 2020, 10:32am -
Even Great Investments Experience Massive Drawdowns [Alpha Architect]
Editor’s Note: The ability of value investors to adhere to their investment strategy has been put to the greatest test ever. From January 2017 through March 2020, in terms of total returns, the Russell 3000 Growth Index outperformed the Russell 3000 Value Index by 51.7 percentage points (46.7% vs.
- 4 years ago, 21 Aug 2020, 10:32am -
Multi-Asset Skewness Trading Strategy [Quantpedia]
Our main goal in Quantpedia is to broaden the horizons of our readers in the field of systematic investing and quantitative trading. We do not aim to sell trading signals but to inspire and give fresh ideas, of how to invest limited time and resources on quantitative research. Clients can adopt
- 4 years ago, 19 Aug 2020, 10:22pm -
A Neural Network based trading strategy [Philipp Kahler]
I always dreamed about the machine which tells me to enter long right before the market starts to go up. Might a neural network be this machine? Using Tradesignal and the free Python Neural Net library Pyrenn it is easy to find out… Part one: Classification of data The first step in the process is
- 4 years ago, 18 Aug 2020, 08:40pm -
Value Investing: An Examination of the 1,000 Largest Firms [Alpha Architect]
Among stock investors, a common strategy/belief held is Value investing — buying stocks that are relative cheaper on price/fundamental ratios. The idea behind why value investing works is that Value stocks are either (1) riskier and/or (2) have been mispriced by the market. In theory, these
- 4 years ago, 18 Aug 2020, 08:40pm -
Bank Risk Premia Indices: Unbankable? [Factor Research]
Factor investing can be pursued across asset classes Risk premia products sold by investment banks have generated mostly unattractive returns since 2006 The idea of risk premia indices is great, but the implementation has been poor INTRODUCTION Monoculture can be considered the biggest threat to our
- 4 years ago, 18 Aug 2020, 08:39pm -
EDGAR timestamps [Regressionist]
I need precise timestamp in order to study the market reaction to news. Sadly, the SEC has not joined the exchanges in providing nanosecond timestamps from GPS-synced rubidium atomic clocks. Rather, it looks like the best EDGAR timestamps I can get from the SEC are only accurate within a couple of
- 4 years ago, 17 Aug 2020, 03:14am -
Feature Selection (3 / 3) [Tr8dr]
In the prior two posts, investigated: Subspace Projections: feature selection (1/3) Information Geometric: feature selection (2/3) In this post will evaluate feature importance as implemented by Random Forest and compare to Information Geometric approaches. Here is an outline of what would like to
- 4 years ago, 16 Aug 2020, 12:48pm -
Candlestick Pattern Scanner Functions [Dekalog Blog]
Since my last currency strength candlestick chart post it seemed to make sense to be able to scan said charts for signals, so below is the code for two Octave functions which act as candlestick pattern scanners. The code is fully vectorised and self-contained, and on my machine they can scan more
- 4 years ago, 16 Aug 2020, 12:48pm -
Feature Selection (2 / 3) [Tr8dr]
As mentioned in the prior discussion feature selection (1/3), of primary interest is understanding the contribution of each feature in x⃗ to the outcome or class labeling function f(x⃗ ) . One way to examine this is to understand how the distributions: p(xf) , the probability distribution of
- 4 years ago, 14 Aug 2020, 08:06pm -
Rebalance Timing Luck: The (Dumb) Luck of Smart Beta [Flirting with Models]
We are proud to announce the release of our newest paper, Rebalance Timing Luck: The (Dumb) Luck of Smart Beta. Abstract Prior research and empirical investment results have shown that portfolio construction choices related to rebalance schedules may have non-trivial impacts on realized performance.
- 4 years ago, 14 Aug 2020, 08:06pm -
Feature Selection (1 / 3) [Tr8dr]
I am often confronted with the problem of trying to reduce a high dimensional feature set to a, smaller, more effective one. Reducing dimension is important for machine learning models as: the volume of the “search space” grows exponentially at a minimum rate of 2d for binary categorical
- 4 years ago, 13 Aug 2020, 10:29pm -
An Introduction to Digital Signal Processing for Trend Following [Alpha Architect]
Digital signal processing (DSP), specifically the use of digital filters, is embedded in many indicators used by technical analysts to study and make trading decisions using time series of stock, bond, currency, commodity, and other financial asset prices. This analysis takes a look at several of
- 4 years ago, 13 Aug 2020, 10:29pm -
The Best Machine Learning Algos for Landing a Top Hedge Fund Job in the 2020s [Auquan]
Hedge Funds analyst roles represent some of the most fiercely contested roles in all of Finance (if not any industry). The work is incredibly varied and challenging, making the jobs the long term aim of many ambitious juniors from diverse backgrounds like Computer Science, finance, economics,
- 4 years ago, 11 Aug 2020, 10:32am -
Looking at 7-day Win Streaks [Quantifiable Edges]
The recent rally has left the market short-term overbought by most measures. Short-term overbought often triggers some studies that suggest a downside edge, but when the overbought condition gets very strongly overbought, then those downside edges often disappear. And at some point, rather than
- 4 years ago, 11 Aug 2020, 10:29am -
What is Sequence Risk and Can Trend Following Help Reduce It? [Alpha Architect]
What exactly is “sequence risk?” We’ll get more into the weeds of it, but for now, consider it the risk of loss when you can least afford it. Think of a client leaving their retirement party with their shiny new set of steak knives and then learning via the news that their enormous position in
- 4 years ago, 11 Aug 2020, 10:29am -
Portfolio Optimisation with MlFinLab: Estimation of Risk [Hudson and Thames]
Risk has always played a very large role in the world of finance with the performance of a large number of investment and trading strategies being dependent on the efficient estimation of underlying market risk. With regards to this, one of the most popular and commonly used representation of risk
- 4 years ago, 9 Aug 2020, 10:43pm -
10 Learnings from Open Source [Hudson and Thames]
As many of you will know by now, Hudson & Thames is pivoting towards an open-core business model and away from our dreams of pure open source and the “unlocking the commons”. What follows is a very brief history of our learnings with open-source. Starting Out MlFinLab started as an ambitious
- 4 years ago, 8 Aug 2020, 09:51am -
Measures of market risk and uncertainty [SR SV]
In financial markets, risk refers to the probability distribution of future returns. Uncertainty is a broader concept that encompasses ambiguity about the parameters of this probability distribution. There are various types of measures seeking to estimate risk and uncertainty: [1] realized and
- 4 years ago, 8 Aug 2020, 09:51am -
What is the probability of profit of your next trade? (Introducing PredictNow.Ai) [EP Chan]
What is the probability of profit of your next trade? You would think every trader can answer this simple question. Say you look at your historical trades (live or backtest) and count the winners and losers, and come up with a percentage of winning trades, say 60%. Is the probability of profit of
- 4 years ago, 7 Aug 2020, 10:42pm -
Factor Investing in Singapore [Factor Research]
Singapore’s stock market has unique features given its strong sector biases However, despite these, there were no structural factor exposures over time Like in other markets, investors can pursue factor investing to generate outperformance INTRODUCTION One of the stories of how Singapore received
- 4 years ago, 7 Aug 2020, 10:41pm -
Research Review | 7 August 2020 | Gold [Capital Spectator]
Is Gold a Hedge or Safe Haven Asset during COVID–19 Crisis? Md Akhtaruzzaman (Australian Catholic University), et al. May 15, 2020 The COVID–19 pandemic has shaken the global financial markets. Our study examines the role of gold as a safe haven asset during the different phases of this
- 4 years ago, 7 Aug 2020, 10:39pm -
Quantamental: How to Create a Google Style News Recommender for Your Stocks [Auquan]
This article is accompanied by a Google Colab notebook, which contains all the code and additional mathematical details. You can find the notebook here: https://links.quant-quest.com/KGNotebook What Will You Learn in This Article? In this article we will explore how you can automatically identify
- 4 years ago, 6 Aug 2020, 11:57am -
Cross-Asset Signals and Time-Series Momentum [Alpha Architect]
In their paper “Time Series Momentum,” published in the May 2012 issue of the Journal of Financial Economics, Tobias Moskowitz, Yao Hua Ooi and Lasse Pedersen documented significant time-series momentum (trend) in equity index, currency, commodity and bond futures—delivering substantial
- 4 years ago, 6 Aug 2020, 11:57am -
Buy / Sell Imbalance [Tr8dr]
It is fairly easy to recognize price momentum with price-based indicators ex-post or with lag. Price based momentum signals tend to have lag issues in recognizing the start and end of a price move as there is a tradeoff between noise and lag [1] that can’t be defeated without future information
- 4 years ago, 4 Aug 2020, 06:35am -
Creating Anti-Fragile Portfolios [Factor Research]
Most asset classes are bets on economic growth Diversified endowment-style portfolios are essentially short volatility Long volatility strategies can be used to create anti-fragile portfolios LONG OR SHORT VOLATILITY? In what by now seems like a galaxy far far away, I once worked as an equity
- 4 years ago, 4 Aug 2020, 06:35am -
Portfolio Optimisation with MlFinLab: Hierarchical Equal Risk Contribution [Hudson and Thames]
Harry Markowitz’s Modern Portfolio Theory (MPT) was seen as an amazing accomplishment in portfolio optimization, earning him a Nobel Prize for his work. it is based on the hypothesis that investors can optimize their portfolios based on a given level of risk. While this theory works very well
- 4 years ago, 2 Aug 2020, 08:59pm -
I like to MVO it! [OSM]
In our last post, we ran through a bunch of weighting scenarios using our returns simulation. This resulted in three million portfolios comprised in part, or total, of four assets: stocks, bonds, gold, and real estate. These simulations relaxed the allocation constraints to allow us to exclude
- 4 years ago, 31 Jul 2020, 11:59pm -
Boundary corrected kernel density [Eran Raviv]
Density estimation is now a trivial one-liner script in all modern software. What is not so easy is to become comfortable with the result, how well is is my density estimated? we rarely know. One reason is the lack of ground-truth. Density estimation falls under unsupervised learning, we don’t
- 4 years ago, 30 Jul 2020, 07:44pm -
The Effectiveness of Selected Crisis Hedge Strategies [Quantpedia]
During past months we made a set of articles analyzing the performance of equity factors and selected systematic strategies during coronavirus crisis. These articles were short-ranged with data only from the start of the year 2020, which is enough for the purpose of the quick blog posts, but very
- 4 years ago, 30 Jul 2020, 12:06pm -
Why ML in Finance is Hard (3 / 4) [Tr8dr]
Following on from the prior post, want to discuss the problem of sample independence. Many machine learning models in finance deal with timeseries data, where samples used in training may be close together in time and not be independent of one another. There are very few features in finance that do
- 4 years ago, 30 Jul 2020, 12:05pm -
Is Systematic Value Dead??? [Alpha Architect]
There is a large body of academic research demonstrating that the value premium has been persistent over long periods, pervasive across asset classes (stocks, bonds, commodities, and currencies) and also across and within industries, countries, and regions, robust to various fundamental metrics, and
- 4 years ago, 30 Jul 2020, 12:05pm -
Connecting to the Interactive Brokers Native Python API [Quant Start]
Interactive Brokers has always been a popular brokerage with systematic traders. Initially this could partially be attributed to the fact that IB provided an Application Programming Interface (API) that allowed quants to obtain market data and place trades directly in code. Many competing brokerages
- 4 years ago, 29 Jul 2020, 01:04pm -
Introduction to NLP: Sentiment analysis and Wordclouds [Quant Dare]
I think one of the most interesting areas in the data analysis field is Natural Language Processing (NLP). These last years this discipline has grown exponentially and now it’s a huge area with a lot of problems we can attempt to solve, like text classification, translations or text generation In
- 4 years ago, 29 Jul 2020, 09:46am -
Detailed Logging with a Low-Level CBT [Quant For Hire]
Recently a student of my CBT course asked why he wasn’t seeing the usual output (including dates) when he selected AmiBroker’s “Detailed Log” option and ran a backtest that utilizes a low-level CBT. The answer is that much of the Detailed Log output comes from AmiBroker’s
- 4 years ago, 29 Jul 2020, 09:44am -
Are Asset Class Correlations At A New Permanently High Plateau? [Capital Spectator]
The coronavirus crisis reordered many things in economics and finance and you can add asset correlations to the list. After markets crashed in March, followed by a strong (so far) rebound, asset classes have continued to move with an unusually deep and broad degree of unison. High, or at least
- 4 years ago, 29 Jul 2020, 09:44am -
Why ML in Finance is Hard (part 1) [Tr8dr]
I have used machine learning in trading strategies over the past 10 years. However my use of ML has often played a relatively small role in the overall design and success of the strategies. I use ML in specific signals or strategy sub-problems where the data / problem setup tends to have a robust
- 4 years ago, 27 Jul 2020, 10:54pm -
Seasonality Factor [Dual Momentum]
Our first look at calendar influences was in analyzing the best time during the month to execute dual momentum trades. Studies here, here, and here show that stocks perform best early in the month. This is when institutional investors make changes to their portfolios. Prices then are most
- 4 years ago, 27 Jul 2020, 10:53pm -
Relative Skewness: A New Risk Factor? [Alpha Architect]
In the search for more and better factors, this article examines the cross-sectional relationship between historical skewness (see Jack’s post here) and the returns on a robust set of assets and documents the premium for taking on skewness risk. The authors construct long/short portfolios across
- 4 years ago, 27 Jul 2020, 12:41pm -
Global Macro: Masters of the Universe? [Factor Research]
The alpha of global macro funds has been shrinking consistently over time However, correlations to equities & bonds were low on average, offering diversification benefits Capital allocators have been cautious on the strategy in recent years INTRODUCTION He-Man and the Masters of the Universe was
- 4 years ago, 27 Jul 2020, 12:41pm -
Nowcasting for financial markets [SR SV]
Nowcasting is a modern approach to monitoring economic conditions in real-time. It makes financial market trading more efficient because economic dynamics drive corporate profits, financial flows and policy decisions, and account for a large part of asset price fluctuations. The main technology
- 4 years ago, 27 Jul 2020, 12:40pm -
Petra on Programming: The Compare Price Momentum Oscillator [Financial Hacker]
Vitali Apirine, inventor of the OBVM indicator, presented another new tool for the believing technical analyst in the Stocks & Commodities August 2020 issue. His new Compare Price Momentum Oscillator (CPMO) is based on the Price Momentum Oscillator (PMO) by a Carl Swenlin. So we got another
- 4 years ago, 24 Jul 2020, 11:49pm -
Weighting on a friend [OSM]
Our last few posts on portfolio construction have simulated various weighting schemes to create a range of possible portfolios. We’ve then chosen portfolios whose average weights yield the type of risk and return we’d like to achieve. However, we’ve noted there is more to portfolio
- 4 years ago, 24 Jul 2020, 11:48pm -
Introduction to Artificial Neural Networks and the Perceptron [Quant Start]
In this article we begin our discussion of artificial neural networks (ANN). We first motivate the need for a deep learning based approach within quantitative finance. Then we outline one of the most elementary neural networks known as the perceptron. We discuss the architecture of the perceptron
- 4 years ago, 24 Jul 2020, 08:28am -
My NAAIM Webinar… [Quantifiable Edges]
Last week I had the honor of being a guest speaker for the National Association of Active Investment Managers (NAAIM)) webinar series. The topic I discussed was “Quantifiable Edges for Active Investing”. That recording is now available to view on the NAAIM website (email registration required).
- 4 years ago, 23 Jul 2020, 09:09pm -