๐Ÿ”„ IGV โ‡„ SOXX Pairs Reversal

Daily divergence swap โ€” sell the day's winner, rotate into the day's loser. Daily open/close, 2001-07-17 โ†’ 2026-09-04 (6,322 sessions).
ETF sector pair ยท software vs semis
๐Ÿ“– How the strategy works (with your two examples)

Each trading day, each ETF gets an intraday move = (close โˆ’ open) รท open. The delta is the gap between the two moves: ฮ” = IGV move โˆ’ SOXX move. When |ฮ”| reaches your target you swap that day, at the close price.

๐Ÿ’ก Example A: IGV closes โˆ’2% vs its open, SOXX +3% โ†’ ฮ” = โˆ’5%. At a 5% target, SOXX is the day's winner, IGV the loser: sell SOXX, buy IGV. โœ“

๐Ÿ’ก Example B: IGV +7%, SOXX +1% โ†’ ฮ” = +6% โ‰ฅ target โ†’ IGV is the winner: sell IGV (the stock on the rise), buy SOXX (the dip). โœ“

โš ๏ธ You only ever rotate the % of the winner's shares you set, so a widening spread can't force you all-in. No cash is ever parked โ€” sale proceeds immediately buy the loser at the same close price. Backtest ignores fees & slippage. Start: 100 shares of each ETF.

๐Ÿช™ Per-stock mode ("buy the dip / sell the rip"): you pick one ETF to monitor (๐Ÿ“ก IGV or SOXX) and that ETF alone is the test portfolio: 100 shares + cash. On any day it closes at least X% above its open you sell X% of your portfolio value worth of shares (banking cash); on a day it closes at least X% below its open you spend up to X% of your portfolio buying more (capped by cash on hand). Starting cash defaults to $0 โ€” rally-sells fund later dip-buys; raise it if you want to buy dips before any sell. The other ETF stays on the price chart for context only.

Strategy:
Swap when the two intraday moves diverge by at least this much.
Pairs: % of the winner's shares rotated. Per-stock: % of the position bought or sold per trigger.
Backtest begins at the first session on/after this date โ€” you hold 100 shares of each ETF from that day.
Price mode:

โ— = an executed trade (a swap, or a buy/sell action). Buy & hold = 100 shares of each ETF held from your chosen start date, never traded.

From to