Quant Mashup
Portfolio Allocations vs Risk Contributions [Finominal]
Most investors analyze investment products based on their holdings However, holdings often misportray of what is determining the risk profile A factor exposure analysis can identify the performance & risk contributors INTRODUCTION It is difficult to watch an hour of European television and not
- 1 month ago, 18 Apr 2023, 09:38am -
Information Decay: which factors have the longest half-lives? [Alpha Architect]
What are the research questions? The authors argue that factor exposures are random variables governed by a specific distribution that drives the behavior factor exposures over time. Five factors are examined including value, momentum, quality, investment and low volatility, over 12 developed and
- 1 month ago, 18 Apr 2023, 09:38am -
Machine Learning Trading Essentials (Part 1): Financial Data Structures [Hudson and Thames]
Trading in financial markets can be a challenging and complex endeavour, with ever-changing conditions and numerous factors to consider. With markets becoming increasingly competitive all the time, it is a never ending struggle to stay ahead of the curve. Machine learning (ML) has made several
- 1 month ago, 13 Apr 2023, 10:17pm -
Corrected Cornish-Fisher Expansion: Improving the Accuracy of Modified Value-at-Risk [Portfolio Optimizer]
Modified Value-at-Risk (mVaR) is a parametric approach to computing Value-at-Risk introduced by Zangari1 that adjusts Gaussian Value-at-Risk for asymmetry and fat tails present in financial asset returns2 through a mathematical technique called Cornish–Fisher expansion. Since its publication, mVaR
- 1 month ago, 13 Apr 2023, 10:17pm -
Portfolio Tilts versus Overlays: It's Long/Short Portfolios All the Way Down [Flirting with Models]
Several years ago, I started using the phrase, “It’s long/short portfolios all the way down.” I think it’s clever. Spoiler: it has not caught on. The point I was trying to make is that the distance between any two portfolios can be measured as a long/short strategy. This simple point, in my
- 1 month ago, 12 Apr 2023, 09:53pm -
Trend-Following Filters – Part 6 [Alpha Architect]
This article analyzes six trend-following indicators from a digital signal processing (DSP) frequency domain perspective in which the indicators are considered as digital filters and their frequency response characteristics are determined. In addition, potential trading signals generated by each
- 1 month ago, 12 Apr 2023, 09:53pm -
BERT Model – Bidirectional Encoder Representations from Transformers [Quantpedia]
At the end of 2018, researchers at Google AI Language made a significant breakthrough in the Deep Learning community. The new technique for Natural Language Processing (NLP) called BERT (Bidirectional Encoder Representations from Transformers) was open-sourced. An incredible performance of the BERT
- 1 month ago, 12 Apr 2023, 09:53pm -
Terms of trade as FX trading signal [SR SV]
All other things equal, an improvement in a country’s terms of trade, the ratio of export to import prices, translates into increased demand for its currency and a boost for its growth outlook. However, terms of trade are a rather subtle and sporadic influence. Therefore, many market participants
- 1 month ago, 10 Apr 2023, 10:06pm -
Informational Efficiency of Stock Prices and Index Investing [Alpha Architect]
The authors ask the following questions: Does the rise of index investing change information production in the economy? Does it affect the informational efficiency of stock prices? What are the Academic Insights? The authors augment (and improve) the Grossman and Stiglitz (1980) model of endogenous
- 1 month ago, 10 Apr 2023, 10:06pm -
The Alpha Games: Technology Funds [Finominal]
US tech funds underperformed their benchmark indices by 4% between 2018 and 2022 The factor contributions were marginal This resulted in a median alpha of -4% over the 5-year period INTRODUCTION Every day, fortunes are won and lost on the stock market. However, investing in stocks is not a zero-sum
- 1 month ago, 10 Apr 2023, 10:05pm -
Mean reversion in government bonds [OS Quant]
Interest rates are not necessarily a pure random walk. This assumption falls out from noticing that yields of different bond maturities must be in some way related. Have a look at the yields of the 30 year and 3 year U.S. Treasuries in the plot below. Notice that the 3 year yield bounces up and down
- 1 month ago, 8 Apr 2023, 05:14pm -
Undersampling [Financial Hacker]
All the popular ‘smoothing’ indicators, like SMA or lowpass filters, exchange more lag for more smoothing. In TASC 4/2023, John Ehlers suggested the undersampling of price curves for achieving a better compromise between smoothness and lag. We will check that by applying a Hann filter to the
- 1 month ago, 8 Apr 2023, 05:14pm -
Combining Reversals with Time-Series Momentum Strategies [Alpha Architect]
The empirical evidence from studies such as the 2017 paper “A Century of Evidence on Trend-Following Investing” and the 2020 paper “Time Series Momentum in the US Stock Market: Empirical Evidence and Theoretical Analysis” has found that time-series momentum (TSMOM) has demonstrated
- 1 month ago, 7 Apr 2023, 08:02pm -
Wes Discusses Value Investing Foundations with Isaiah Douglass [Alpha Architect]
Here is a link to our recent chat with Isaiah Douglass and Josh Bennett. An overview of the conversation is below: On this week’s episode, Isaiah is joined by expert Dr. Wesley Gray, CEO of Alpha Architect, to discuss the concepts of value
- 1 month ago, 7 Apr 2023, 08:02pm -
The FTX collapse: how did it impact traditional assets? [Alpha Architect]
This article deals with the degree of market vulnerability to spillovers from disruptions in the cryptocurrency markets. This study investigates the impact of the FTX collapse and bankruptcy across global financial markets. What do responses of financial markets to the collapse of FTX say about
- 1 month ago, 5 Apr 2023, 07:19pm -
EURUSD impact in 2022 [Quant Dare]
The EURUSD currency pair has been one of the most closely watched and traded pairs in the forex market for years. Its movements can have a significant impact on the global economy and particular investments. In 2022, we witnessed a significant moment in the history of the global currency market. In
- 1 month ago, 5 Apr 2023, 07:18pm -
Factor Olympics 2023 Q1 [Finominal]
After a great 2022 for factor investing, this year has started negatively for all traditional factors Perhaps this can be attributed to a revival of the growth theme as growth ETFs have outperformed again Size performed best, low volatility worst INTRODUCTION We present the performance of five
- 1 month ago, 4 Apr 2023, 07:41pm -
Improving Hedged Equity With a Short-Dated Ladder [Simplify]
A costless collar, sometimes referred to as a hedged equity or defined outcome strategy, is a risk management strategy that combines holding a long position in a stock or index with buying a put spread defined by a specific set of strikes (e.g. 5% OTM long put, 20% OTM short put). This provides
- 2 months ago, 2 Apr 2023, 10:23am -
Is a Naive 1/N Diversification Strategy Efficient? [Alpha Architect]
Investment strategy should be based on three fundamental principles. First, markets are highly, though not perfectly, efficient. That leads to the conclusion that active management is the loser’s game. Second, if markets are efficient, it must follow that you should believe that all unique sources
- 2 months ago, 2 Apr 2023, 10:23am -
Can We Backtest Asset Allocation Trading Strategy in ChatGPT? [Quantpedia]
It’s always fun to push the boundaries of technology and see what it can do. The AI chatbots are the hot topic of actual discussion in the quant blogosphere. So we have decided to test OpenAI’s ChatGPT abilities. Will we persuade it to become a data analyst for us? While we may not be there yet,
- 2 months ago, 31 Mar 2023, 10:14am -
Investing & Unintended Consequences [Finominal]
Simple equity ETFs often have exposures to other asset classes Gold stocks are bond proxies & growth stocks are short commodities Investors may have unintended bets in their portfolios INTRODUCTION ETFs used to be like surgical instruments. StateStreet’s SPY tracks the stocks of the S&P
- 2 months ago, 30 Mar 2023, 01:51am -
Webinar recordings and notebook [Robot Wealth]
Towards the end of last year, we ran a couple of free Zoom webinars on: The Basics of Edge Extraction – the “trader smarts” of getting an edge Data Analysis for Traders – an interactive research session. Here are the recordings: Basics of Edge Extraction Data analysis for Traders The colab
- 2 months ago, 23 Mar 2023, 09:40am -
Volume and Mean Reversion Part 2 [Alvarez Quant Trading]
From the Volume and Mean Reversion post, a reader sent a suggestion to instead use the ratio of 10 day moving average of the Close times Volume divided by the 63-day moving average of the Close times Volume (CV10/63). I had not tried this before and wanted to see how well it would work. First Steps
- 2 months ago, 23 Mar 2023, 02:16am -
Myth-Busting: The Economy Drives the Stock Market [Finominal]
US real GDP growth and US stock market returns were positively correlated since 1900 However, the correlation was not consistent and even turned negative The evidence of this relationship from other countries is mixed INTRODUCTION Switch on Bloomberg TV or CNBC at any time of the day, and there is a
- 2 months ago, 23 Mar 2023, 02:16am -
Generative Adversarial Networks: A rivalry that strengthens [Quant Dare]
How does ChatGPT work? What is behind deep fake images of celebrities? How do we deal with the lack of data in finance? All these issues have in common the same underlying concept; they are based on generative models. Generative models are algorithms that create new instances of data that mimic the
- 2 months ago, 23 Mar 2023, 02:16am -
The Mathematics of Bonds: Simulating the Returns of Constant Maturity Government Bond ETFs [Portfolio Optimizer]
With more than $1.2 trillion under management in the U.S. as of mid-July 20221, investors are more and more using bond ETFs as building blocks in their asset allocation. One issue with such instruments, though, is that their price history dates back to at best 20021, which is problematic in some
- 2 months ago, 20 Mar 2023, 05:31am -
Avoid Equity Bear Markets with a Market Timing Strategy – Part 3 [Quantpedia]
In the last third installment, we will finish exploring the world of market timing strategies (see parts 1 & 2). We will focus on yield curve predictors and incorporate all three ideas (price-based, macro-economic, and yield curve predictors) into one final trading strategy that yields an annual
- 2 months ago, 19 Mar 2023, 04:53pm -
R & D, Expected Profitability, and Expected Returns [Alpha Architect]
Since the development of the CAPM, academic research has attempted to find models that increase the explanatory power of the cross-section of stock returns. We moved from the single-factor CAPM (market beta) to the three-factor Fama-French model (adding size and value), to the Carhart four-factor
- 2 months ago, 19 Mar 2023, 04:52pm -
Is it Possible to Know the Daily High or Low Intraday with 80% Accuracy? [Black Arbs]
This is an old concept concerning the opening range. The idea is that the opening range often sets the day’s high or low within the first hour of cash equities trading (9:30 am - 10:30 am EST). Recently a trader on [Youtube] made the claim that you can know with 88% probability the high or low of
- 2 months ago, 16 Mar 2023, 04:52pm -
Avoid Equity Bear Markets with a Market Timing Strategy – Part 2 [Quantpedia]
In this second installment in a series of three articles, we will continue with our goal to construct a market timing strategy that would sidestep the equity market during bear markets. A few days ago, we started with price-based market timing strategies. Today, we will focus on macroeconomic
- 2 months ago, 15 Mar 2023, 09:55pm -
More Intuitive Joins in dplyr 1.1.0 [Robot Wealth]
dplyr 1.1.0 was a significant release that makes several common data operations more syntactically intuitive. The most significant changes relate to joins and grouping/aggregating operations. In this post we’ll look at the changes to joins. First, install and load the latest version of dplyr:
- 2 months ago, 15 Mar 2023, 09:55pm -
Avoid Equity Bear Markets with a Market Timing Strategy - Part 1 [Quantpedia]
In this series of three articles, our goal is to construct a market timing strategy that would reliably sidestep the equity market during bear markets, thereby reducing market volatility and boosting risk-adjusted returns. We will build trading signals based on price-based indicators, macroeconomic
- 2 months ago, 13 Mar 2023, 10:12pm -
Twitter Sentiment Analysis Using Zero-Shot Classification [Analyzing Alpha]
Are you looking for a way to quickly assess the sentiment of public companies through their tweets without previously training any ML models? The OpenAI API provides powerful, zero-shot classification capabilities so that text data can be classified into multiple categories – regardless of whether
- 2 months ago, 13 Mar 2023, 10:12pm -
Multi-Strategy Hedge Funds: Jack of All Trades? [Finominal]
A few select multi-strategy hedge funds generated outsized returns in 2022 However, the average fund lost money The average fund can be simply replicated via the S&P 500 & cash INTRODUCTION Citadel made $16 billion in profits in 2022, Millenium $8.0 billion, and Point 72 $2.4 billion. These
- 2 months ago, 13 Mar 2023, 10:11pm -
SetFit: Fine-tuning a LLM in 10 lines of code and little labeled data [Gautier Marti]
This blog is a follow-up to the series of posts Snorkel Credit Sentiment - Part 1 (May 2019) May the Fourth: VADER for Credit Sentiment? (May 2019) Experimenting with LIME - A tool for model-agnostic explanations of Machine Learning models (May 2019) Using LIME to ‘explain’ Snorkel Labeler
- 2 months ago, 11 Mar 2023, 04:48pm -
Algorithmic Trading in Python with Machine Learning: Walkforward Analysis [Ed West]
Implementing a successful trading strategy with code can be a challenging task. While some traders prefer to use basic trading rules and indicators, a more advanced approach involving predictive modeling may be necessary. In this tutorial, I will guide you through the process of training and
- 2 months ago, 11 Mar 2023, 04:48pm -
Research Review | 10 March 2023 | ETFs [Capital Spectator]
ETF Dividend Cycles Pekka Honkanen (University of Georgia), et al. February 2023 Exchange-traded funds (ETFs) collect approximately 7% of all U.S. corporate dividends, which they are required to redistribute to investors. How do the funds manage these dividend flows, and does such management have
- 2 months ago, 11 Mar 2023, 04:47pm -
Candlestick Subplots with Plotly and the AlphaVantage API [Quant Start]
AlphaVantage were founded in 2017 following the demise of the Yahoo Finance API. They offer OHLC data on 100,000+ securities, ETFs and mutual funds. Along with Forex, Crypto and Fundamental data, all accessible via their REST API. They offer free or premium membership which depend on the number API
- 2 months ago, 8 Mar 2023, 08:32pm -
Risk contribution in portfolio management [Quant Dare]
We usually compute return attribution to know how much each asset contributes to portfolio return. This calculation is quite easy because return formula is linear and sub-additive. In that context, one can split the whole portfolio return in smaller parts corresponding to each asset. However,
- 2 months ago, 8 Mar 2023, 08:31pm -
The Turbulence Index: Regime-based Partitioning of Asset Returns [Portfolio Optimizer]
The turbulence index, introduced in the previous blog post, is a measure of statistical unusualness of asset returns popularized by Kritzman and Li1. It provides a way to measure how much the behavior of a group of assets differs from its historical pattern. In this post, based on the paper Optimal
- 2 months ago, 7 Mar 2023, 09:02pm -
Active versus index funds: Latest results [Mathematical Investor]
Fifty years ago, Princeton economics professor Burton Malkiel published A Random Walk Down Wall Street. He boldly asserted that a blindfolded chimpanzee throwing darts could pick a stock portfolio that would do as well as one created by many expert practitioners in the field. At the time, Malkiel
- 2 months ago, 7 Mar 2023, 08:59pm -
Shorting Lousy Stocks = Lousy Returns? [Finominal]
Shorting stocks with poor features was unattractive throughout most of the last decade Combining features would not have improved performance It only started working again in 2022 INTRODUCTION Playing the stock market should be easy. When the economy is booming, buy equities. When it’s
- 2 months ago, 7 Mar 2023, 06:45am -
Salience Theory: How does it impact Momentum Profit? [Alpha Architect]
This research examines the potential of enhancing a standard momentum strategy using signals derived from Salience Theory (ST). The strategy presented here is to exclude stocks with extreme salience scores and then analyze the risk and return properties of the ST strategy. Salience theory and
- 2 months ago, 7 Mar 2023, 06:45am -
Applying Corrective AI to Daily Seasonal Forex Trading [EP Chan]
We applied Corrective AI (Chan, 2022) to a trading model that takes advantage of the intraday seasonality of forex returns. Breedon and Ranaldo (2012) observed that foreign currencies depreciate vs. the US dollar during their local working hours and appreciate during the local working hours of the
- 3 months ago, 4 Mar 2023, 05:40pm -
Intangibles and the Value Factor [Alpha Architect]
Traditional value strategies use common valuation metrics, such as book-to-market (B/M), price-to-earnings (P/E), price-to-sales (P/S) or price-to-cash flow (P/CF), to establish a ratio between a market value and a fundamental anchor to assess the cheapness of a stock. The largest historical
- 3 months ago, 4 Mar 2023, 05:39pm -
Hybrid Asset Allocation [Allocate Smartly]
This is a test of the latest tactical asset allocation strategy from Dr. Wouter Keller and JW Keuning and their paper: Dual and Canary Momentum with Rising Yields/Inflation: Hybrid Asset Allocation (HAA). Backtested results from 1971 follow. Results are net of transaction costs – see backtest
- 3 months ago, 3 Mar 2023, 05:58am -
I got more than 99 instruments in my portfolio but butter ain't one of them [Investment Idiocy]
As those of you who follow me on the Elon Musk Daily News App will know, I received physical copies of my new book last week (exciting!). Global supply chains being what they are, you lot will have to wait until April to get your copies. Sorry. Anyway one of the themes I touch on in the book is the
- 3 months ago, 1 Mar 2023, 04:39pm -
International diversification - does it work (when you need it)? [Alpha Architect]
In this article, the authors examine the research on the benefits of international diversification. Some argue that because equity markets generally crash simultaneously, there are no benefits to having equity diversification. The evidence from this paper rejects this hypothesis. Diversification
- 3 months ago, 1 Mar 2023, 04:39pm -
Performance attribution of a crypto market-neutral book on a statistical risk model [Gautier Marti]
In this short blog post, we investigate whether a simple systematic market-neutral stat arb crypto book loads on the main components of a statistical risk model. from datetime import timedelta import pandas as pd from tqdm import tqdm import statsmodels.formula.api as smf def
- 3 months ago, 27 Feb 2023, 04:32pm -
ETF Crusades [Finominal]
This research note is a guest post from Rodolfo Martell, PhD, Head of Portfolio Strategy, of Pluribus Labs LLC, a San Francisco-based systematic active equity manager that is part of Exos Financial. SUMMARY Religious-themed ETFs have increased their AUM to roughly $1 billion 3 / 4 products
- 3 months ago, 27 Feb 2023, 04:31pm -