A 23-page research paper reveals the number 1 method Hedge Funds use to beat the market:
Time Series Momentum
This is how: π§΅
1. What Is Time Series Momentum?
Time Series Momentum (TSMOM) bets on trends continuing. If a stockβs up, buy more; if down, sell. A 2011 study of 58 assets proved it works!
2. The Data Behind the Strategy
The TSMOM paper analyzed equities, currencies & more. T-stats showed consistent profits across 1-month lookbacks!
3. Coding TSMOM with Python
Code TSMOM in Python:
- Use yfinance to get data
- Then momentum = price[-1] / price[-20] - 1.
Positive? Buy
Negative? Sell
4. Real-World Performance
TSMOM outperforms passive investing.
We're using a modified version of TSMOM in our Hedge Fund.
One backtest shows 3500% return vs 450% S&P500.
We are using TSMOM in our hedge fund.
And we'd like to share exactly how it works.
Want to see how we built our hedge fund in Python?
Then join us for our free training:
π¨ FREE Python Algo Trading Workshop: Learn how we built our hedge fund
β’ QSConnect: Build your quant research database
β’ QSResearch: Research and run machine learning strategies
β’ Omega: Automate trade execution with Python
π¨BREAKING: A new open-source multi-agent LLM trading framework in Python
It's called TradingAgents.
Here's what it does (and how to get it for FREE): π§΅
1. What is TradingAgents
TradingAgents is a multi-agent trading framework that mirrors the dynamics of real-world hedge funds.
2. How it works
By deploying specialized LLM-powered agents: from fundamental analysts, sentiment experts, and technical analysts, to trader, risk management team, the platform collaboratively evaluates market conditions and informs trading decisions
yfinance pulls live and historical price data for any ticker in seconds. Plotly turns it into interactive charts. Add your own indicators, overlays, and alerts. No subscription needed.
yfinance exposes full income statements, balance sheets, and cash flow statements directly. Pull any company's financials into a DataFrame, calculate your own ratios, and build custom models β all in a notebook.
The secret of hedge funds is revealed in a 41-page PDF:
This paper analyzed 464 stocks that 10X-ed over a 24-year period.
Here are the best factors that drive outperformance: (number 3 is the best π§΅)
1. Size Effect
"Small-cap stocks outperform medium and large companies in 11 out of 12 cases"
Smaller stocks tend to perform better, but it's not the only contributor.
2. Value Effect
"A low book-to-market value (B/M < 1), i.e., low equity and relatively high market cap, implies that investors are paying more for a company than its net assets are worth."
Don't overpay - Overpaying tends to drive underperformance.