A stock's daily return has two halves: overnight, from the previous close to the open, and intraday, from the open to the close. Research going back more than a decade finds that most of the US equity premium arrived overnight (Kelly and Clark, 2011), and that in individual stocks the two halves pull in opposite directions (Lou, Polk and Skouras, 2019). For an execution desk, a fund that rebalances at the open or the close, or a platform offering extended-hours trading, the questions are where the return was earned, whether anyone can capture it after costs, and what it means for when orders execute.
I tested it on US stocks and three index funds from January 2000 to October 2026, with the design fixed before any result was seen.
Executive summary
The question. Is the stock market's return earned while it is open or while it is closed, and can that be traded?
The approach. Daily open and close prices and dividends for US stocks and for SPY, QQQ and IWM, from 2000 to October 2026. Each day's return is split into overnight and intraday. For the index funds, the two halves are compared and turned into overnight-only and intraday-only strategies after 0.5 to 2 basis points a trade. For the 500 most traded stocks, each month they are ranked by their past year of overnight returns, and next month's overnight, intraday and close-to-close returns are compared.
The answer. Overnight dominated: 7.1% a year for SPY against 1.1% intraday, and the daytime half lost money in QQQ and IWM. The SPY gap had a t-statistic of 1.54, below the bar set in advance, while QQQ and IWM cleared it. Trading only the night cost too much at 1 basis point a trade. Across stocks, past overnight winners kept winning overnight (27.1% a year, t = 11.4) and kept losing intraday (−24.7%, t = −8.2), cancelling close to close.
The decision. Do not fund an overnight-only strategy. Treat the split as an execution question: report trading costs by session, benchmark open fills against the prior close, and watch names with persistent overnight demand.
Business outcomes
| Decision | What the data showed | What it means |
|---|---|---|
| Expect the return during market hours | SPY 7.1% a year overnight, 1.1% intraday; 86% of the log return overnight | Most of the return arrives while the market is closed |
| Treat it as settled for the S&P 500 | Daily gap 2.1 bp, t = 1.54 (QQQ t = 2.57, IWM t = 3.75) | Strong for tech and small caps, short of the bar for SPY |
| Trade the night | SPY overnight-only 1.8% a year after 1 bp a trade, Sharpe 0.04 vs 0.40 | Costs consume it |
| Buy past overnight winners | +27.1% a year overnight, −24.7% intraday, 0.5% close to close (t = 0.16) | A tug of war, not a trade |
| Blame the weekend | SPY Monday overnight 1.4 bp vs 3.3 bp on other nights | The effect is on ordinary nights |
SPY, QQQ and IWM from January 2000 (IWM from May 2000) to October 2026; cross-section: 500 most traded US stocks, 308 months from March 2001; Newey-West t-statistics.
End to end in five steps
| Step | What happens | Output |
|---|---|---|
| 1. Source | Daily open, close, volume and dividends for US stocks and three index funds, checksum-pinned | About 6,700 trading days |
| 2. Check | Opens equal to the previous close were common before 1999, so the sample starts in 2000 | Clean opens |
| 3. Split | Overnight = (open + dividend) / prior close − 1; intraday = close / open − 1 | Two return series per security |
| 4. Test | Index funds: means, t-statistics, eras, strategies after 0.5–2 bp; stocks: monthly ranking on past overnight return | SPY, QQQ, IWM; 308 months of 500 stocks |
| 5. Judge | Four hypotheses fixed in advance, Newey-West errors | Execution decision |
The data
The source is the public defeatbeta mirror of Yahoo Finance data on Hugging Face (ODC-BY), which includes daily open and close prices, volume and dividends. Before any result, a check found that the opening price equalled the previous close on 15–21% of single-stock days before 1999, a sign of filled-in opens, so the test starts in January 2000; since then the share is mostly 0–4%. Dividends are counted in the overnight half, because a stock goes ex-dividend at the open.
The method
For SPY, QQQ and IWM, the mean daily overnight and intraday returns are compared with a Newey-West t-statistic (10 lags), and each half is compounded into a strategy that holds only overnight or only intraday, paying 0.5, 1 or 2 basis points on each of two trades a day. For the cross-section, at each month-end from March 2001 the 500 most traded US stocks (price at least $5) are ranked into fifths by the sum of their daily overnight log returns over the past 252 trading days, using only data to that date; next month's overnight, intraday and close-to-close returns are averaged for each fifth, with 10 basis points a side on names that change. Four hypotheses were written down in advance: SPY's overnight return exceeds its intraday return (H1); holding SPY only overnight beats buy-and-hold on Sharpe ratio after 1 basis point a trade (H2); past overnight winners keep winning overnight (H3); and that persistence survives close to close, after costs (H4).
The results

Holding SPY only overnight compounded at 7.1% a year from 2000 to October 2026, with 11.2% volatility; holding it only during the trading day compounded at 1.1%, with 15.4% volatility; buy-and-hold earned 8.2%. Overnight accounts for 86% of the log return. The daily gap averaged 2.1 basis points, with a t-statistic of 1.54, so H1 is rejected for SPY at the bar set in advance. Overnight was positive in every era (4.3%, 8.6% and 9.0% a year in 2000–09, 2010–19 and 2020–26), while intraday swung from −5.0% to 4.5% and 5.5%.

The pattern is stronger outside the S&P 500. QQQ earned 11.3% a year overnight and −2.5% intraday (gap t = 2.57); IWM earned 13.4% overnight and −4.3% intraday (t = 3.75). Weekends are not the source: SPY's Monday overnight return, which spans the weekend, averaged 1.4 basis points, against 3.3 on other nights.
Trading it is another matter. Holding SPY only overnight means buying at every close and selling at every open. At 0.5 basis points a trade it earned 4.4% a year (Sharpe 0.26); at 1 basis point, 1.8% (Sharpe 0.04, against 0.40 for buy-and-hold); at 2 basis points, it lost money. H2 is rejected. For IWM, where the overnight half was largest, the overnight-only Sharpe after 1 basis point (0.49) did beat buy-and-hold (0.38).

In individual stocks, the halves pull against each other, as Lou, Polk and Skouras (2019) documented. The fifth with the highest past-year overnight returns beat the lowest fifth overnight by 27.1% a year the following month (t = 11.4, positive in 87% of months), so H3 holds strongly. But it lagged intraday by 24.7% a year (t = −8.2). Close to close, after costs, the spread was 0.5% a year (t = 0.16), so H4 is rejected. Across all 500 stocks, the average overnight return was 9.2% a year (t = 4.5) and intraday 3.4% (t = 1.3).
The commercial case
The buyers are execution and trading desks at asset managers, transaction-cost-analysis vendors, brokers and platforms offering extended-hours trading, and wealth platforms that batch client orders. The live postings behind this topic, from market-structure and execution quant roles to TCA analytics, share one need: knowing what the timing of a trade costs, not just its spread and impact.
The problem in dollars: in the top fifth by past overnight return, the overnight drift averaged about 10 basis points a day (25.9% a year over 252 days), so buying those names at the open instead of the prior close gave up about 10 basis points a trade, about $1m a year on $1bn of such purchases (illustrative). The product is a trade-timing diagnostic: portfolio and order-level returns split into overnight and intraday, the cost of executing at the open rather than the prior close, and a watch list of names with persistent overnight demand.
| Element | What it is |
|---|---|
| Who pays | Execution desks, TCA vendors, extended-hours brokers and platforms, wealth platforms batching orders |
| The problem | Most of the return arrives while the market is closed, and overnight-demand names reverse intraday; most TCA ignores timing |
| The product | Trade-timing diagnostic: session split of returns and fills, open-vs-prior-close cost, overnight-demand watch list |
| Proof | 26.8 years of three index funds; 308 months of 500 stocks; design fixed in advance; 0.5–2 bp cost grid |
| Build vs buy | 2–3 weeks on the client's fills and public open/close data |
| Pricing logic | $30–70k a year per desk (illustrative) |
| Adoption risks | Not a stand-alone alpha (close to close t = 0.16); the value is in execution |
| KPI | Implementation shortfall by session; share of buys in high-overnight names filled at the open |
Commercial case at a glance. Prices and the $1bn example are illustrative.
Recommendations
- Decision: do not fund an overnight-only strategy on index funds at realistic costs.
- Controls: split transaction-cost reports into overnight and intraday, and benchmark open fills against the prior close as well as the open.
- Governance: for names in the top fifth by past overnight return, prefer executing buys at the close rather than the next open, and review the choice quarterly.
- What to monitor: whether extended-hours trading narrows the gap; if overnight demand moves into those sessions, the open-to-close split will change.
Limits
- Opening prices are single prints; part of the split, especially in single stocks, may reflect where the opening trade falls in the bid–ask spread rather than a change in value.
- The strategies assume trading at exactly the open and the close; auction fees, market impact and taxes would add costs.
- The mirror has no delisted companies.
- Independent research on public data. Not deployed; not investment advice.
How it was built

Sources
Data
- defeatbeta, Yahoo Finance data mirror on Hugging Face: US daily open and close prices, volume, dividends, company profiles and Treasury yields, ODC-BY licence, huggingface.co/datasets/defeatbeta/yahoo-finance-data; files pinned by sha256 in the repository.
Methods referenced
- Kelly, M. A. and Clark, S. P. (2011). "Returns in Trading versus Non-Trading Hours: The Difference Is Day and Night." Journal of Asset Management 12(2).
- Lou, D., Polk, C. and Skouras, S. (2019). "A Tug of War: Overnight versus Intraday Expected Returns." Journal of Financial Economics 134(1), 192–213.
- Newey, W. K. and West, K. D. (1987). "A Simple, Positive Semi-Definite, Heteroskedasticity and Autocorrelation Consistent Covariance Matrix." Econometrica 55(3), 703–708.
Independent research on public data, not investment advice; dollar figures are illustrative. Analysis, code, charts and text were produced with AI assistance and reviewed by the author.