BACKTEST · MEAN REVERSION
Stochastic oversold bounce (%K < 20)
SPY stochastic: %K below 20 crossing above %D, exit above 80.
From 2015-01-02 to 2024-12-31, this rule made 28 trades and returned +52.5%. Buying and holding SPY returned +185.3% over the same dates. The largest drop from a past high was 28.7%.
Loading trades...
The rule
SPY stochastic: %K below 20 crossing above %D, exit above 80. Orders fill at the next close.
Loading the first trade...
Did it beat SPY?
How it did over time
Strategy in orange-red. SPY buy and hold in light.
Loading equity...
The same result in an AI chat
This is how the result looks when an AI agent such as Claude or ChatGPT runs it. It uses the same engine report.
Strategy equity in orange-red, SPY in light. Historical test only.
Every trade
28 trades and 56 fills, straight from the engine report. Each fill shows the day the signal fired, the day it filled, and why. This run used 0 bps fees and 0 bps slippage on each fill, except when a modeled option expires. A basis point (bps) is one hundredth of one percent.
| Signal date | Fill date | Ticker | Side | Price | Reason |
|---|---|---|---|---|---|
| 2015-03-12 | 2015-03-13 | SPY | Buy | $205.83 | entry |
| 2015-04-14 | 2015-04-15 | SPY | Sell | $210.43 | exit |
| 2015-08-25 | 2015-08-26 | SPY | Buy | $194.68 | entry |
| 2015-09-15 | 2015-09-16 | SPY | Sell | $200.14 | exit |
| 2015-09-30 | 2015-10-01 | SPY | Buy | $192.13 | entry |
| 2015-10-08 | 2015-10-09 | SPY | Sell | $201.33 | exit |
| 2016-01-12 | 2016-01-13 | SPY | Buy | $188.83 | entry |
| 2016-02-02 | 2016-02-03 | SPY | Sell | $191.30 | exit |
| 2017-03-24 | 2017-03-27 | SPY | Buy | $233.62 | entry |
| 2017-04-26 | 2017-04-27 | SPY | Sell | $238.60 | exit |
| 2018-03-27 | 2018-03-28 | SPY | Buy | $259.83 | entry |
| 2018-04-16 | 2018-04-17 | SPY | Sell | $270.19 | exit |
| 2018-06-29 | 2018-07-02 | SPY | Buy | $271.86 | entry |
| 2018-07-10 | 2018-07-11 | SPY | Sell | $276.86 | exit |
| 2018-10-15 | 2018-10-16 | SPY | Buy | $280.40 | entry |
| 2018-11-08 | 2018-11-09 | SPY | Sell | $277.76 | exit |
| 2018-11-26 | 2018-11-27 | SPY | Buy | $268.40 | entry |
| 2018-12-03 | 2018-12-04 | SPY | Sell | $270.25 | exit |
| 2018-12-26 | 2018-12-27 | SPY | Buy | $248.07 | entry |
| 2019-01-09 | 2019-01-10 | SPY | Sell | $258.88 | exit |
| 2019-06-04 | 2019-06-05 | SPY | Buy | $282.96 | entry |
| 2019-06-10 | 2019-06-11 | SPY | Sell | $288.90 | exit |
| 2019-08-06 | 2019-08-07 | SPY | Buy | $287.97 | entry |
| 2019-09-03 | 2019-09-04 | SPY | Sell | $294.04 | exit |
| 2020-02-28 | 2020-03-02 | SPY | Buy | $309.09 | entry |
| 2020-04-07 | 2020-04-08 | SPY | Sell | $274.03 | exit |
| 2020-09-14 | 2020-09-15 | SPY | Buy | $340.17 | entry |
| 2020-10-07 | 2020-10-08 | SPY | Sell | $343.78 | exit |
| 2020-11-02 | 2020-11-03 | SPY | Buy | $336.03 | entry |
| 2020-11-06 | 2020-11-09 | SPY | Sell | $354.56 | exit |
| 2021-12-03 | 2021-12-06 | SPY | Buy | $458.79 | entry |
| 2021-12-10 | 2021-12-13 | SPY | Sell | $466.57 | exit |
| 2022-01-24 | 2022-01-25 | SPY | Buy | $434.47 | entry |
| 2022-02-09 | 2022-02-10 | SPY | Sell | $449.32 | exit |
| 2022-02-24 | 2022-02-25 | SPY | Buy | $437.75 | entry |
| 2022-03-18 | 2022-03-21 | SPY | Sell | $444.39 | exit |
| 2022-04-14 | 2022-04-18 | SPY | Buy | $437.97 | entry |
| 2022-05-31 | 2022-06-01 | SPY | Sell | $409.59 | exit |
| 2022-06-16 | 2022-06-17 | SPY | Buy | $365.86 | entry |
| 2022-07-08 | 2022-07-11 | SPY | Sell | $384.23 | exit |
Show all 56 fills
| Signal date | Fill date | Ticker | Side | Price | Reason |
|---|---|---|---|---|---|
| 2022-09-01 | 2022-09-02 | SPY | Buy | $392.24 | entry |
| 2022-10-25 | 2022-10-26 | SPY | Sell | $382.02 | exit |
| 2022-12-21 | 2022-12-22 | SPY | Buy | $380.72 | entry |
| 2023-01-10 | 2023-01-11 | SPY | Sell | $395.52 | exit |
| 2023-02-24 | 2023-02-27 | SPY | Buy | $397.73 | entry |
| 2023-03-30 | 2023-03-31 | SPY | Sell | $409.39 | exit |
| 2023-08-14 | 2023-08-15 | SPY | Buy | $442.89 | entry |
| 2023-08-31 | 2023-09-01 | SPY | Sell | $451.19 | exit |
| 2023-09-25 | 2023-09-26 | SPY | Buy | $425.88 | entry |
| 2023-10-12 | 2023-10-13 | SPY | Sell | $431.50 | exit |
| 2023-10-30 | 2023-10-31 | SPY | Buy | $418.20 | entry |
| 2023-11-06 | 2023-11-07 | SPY | Sell | $436.93 | exit |
| 2024-04-22 | 2024-04-23 | SPY | Buy | $505.65 | entry |
| 2024-05-06 | 2024-05-07 | SPY | Sell | $517.14 | exit |
| 2024-07-29 | 2024-07-30 | SPY | Buy | $542.00 | entry |
| 2024-08-15 | 2024-08-16 | SPY | Sell | $554.31 | exit |
Want to change this rule?
Ask the chat to try another ticker, other dates, a stop, or different fees. It runs the same engine on real past prices.
Risk warning
Past results do not predict future returns. Not investment advice.