In simple terms
Both models buy a confirmed spot rebound after a drop of at least 5% over 12 hours. The OI version also requires lower open quantity in the perpetual contract. At base costs it returned −15.39% and +35.43%, versus −20.90% and +33.79% for price alone.
Contents
What open interest measures
Open interest (OI) is the outstanding quantity of a derivatives contract. One open contract has two sides and is counted once. A decline describes less aggregate open exposure in that contract.
Data and test windows
We use Binance XRP/USDT spot candles for prices and XRPUSDT USD-M perpetual metrics for OI. We test 2022–2023 and 2024–2025 separately in UTC, starting each window flat with 10,000 USDT.
The 12-hour drop and rebound
The close immediately before the signal must be at least 5% below the close three H4 earlier. The signal H4 must close strictly above the previous H4 high. Use five consecutive usable H4 and freeze L at the lowest low of the three bars in the decline.
Cₜ₋₁ ≤ 0.95 × Cₜ₋₄ · Cₜ > Hₜ₋₁
L = min(Lₜ₋₃, Lₜ₋₂, Lₜ₋₁)
Two exact OI snapshots
Compare the perpetual’s reported sum_open_interest five minutes before the signal closes with the snapshot four hours earlier. The OI filter requires a strict decline. Both models require the same two valid points, with missing quantities left empty. The archive’s quote-value field is a separate measure.
OI(T − 5 min) < OI(T − 245 min)
Entry on the following H4
Use the first price of the exact opening minute of the next H4, within the window. Without a valid archived open and positive volume in that minute, the entry is canceled. A previous position still open through that quote blocks the new entry. We hold at most one unleveraged spot long.
Exit after failure or 48 hours
Freeze L from the setup. The first usable H4 close at or below L schedules an exit from that boundary. Use the first nonempty minute open at or after it. Exit at the earlier of that schedule, 12 H4 slots after entry or the test boundary. Time and boundary exits take priority on ties.
Cᵤ ≤ L · u ≥ entry bar
Size, commission and slippage
Use the available USDT balance including the entry commission. Commission is 10 bp per side in the base case and 20 bp in the higher-fee case. Adverse slippage stays at 5 bp per side. One bp equals 0.01%. The opening price of a minute supplies the execution reference.
Missing candles and maximum drawdown
H4 needs 240 consecutive full-duration minutes and positive total volume. One H4 is unusable in the test windows. Drawdown uses the available H4 closing values with estimated exit costs, plus initial and final cash.
Return to L within six bars
Before the position limit, check candidates with an entry reference, both OI points and six usable H4 within the window, starting with the entry bar. A close at or below L counts as a return. The price group includes both OI groups.
| Case | Price candidates | Signals assessed | Closed at or below L | Return rate |
|---|---|---|---|---|
| 2022–2023 · Price rebound alone | 13 | 13 | 0 | 0.00% |
| 2022–2023 · Declining OI | 7 | 7 | 0 | 0.00% |
| 2022–2023 · Flat or rising OI | 6 | 6 | 0 | 0.00% |
| 2024–2025 · Price rebound alone | 23 | 23 | 3 | 13.04% |
| 2024–2025 · Declining OI | 17 | 17 | 1 | 5.88% |
| 2024–2025 · Flat or rising OI | 6 | 6 | 2 | 33.33% |
Declining and flat or rising OI
No eligible signal closed back at or below L within six bars in 2022–2023. In 2024–2025 it happened for 1 of 17 signals with declining OI and 2 of 6 with flat or rising OI. This is a separate count of signals.
Results at base costs
The filter reduced the loss in 2022–2023. In 2024–2025 both models gained and the OI version was ahead. The OI model completed 7 and 15 trades respectively. The graph shows both base-cost accounts.
| Case | Net return | Maximum H4 drawdown | Completed trades | Skipped while invested |
|---|---|---|---|---|
| 2022–2023 · Base commission · Declining OI | −15.39% | 23.37% | 7 | 0 |
| 2022–2023 · Base commission · Price rebound alone | −20.90% | 33.05% | 13 | 0 |
| 2022–2023 · Higher commission · Declining OI | −16.57% | 23.83% | 7 | 0 |
| 2022–2023 · Higher commission · Price rebound alone | −22.93% | 33.89% | 13 | 0 |
| 2024–2025 · Base commission · Declining OI | +35.43% | 21.13% | 15 | 2 |
| 2024–2025 · Base commission · Price rebound alone | +33.79% | 22.66% | 21 | 2 |
| 2024–2025 · Higher commission · Declining OI | +31.43% | 21.60% | 15 | 2 |
| 2024–2025 · Higher commission · Price rebound alone | +28.29% | 23.12% | 21 | 2 |
Higher fees and snapshot timing
At 20 bp commission per side, the OI model returned −16.57% and +31.43%. At a ten-minute offset with base costs it returned −9.77% in 2022–2023 after adding one trade. The later result stayed at +35.43%. The all-price control and the matched control coincided.
| Case | Price movement | Slippage | Commission | Net P&L |
|---|---|---|---|---|
| 2022–2023 · Base commission · Declining OI | −1,354.94 | 61.48 | 122.96 | −1,539.39 |
| 2022–2023 · Base commission · Price rebound alone | −1,746.59 | 114.56 | 229.13 | −2,090.28 |
| 2024–2025 · Base commission · Declining OI | +4,050.90 | 169.27 | 338.55 | +3,543.08 |
| 2024–2025 · Base commission · Price rebound alone | +4,125.87 | 248.91 | 497.82 | +3,379.14 |
Read the chart example
The December 2024 rebound qualified with declining OI but later closed below L. S is the signal close, E and X are the modeled fills, and O0 and O1 are the earlier and later OI points. Both reference prices were verified in the spot trade archive.
- S · UTC
- E · UTC
- X · UTC
- E · USDT/XRP
- 2.33096490
- X · USDT/XRP
- 1.96691605
- O0 · UTC
- O1 · UTC
- O0 · OI
- 351,990,282.20
- O1 · OI
- 345,910,497.20
- L · USDT/XRP
- 2.1595
- OI change
- −1.73%
- Failure close · USDT/XRP
- 1.9678
Archive and signal coverage
The price rules selected 42 daily metrics files for the needed timestamps. All 36 price candidates had both OI points. Four invalid OI quantities elsewhere in those files were omitted. Substituting published spot H4 on the same usable intervals gave the same results.
Reproduce the calculations
The JSON includes the fixed rules, archive checksums, candles, OI values, signals and independent checks. The CSV gives trades across the eight main scenarios and twelve sensitivity scenarios. The clock is UTC throughout.
Scope of the result
The five-minute offset separates the observation from the decision boundary. The archive gives observation times and leaves actual reception latency unknown. The sample of 7 and 15 filtered trades makes the comparison descriptive. Positions are simulated on spot with fractional XRP and fixed slippage.
Questions and answers
Why compare quantity rather than notional?
The quantity field tracks open exposure in the perpetual. Its quote notional also varies with the valuation price.
Why use snapshots five minutes before each close?
Both archived observations precede the decision. The separate ten-minute test shows the effect of using earlier points.
What if one snapshot is missing?
Both main models exclude that price candidate. The all-price replay measures the effect of that coverage rule.
Does a wick below L trigger a sale?
The failure exit uses a completed H4 close at or below L and then the first available minute opening price.
Can a trade occur on an opening quote used to exit?
An existing position open through that quote blocks the new entry. Later valid signals can still be considered.
What changes with higher fees?
Commission rises from 10 to 20 bp per side. Slippage remains 5 bp per side.
Sources and reproducibility
Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.
Risk disclosure
Educational historical simulation. XRP can lose value. Actual quotes, execution and costs can differ. A close-based exit leaves the account exposed to intrabar moves.