QuantInsti (@QuantInsti) header
QuantInsti (@QuantInsti) profile picture

Empowering traders with Quant & AI skills. 📈

India
Joined October 2012
1 nanosecond in HFT, stretched to 1 second, makes a blink of an eye last about 10 years. Sameer Kumar (iRage), Stefan Jansen (@ml4trading), @G2GAjaySharma, Tony Lee (Alpaca) and Mridul Arora (Elevation Capital) at our Algo Trading Conference 2026 👇 #AlgoTrading #HFT #QuantTrading
3
12
4,421
The code behind our Thanksgiving test: 12 lines of pandas. It takes the Tuesday close before each Thanksgiving since 1950, measures the move to Friday's close and compares it with any two days. Swap the date rule to test Halloween, turn of month or any other calendar claim.
1
285
Output on Yahoo data: +0.61% on average, up in 84% of 76 years, vs +0.07% for any two days. Since 2000 the edge is much smaller (our 24 Nov chart). Price index, no costs; history, not a forecast. Reply if you want the script as a file.
64
3 books for your first year in quant trading, in the order to read them: 1. Quantitative Trading, Ernest Chan 2. Machine Learning in Trading, Shah and Pachanekar 3. Advances in Financial Machine Learning, López de Prado Many people start with the third one and get stuck early.
1
1
363
Why this order: Chan takes one strategy from idea to backtest to sizing. The ML book has you build a Python model from raw prices (free ebook: quantinsti.com/machine-learn…). By then López de Prado's fixes for flattering backtests make sense. Method, not returns. Trading involves risk.
2
94
The S&P 500 rose over Thanksgiving in 64 of 76 years since 1950. Wednesday plus Friday averaged +0.61%, vs +0.07% for any two days. Since 2000 it's weaker: +0.32%, and after a 0.1% cost, up in 15 of 26 years. Backtest, small sample. Past results do not predict future returns.
2
1
283
Method: S&P 500 price index, Yahoo Finance. Tuesday close to Friday close around each Thanksgiving, 1950 to 2025, vs every two-day window. Backtest, 2000 to 2025, with 0.1% per round trip: +0.22% average, t-stat 0.8, so not distinct from noise. Reply if you want the code.
1
86
The dip you’ve been waiting for. In course prices. 📉 Quantra’s Black Friday sale: 80% off courses 88% off the All Courses Bundle Buy the dip. Build the skills. quantra.quantinsti.com/cours… #BlackFriday #AlgoTrading
1
326
8 free data sources we use to check market claims. From daily fed funds back to 1954 to S&P earnings and CAPE back to 1871. Links in the reply. These are the sources behind this series of posts. What would you add?
5
5
524
Buying the S&P 500 at an all-time high has done about as well as buying on any day. Since 1950, the next 12 months averaged +8.7% after a record close and +9.4% after any day. Record days cluster, so the sample is smaller than it looks. History, not a forecast.
5
2
336
Method: S&P 500 price index (no dividends), Yahoo Finance daily closes. A record close = above every close since 1927. Return = next 252 trading days. Start dates 1950 to Oct 2025: 1,315 record days of 19,068. 2026 had 28 record closes by 16 Oct. Reply if you want the code.
2
98
Momentum's 10 worst months since 1929: 9 came as the market bounced after a two-year fall. Aug 1932 -53%. Apr 2009 -34%. Daniel and Moskowitz (2016) found this. It holds on Ken French data to Aug 2026. The beaten-down losers jump most, and momentum is short them.
4
3
489
Backtest, Jan 1929 to Aug 2026, Ken French US momentum factor (winners minus losers), before costs. Rebound = market down over the past 24 months, up that month. A caution: the factor earned 0.6% a year since 2000, vs 7.7% before. Past results do not predict future returns.
1
134
The Fed's September hike was its first after a run of cuts. That has happened 6 times before since 1990. A year later the S&P 500 was higher in 5 of 6. But the median gain was 5.2%, vs 11.8% for any 12 months since 1990. Six cases is far too few to lean on.
3
349
Method: target-rate changes since 1990 from the Fed's open market operations pages. First hike = a rise right after a cut (1994, 1997, 1999, 2004, 2015, 2022). S&P 500 price index, decision-day close to a year later. History, not a forecast. Not investment advice.
127
"Buy when the VIX is above 30" looks great if you count days. The VIX closed above 30 on 734 days since 1990. The S&P 500 was higher a year later after 87% of them. But that's only 22 separate scares. Of the 21 with a full year, 14 were higher (67%). Any day: 81%.
2
2
392
Method: VIX and S&P 500 price index via Yahoo, 1990 to Oct 2026. Episode = first close above 30 after 60+ sessions without one; 12 months = 252 sessions. A 20-session rule gives 62%, 126 gives 80%. 21 cases, a small sample. History, not a forecast. Not investment advice.
1
122
"Sell in May" mostly faded after the paper that made it famous. Bouman and Jacobsen published the Halloween effect in 2002. S&P 500, 1950 to 2002: Nov to Apr beat May to Oct in 35 of 53 years. Since 2003: 12 of 23, a coin flip. May to Oct still averaged +4.3% since 2003.
4
3
427
Method: S&P 500 price index (no dividends), month-end closes, May 1950 to Apr 2026. Each year pairs May to Oct with the Nov to Apr after it. Averages: +7.4% vs +1.1% to 2002, +5.9% vs +4.3% since. 23 years is a short sample. History, not a forecast. Not investment advice.
100
The S&P 500 was higher a year after every US midterm election since 1950. All 19 times, average gain 15.1%. The same date in other years: up 38 of 56, average 7.3%. 19 cases is a small sample, and part of the gap is the Nov to Apr season. A base rate, not a forecast.
4
1
429
Method: S&P 500 price index (no dividends), close on election day to the close a year later, midterms 1950 to 2022. Other years: the same November date in the 56 non-midterm years, 1951 to 2024. Data: Yahoo Finance ^GSPC. History, not a forecast. Not investment advice.
134