Skip to content

View original

BnbPriceOpenInterestConfirmedTrendLS

Hypotheses

BNB Price–Open-Interest Confirmed Trend Continuation, Long-Short (Single-Instrument BNBUSDT.BINANCE USD-M, 4H Bars — Take Directional Trend ONLY When Open Interest is EXPANDING With the Move = Fresh Committed Leverage, Stand Flat When OI Contracts = Short-Covering/Washout Without Conviction, ATR-Trailing Exit, 3-Parameter)

Hypotheses

A LONG-SHORT, single-instrument, single-venue trend-CONTINUATION strategy on BNBUSDT.BINANCE USD-M perpetual (4H bars) whose signal is the JOINT state of price direction and OPEN-INTEREST change — a positioning tell, not a pure-OHLCV filter. The core idea (which is the mechanism that PASSED as SolPriceOpenInterestQuadrantTrendLS and is live as DogeOpenInterestConfirmedTrendContinuationLS): a directional move is only worth riding when it is accompanied by EXPANDING open interest, because rising OI means new capital is committing on that side and the move is being funded by fresh leverage rather than by position-closing. When price trends up AND OI is rising, go LONG (genuine accumulation). When price trends down AND OI is rising, go SHORT (fresh shorts pressing, genuine distribution). When OI is FALLING, the move is being driven by de-risking (a rally on falling OI is short-covering; a selloff on falling OI is a long-liquidation washout) — there is no committed conviction behind it, so STAND FLAT. This is explicitly the OPPOSITE polarity of the abandoned 'BTC Price–OI Divergence Reversal' (which FADED moves on falling OI and died in coding); here we only take CONFIRMED continuation and never fade. Routed to BNB — a highly liquid major whose price series is essentially absent from the factory's momentum book (dominated by BTC/ETH/ADA/SOL) — and to Binance USD-M specifically because the mechanism genuinely requires the reliable, densely-collected OI feed that only Binance provides in the catalog (HL/COIN-M OI coverage is thinner and HL multi-history is timeframe-capped). 3 parameters only, to fight the overfitting that is the #2 killer here.

Hypotheses

Direct implementation of the hypothesis's price/OI quadrant logic with the exact polarity requested: continuation ONLY on expanding OI (both directions), flat on contracting OI, never a fade. It reuses the mechanism and code shape that passed as SolPriceOpenInterestQuadrantTrendLS / DogeOpenInterestConfirmedTrendContinuationLS, minus the daily confirmation leg, because this hypothesis is explicitly single-instrument with 3 parameters (mom_lookback, oi_lookback, trail_atr_mult, bounds declared in _param_bounds). Routed to Binance USD-M as required: shorts need a MARGIN venue and the OI feed the mechanism depends on is densely collected only for Binance (data/supplementary/metrics/BNBUSDT and open_interest_hist/BNBUSDT both exist). leverage stays 1.0 - the edge needs the futures venue for shorts and the OI feed, not amplified notional, so no unused leverage is declared. OI is read strictly at-or-before each bar close via a forward-only pointer (no lookahead, O(bars + readings) so the 300s smoke budget is safe), and 30-minute thinning keeps the merged series small. Entry is a 2-condition conjunction on a 4H series with an ATR-normalised threshold, which fires on the order of tens of times a year rather than the near-mutually-exclusive 3+ gates that cause zero-trade sandbox failures.

Hypotheses

Negative expectancy on a decisive 487-trade / 2400-day (6.5-year) sample: profit_factor 0.806 (<1, gross-NEGATIVE before costs — commission is only 9.48% of gross, so this is a losing signal not fee-fragility), avg_trade_return_pct -0.126% (below ZERO, not merely below the 0.15% Binance USD-M floor), expectancy -$86.66/trade, total_return -42.1%, Sharpe -0.145 with CI [-0.898, 0.562] straddling zero. Optimization cannot lift an edge that is negative before costs. The code faithfully implements the OI-confirmed continuation hypothesis (487 signaled = 487 submitted, balanced 255 long / 232 short, ATR trailing + OI-contraction + trend-flip exits) so this is a fair test, and QA's concern is confirmed on full history: the OI-expansion gate adds no edge on BNB. The failure is regime-WIDE — the book loses in all three vol terciles (calm, normal, stressed) and in every calendar year 2021 through 2026 — the opposite of a robust continuation edge. Tuning 3 parameters cannot rescue a PF-0.806 signal that is gross-negative in every regime; not worth 2 hours of walk-forward. abandon_class = negative_expectancy (premise falsified on BNB).

Implementation

Long-short 4H trend-continuation on BNBUSDT.BINANCE USD-M perpetual whose entry is gated on the JOINT state of price direction and OPEN-INTEREST change. The signal is a continuous ATR-normalised momentum read, trend = (close/close[-mom_lookback] - 1) / (ATR/close), recomputed every bar. Open interest is merged point-in-time from the `metrics` (deep 5-minute Binance Vision series) and `open_interest` (recent fapi mirror) supplementary feeds and reduced to oi_change = OI(t)/OI(t - oi_lookback bars) - 1. Entry: trend > entry_thresh AND oi_change > oi_expand_thresh -> LONG (fresh leveraged longs funding the rally); trend < -entry_thresh AND oi_change > oi_expand_thresh -> SHORT (fresh shorts pressing). Any falling-OI state is a hard no-trade: a rally on contracting OI is short-covering and a selloff on contracting OI is a long-liquidation washout, neither carries committed capital, so the strategy stands flat and never fades. Exits: ATR trailing stop (give back trail_atr_mult x entry-ATR from the best close since entry), OI contraction beyond oi_contract_thresh, or the trend flipping against the position. Sizing is risk-first (risk_pct of equity across the trailing-stop distance) with a hard notional cap, so losses shrink size instead of compounding it. If no fresh OI reading exists for a bar the strategy opens nothing rather than degrading into a price-only trend follower.

Verification Results

No action required unless the base template's own min_bars gating is expected to run — confirm the override is intended (it appears to be).

Verification Results

min_bars_required() and _submit_exit() shadow framework methods (static-analysis base_shadow warnings). Both overrides appear deliberate and correct here (min_bars scales with the tunables; _submit_exit resets trailing state after calling super()), so this is informational, not a defect.

Verification Results

Sandbox smoke test is deeply negative (total_return -42%, Sharpe -0.13, PF 0.81, avg_trade_return_pct -0.126% — below the Binance USD-M viability floor and slightly negative). Commission is only 9.5% of gross, so this is a gross-marginal/negative signal in this single unoptimized draw, not pure fee-fragility. Long and short legs both win ~0.31-0.37, and the book loses across all three vol terciles. The mechanism (OI-confirmed continuation) is the same family that passed as SolPriceOpenInterestQuadrantTrendLS and is live as DogeOpenInterestConfirmedTrendContinuationLS, so the routing to BNB is a legitimate new instrument, but the analyst should confirm on full history + optimization that the OI-expansion gate actually adds edge over a price-only trend follower on BNB rather than inheriting the family's parametric luck. First thing to check: whether the negative expectancy is regime-wide (falsified premise) or concentrated, and whether the 3x-ATR trailing give-back is too wide for BNB's 4H swings.

Backtest Review

Mechanism faithfully implemented: 487 signaled = 487 submitted, no dropped orders, balanced long/short (255/232), OI-expansion gate active

Backtest Review

New instrument (BNB) legitimately underrepresented in the momentum book

Backtest Review

Negative expectancy on a decisive 487-trade / 2400-day sample: profit_factor 0.806 (<1 = gross-negative BEFORE costs; commission only 9.48% of gross), avg_trade_return_pct -0.126% (below ZERO, under the 0.15% Binance USD-M floor), expectancy -$86.66/trade, total_return -42.1%, Sharpe -0.145 with CI [-0.898, 0.562] straddling zero

Backtest Review

Regime-wide failure, not concentrated: LOSES in all three vol terciles (calm -0.118, normal -0.025, stressed -0.326) and in EVERY calendar year 2021-2026 (annual returns all negative). This is a falsified premise, not tunable luck

Backtest Review

Both legs weak (long win 0.314, short win 0.358); the OI-expansion gate is not adding edge over a price-only trend follower on BNB — exactly QA's concern, borne out on full history

Backtest Review

47% max drawdown with a 1478-day underwater duration; recovery_factor -0.90

Outcome Summary

BnbPriceOpenInterestConfirmedTrendLS-9d937cf88c

Outcome Summary

An OI-expansion confirmation gate that succeeded on SOL and DOGE did not transfer to BNB — it added no edge over a price-only trend follower and the premise was falsified across all regimes and years.

Outcome Summary

The backtest-review gate returned an 'abandon' verdict before optimization: gross-negative before costs with avg_trade_return_pct below zero and under the 0.15% floor. Analyst and risk stages were never reached.

Outcome Summary

A long-short 4H trend-continuation strategy on BNBUSDT.BINANCE USD-M that rode directional moves only when open interest was expanding (fresh committed leverage) and stood flat when OI contracted, exiting on an ATR trailing stop, OI contraction, or trend flip.

Outcome Summary

Over a 6.5-year / 2400-day backtest it took 487 trades (255 long, 232 short) and lost money: total return -42.1%, Sharpe -0.145, profit factor 0.806, win rate 33.5%, expectancy -$86.66/trade, avg_trade_return_pct -0.126%, and 47% max drawdown. It lost in all three volatility terciles and in every calendar year 2021-2026.
Strategy report

Backtest and paper results are hypothetical. Trading involves risk of loss.