V Daena Digital BACKTESTER
TICKER: KO ASK THE CHAT

The rule

KO / PEP pair: two sleeves. Below -2 z: long KO, short PEP. Above +2 z: short KO, long PEP. Exit at z = 0. Orders fill at the next close.

ENTER WHEN
KO / PEP z-score beyond 2: buy the cheap one, short the rich one
EXIT WHEN
z-score back to 0
FIRST TRADE, FROM THE REPORT

Loading the first trade...

Did it beat SPY?

Loading statistics...

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

70 trades and 140 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.

Every fill in this backtest, in time order
Signal dateFill dateTickerSidePriceReason
2015-06-082015-06-09KOSell$40.20entry
2015-06-082015-06-09PEPBuy$93.07entry
2015-06-222015-06-23KOBuy$40.38exit
2015-06-222015-06-23PEPSell$95.60exit
2015-07-012015-07-02KOBuy$39.49entry
2015-07-012015-07-02PEPSell$94.66entry
2015-07-152015-07-16KOSell$41.48exit
2015-07-152015-07-16PEPBuy$96.90exit
2015-08-172015-08-18KOBuy$41.30entry
2015-08-172015-08-18PEPSell$99.77entry
2015-08-252015-08-26KOSell$38.73exit
2015-08-252015-08-26PEPBuy$92.49exit
2015-11-242015-11-25KOSell$43.36entry
2015-11-242015-11-25PEPBuy$100.50entry
2016-01-062016-01-07KOBuy$41.62exit
2016-01-062016-01-07PEPSell$97.57exit
2016-01-152016-01-19KOSell$41.92entry
2016-01-152016-01-19PEPBuy$95.77entry
2016-04-132016-04-14KOBuy$45.83exit
2016-04-132016-04-14PEPSell$103.16exit
2016-07-072016-07-08KOBuy$45.38entry
2016-07-072016-07-08PEPSell$108.27entry
2016-11-142016-11-15KOSell$41.44exit
2016-11-142016-11-15PEPBuy$101.85exit
2017-02-092017-02-10KOBuy$40.58entry
2017-02-092017-02-10PEPSell$106.10entry
2017-05-012017-05-02KOSell$43.39exit
2017-05-012017-05-02PEPBuy$112.29exit
2017-05-082017-05-09KOSell$43.51entry
2017-05-082017-05-09PEPBuy$112.72entry
2017-07-062017-07-07KOBuy$44.39exit
2017-07-062017-07-07PEPSell$115.51exit
2017-07-272017-07-28KOSell$46.01entry
2017-07-272017-07-28PEPBuy$116.61entry
2017-08-142017-08-15KOBuy$46.19exit
2017-08-142017-08-15PEPSell$118.97exit
2017-09-012017-09-05KOSell$45.92entry
2017-09-012017-09-05PEPBuy$115.87entry
2017-11-152017-11-16KOBuy$46.55exit
2017-11-152017-11-16PEPSell$115.23exit
Show all 140 fills
More fills in this backtest
Signal dateFill dateTickerSidePriceReason
2017-11-282017-11-29KOBuy$45.50entry
2017-11-282017-11-29PEPSell$116.84entry
2018-01-262018-01-29KOSell$47.70exit
2018-01-262018-01-29PEPBuy$119.67exit
2018-02-142018-02-15KOSell$44.78entry
2018-02-142018-02-15PEPBuy$110.97entry
2018-03-132018-03-14KOBuy$43.78exit
2018-03-132018-03-14PEPSell$112.61exit
2018-04-122018-04-13KOSell$44.51entry
2018-04-122018-04-13PEPBuy$109.26entry
2018-06-142018-06-15KOBuy$44.12exit
2018-06-142018-06-15PEPSell$107.61exit
2018-09-272018-09-28KOSell$46.19entry
2018-09-272018-09-28PEPBuy$111.80entry
2018-11-292018-11-30KOBuy$50.40exit
2018-11-292018-11-30PEPSell$121.94exit
2018-12-192018-12-20KOSell$47.54entry
2018-12-192018-12-20PEPBuy$110.21entry
2019-01-312019-02-01KOBuy$48.70exit
2019-01-312019-02-01PEPSell$112.19exit
2019-02-142019-02-15KOBuy$45.24entry
2019-02-142019-02-15PEPSell$115.91entry
2019-05-232019-05-24KOSell$49.61exit
2019-05-232019-05-24PEPBuy$129.50exit
2019-07-012019-07-02KOSell$51.98entry
2019-07-012019-07-02PEPBuy$132.43entry
2019-09-092019-09-10KOBuy$54.40exit
2019-09-092019-09-10PEPSell$135.86exit
2019-10-112019-10-14KOBuy$53.30entry
2019-10-112019-10-14PEPSell$137.45entry
2019-11-202019-11-21KOSell$52.96exit
2019-11-202019-11-21PEPBuy$133.91exit
2019-12-232019-12-24KOSell$54.71entry
2019-12-232019-12-24PEPBuy$136.89entry
2020-02-272020-02-28KOBuy$53.49exit
2020-02-272020-02-28PEPSell$132.03exit
2020-03-132020-03-16KOBuy$45.26entry
2020-03-132020-03-16PEPSell$113.09entry
2020-06-032020-06-04KOSell$47.92exit
2020-06-032020-06-04PEPBuy$130.57exit
2020-09-032020-09-04KOSell$51.04entry
2020-09-032020-09-04PEPBuy$138.76entry
2020-10-012020-10-02KOBuy$49.36exit
2020-10-012020-10-02PEPSell$138.06exit
2020-11-092020-11-10KOSell$53.98entry
2020-11-092020-11-10PEPBuy$141.72entry
2020-11-272020-11-30KOBuy$51.60exit
2020-11-272020-11-30PEPSell$144.23exit
2021-01-072021-01-08KOBuy$51.08entry
2021-01-072021-01-08PEPSell$144.18entry
2021-02-112021-02-12KOSell$50.69exit
2021-02-112021-02-12PEPBuy$133.87exit
2021-02-122021-02-16KOSell$50.27entry
2021-02-122021-02-16PEPBuy$134.38entry
2021-04-202021-04-21KOBuy$54.61exit
2021-04-202021-04-21PEPSell$146.98exit
2021-06-112021-06-14KOSell$55.55entry
2021-06-112021-06-14PEPBuy$148.57entry
2021-06-152021-06-16KOBuy$54.67exit
2021-06-152021-06-16PEPSell$147.10exit
2021-06-292021-06-30KOBuy$54.11entry
2021-06-292021-06-30PEPSell$148.17entry
2021-12-172021-12-20KOSell$57.54exit
2021-12-172021-12-20PEPBuy$169.42exit
2022-02-072022-02-08KOSell$62.00entry
2022-02-072022-02-08PEPBuy$172.02entry
2022-05-102022-05-11KOBuy$64.31exit
2022-05-102022-05-11PEPSell$170.66exit
2022-06-022022-06-03KOSell$62.97entry
2022-06-022022-06-03PEPBuy$164.85entry
2022-06-292022-06-30KOBuy$62.91exit
2022-06-292022-06-30PEPSell$166.66exit
2022-07-072022-07-08KOBuy$63.14entry
2022-07-072022-07-08PEPSell$171.88entry
2022-11-112022-11-14KOSell$60.73exit
2022-11-112022-11-14PEPBuy$176.73exit
2023-05-022023-05-03KOBuy$63.65entry
2023-05-022023-05-03PEPSell$192.18entry
2023-07-192023-07-20KOSell$62.39exit
2023-07-192023-07-20PEPBuy$189.30exit
2023-08-172023-08-18KOSell$60.95entry
2023-08-172023-08-18PEPBuy$178.18entry
2023-09-072023-09-08KOBuy$58.33exit
2023-09-072023-09-08PEPSell$176.27exit
2023-10-242023-10-25KOSell$56.12entry
2023-10-242023-10-25PEPBuy$162.35entry
2024-02-062024-02-07KOBuy$59.99exit
2024-02-062024-02-07PEPSell$171.47exit
2024-02-212024-02-22KOSell$61.15entry
2024-02-212024-02-22PEPBuy$168.25entry
2024-03-182024-03-19KOBuy$60.23exit
2024-03-182024-03-19PEPSell$171.80exit
2024-06-032024-06-04KOSell$63.94entry
2024-06-032024-06-04PEPBuy$173.89entry
2024-10-102024-10-11KOBuy$69.57exit
2024-10-102024-10-11PEPSell$174.81exit
2024-11-142024-11-15KOBuy$61.74entry
2024-11-142024-11-15PEPSell$158.62entry
2024-12-112024-12-12KOSell$63.84exit
2024-12-112024-12-12PEPBuy$158.90exit

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.

CHANGE IT IN THE CHAT

Risk warning

Short selling can lose more than your starting capital. Past results do not predict future returns. Not investment advice.