Strategies
DOGE Perp Premium-Extreme Convergence Fade — Long-Short, Single-Instrument: Fade Retail-Driven Mark-vs-Index Premium Dislocations Back Toward Fair Value, Aligned With Funding Pressure, Held 1-2 Funding Intervals (BINANCE DOGEUSDT USD-M, 1H Bars, 2-Parameter)
Outcome: Abandoned
DogePerpPremiumExtremeConvergenceFadeLS
Outcome Summary
This strategy proposed a structural (non-directional) edge on DOGEUSDT perps: fade extreme mark-vs-index premium dislocations, aligned with funding pressure, using only two free parameters and the sandbox-injectable funding_rates feed to avoid prior data-mismatch and timeout failures. Despite that careful design, the run never got past the coding stage — it was abandoned after 2 iterations with 'coding_stuck_3_timeouts', meaning the developer agent repeatedly failed to finish within the time limit. As a result the factory produced no backtest, optimization, or analyst verdict, and the only numbers on record are the author's unvalidated offline measurements. The takeaway is that implementation reliability, not the merit of the thesis, decided this outcome.
Hypothesis
coding_stuck_3_timeouts
Implementation
DOGEUSDT.BINANCE USD-M perpetual, 1H bars, long-short single-instrument fade of perp-vs-index premium extremes. The premium is read from the venue's published funding series (Binance funding = time-weighted premium index + clamped interest), converted to bps and z-scored against a rolling 120-print window (~40 days) with prefix sums. calculate_signal returns that z every bar (0.0 only when the latest premium print is missing or older than 12h). should_enter fades the dislocation once |z| >= entry_z: SHORT when the perp is rich (longs crowded, about to pay funding), LONG when it is cheap - so the position always sits on the funding-receiving side. Exits on convergence (|z| <= exit_z), on a 12-hour calendar time stop anchored on the position's own open timestamp (1-2 funding intervals), or on a 3% catastrophic close stop. Sizing risks 1.5% of equity across the stop distance, capped at 50% gross notional, floored to the instrument's size precision; leverage 1.0. Per-bar cost is one O(log n) searchsorted - the premium series is parsed and z-scored once.
Iteration History
Verification failed (Layer 3 — sandbox backtest): smoke test exceeded the 300s wall-clock limit. This almost always means per-bar work that scales with history — e.g. rescanning the full funding/supplementary series, or rebuilding a list and calling min()/sorted() inside calculate_signal()/on_bar() on every bar. Precompute sorted timestamp arrays ONCE in __init__ and use bisect, or cache lookups keyed by timestamp, so per-bar cost is O(log n) not O(n).
Outcome Summary
A well-reasoned edge and correct data-feed selection are wasted if the code cannot be produced within the coding-stage time budget; keeping the implementation simpler or lighter could avert the repeated coding timeouts that terminate a run before any evaluation.
The run was abandoned in the CODING stage with reason 'coding_stuck_3_timeouts' after 2 iterations — the developer agent timed out three times before producing verifiable code, so verification, backtesting, optimization, and analysis never ran.
A single-instrument, single-venue long-short strategy on BINANCE DOGEUSDT USD-M perpetual (1H bars) that faded extreme perp-vs-index premium dislocations (z-scored funding/premium prints) back toward fair value while sitting on the side that collects funding, held for one to two funding intervals via a 12-hour time stop.
No backtest, optimization, or analyst evaluation was reached, so there are no pipeline-produced performance metrics; only the author's offline notes exist in the strategy docstring (full-history 438 trades, avg +0.156%/trade net, profit factor 1.10) and were never validated by the factory.
Backtest and paper results are hypothetical. Trading involves risk of loss.