S&P 500 · SPY · daily history since 1993
S&P 500 Trading Hours vs After Hours
Overnight above average
Overnight below average
Overnight average
Strategy flat
Loading SPY daily history…
Overnight on/off strategy
The rule: compound the overnight line, each close to the next open, with dividends. The strategy goes on after 5 straight sessions with the line at least 1% above its 120-session simple average, and goes flat after 5 straight sessions at least 1% below it. Between those bands nothing changes.
The line is known at each morning’s open, so a signal can be acted on at that day’s close, about 6.5 hours later, without using any later price. A one-session delay cut the 2017-onward Sharpe from 0.41 to 0.33.
Overnight only buys SPY at the close and sells at the next open on every held night, which is two trades a day. All day holds close to close while on and trades only at a switch. Flat days earn the 13-week T-bill. Held days earn no interest while out of the market intraday.
How it was tested: settings were chosen on 1994–2016 only, then 2017 onward was scored once. The search covered about 15,500 settings, at up to four cost levels: three signal lines (overnight, SPY, trading session), simple and exponential averages from 5 to 400 sessions, bands up to 7%, confirmation up to 15 sessions, delays of 0 and 1 session, and both ways of holding. The pick is the best average of a setting and its neighbours, not the single best result, and lengths from about 100 to 160 sessions scored about the same.
Why this should be read with caution: Sliding the signals round the calendar shows a search this size finds as large an improvement by chance about 46% of the time for rules on the overnight line. After 2017 the Sharpe gain over holding every night has a 95% range of −0.39 to +0.60, so it cannot be told apart from zero. The rule made 32 switches in 32 years, and 2001–02, 2008, 2016 and 2022 account for all of its gain over holding every night. Rankings also flipped between periods. A SPY 200-session rule scored best on 1994–2016 and was the first pick, then added nothing from 2017. A 45-session EMA on the overnight line, with no band, was no better than holding every night on 1994–2016, then did well from 2017, when the fast sell-offs and recoveries of 2020 and 2025 favoured quick exits. The rule shown has fixed settings from the same 1994–2016 search, but it was featured here after those 2017-onward results were seen, so its settings are out of sample and the decision to feature it is not.
Holding it: SPY through closing and opening auction orders, or S&P 500 futures, whose overnight return is close to SPY’s once financing and interest on collateral are counted. 0.5 bp per side or less is plausible now for small size. Before decimal quotes in 2001 SPY’s tick size typically kept its spread well above 1 bp, so the 1990s figures flatter every overnight rule. Taxes are not modelled, and every exit would be short-term for tax.
Data: SPY opens and closes as in the chart above, starting 30 Aug 1994 once every average in the search had warmed up, with Yahoo Finance ^IRX for T-bill yields. S&P 500 index opens were not used, because before about 2005 most equal the prior close. Results refresh daily. The narrative figures are from the study of 3 Nov 2026.
Overnight only buys SPY at the close and sells at the next open on every held night, which is two trades a day. All day holds close to close while on and trades only at a switch. Flat days earn the 13-week T-bill. Held days earn no interest while out of the market intraday.
How it was tested: settings were chosen on 1994–2016 only, then 2017 onward was scored once. The search covered about 15,500 settings, at up to four cost levels: three signal lines (overnight, SPY, trading session), simple and exponential averages from 5 to 400 sessions, bands up to 7%, confirmation up to 15 sessions, delays of 0 and 1 session, and both ways of holding. The pick is the best average of a setting and its neighbours, not the single best result, and lengths from about 100 to 160 sessions scored about the same.
Why this should be read with caution: Sliding the signals round the calendar shows a search this size finds as large an improvement by chance about 46% of the time for rules on the overnight line. After 2017 the Sharpe gain over holding every night has a 95% range of −0.39 to +0.60, so it cannot be told apart from zero. The rule made 32 switches in 32 years, and 2001–02, 2008, 2016 and 2022 account for all of its gain over holding every night. Rankings also flipped between periods. A SPY 200-session rule scored best on 1994–2016 and was the first pick, then added nothing from 2017. A 45-session EMA on the overnight line, with no band, was no better than holding every night on 1994–2016, then did well from 2017, when the fast sell-offs and recoveries of 2020 and 2025 favoured quick exits. The rule shown has fixed settings from the same 1994–2016 search, but it was featured here after those 2017-onward results were seen, so its settings are out of sample and the decision to feature it is not.
Holding it: SPY through closing and opening auction orders, or S&P 500 futures, whose overnight return is close to SPY’s once financing and interest on collateral are counted. 0.5 bp per side or less is plausible now for small size. Before decimal quotes in 2001 SPY’s tick size typically kept its spread well above 1 bp, so the 1990s figures flatter every overnight rule. Taxes are not modelled, and every exit would be short-term for tax.
Data: SPY opens and closes as in the chart above, starting 30 Aug 1994 once every average in the search had warmed up, with Yahoo Finance ^IRX for T-bill yields. S&P 500 index opens were not used, because before about 2005 most equal the prior close. Results refresh daily. The narrative figures are from the study of 3 Nov 2026.
Research display, not investment advice. Past results, especially after a parameter search, do not predict future returns.
Trading hours: each regular open → that day’s close, normally 9:30am–4pm New York time.
After hours: the previous close → the next regular open, including weekends and holidays.
Each line compounds only its own session returns, starting from the same $100 at the first visible daily close.
Horizontal zooming and panning rebase the three performance lines to that common starting point; the returns below follow the visible date range.
Overnight trend: the after-hours line is cyan at or above its moving average and red below it. The yellow average defaults to the strategy’s 120-session simple average. The exponential lengths are there for comparison and do not change the strategy. The average uses the full available overnight history before the visible window, and the initial observations are neutral while it warms up. Zooming rescales it by the same factor as the overnight line, so it does not change the historical regime. A cross is only known after that overnight session has ended, and the colours show the raw cross. Shading marks when the strategy below was actually flat, after its band and confirmation.
Data: Yahoo Finance SPY daily prices, from 29 January 1993. SPY is the tradable S&P 500 proxy. The two session factors multiply to the buy-and-hold factor; their percentage returns do not add. Daily refresh uses completed prior-day bars. Returns in the chart above exclude trading costs, taxes and interest on cash.
Chart data (JSON) · Prices & returns (CSV)
Overnight trend: the after-hours line is cyan at or above its moving average and red below it. The yellow average defaults to the strategy’s 120-session simple average. The exponential lengths are there for comparison and do not change the strategy. The average uses the full available overnight history before the visible window, and the initial observations are neutral while it warms up. Zooming rescales it by the same factor as the overnight line, so it does not change the historical regime. A cross is only known after that overnight session has ended, and the colours show the raw cross. Shading marks when the strategy below was actually flat, after its band and confirmation.
Data: Yahoo Finance SPY daily prices, from 29 January 1993. SPY is the tradable S&P 500 proxy. The two session factors multiply to the buy-and-hold factor; their percentage returns do not add. Daily refresh uses completed prior-day bars. Returns in the chart above exclude trading costs, taxes and interest on cash.
Chart data (JSON) · Prices & returns (CSV)