Strategies
FMZ '交割合约现货套利策略测试版' (Spot–Delivery Futures Arbitrage, test version) by ianzeng123, faithful port: ADF-gated z-score basis arbitrage, BTCUSDT.BINANCE_SPOT vs Binance USD-M BTC quarterly futures (current + next quarter), 1-minute bars
Outcome: Abandoned
FmzSpotDeliveryAdfZScoreBasisArb
Outcome Summary
FmzSpotDeliveryAdfZScoreBasisArb ported an FMZ open-source strategy that arbitrages the basis between BTC spot and Binance USD-M quarterly futures, using an ADF stationarity gate and a z-score entry on the spread rate, with fixed 0.05 BTC legs and futures at 10x leverage. The strategy rolled through every quarterly from BTCUSDT_210326 onward, aligning each contract with spot by timestamp. In its first iteration it stalled in verification and was abandoned after three timeouts ('verifying_stuck_3_timeouts'). It never reached backtesting, optimization or analyst review, so its edge was never measured.
Hypothesis
BTC is over-represented in the corpus, but the mechanism genuinely requires it: BTC is the source's only allowed coin and Binance USD-M dated quarterlies with multi-year 1m history exist in our catalog only for majors (verified per contract: BTCUSDT_210326 through BTCUSDT_261225). It fills the most under-represented buckets: cross-venue (7.4% vs >=15% target), market-neutral/long-short, short horizon, and an untried mechanism (spot vs dated-futures basis).
verifying_stuck_3_timeouts
Implementation
Faithful bar-level port of ianzeng123's FMZ '交割合约现货套利策略测试版'. Pairs BTCUSDT.BINANCE_SPOT with Binance USD-M BTC dated quarterlies (BTCUSDT_YYMMDD.BINANCE, 1-minute bars). For each contract it keeps a 1m spreadRate=(fut-spot)/spot history (max 5000), runs an hourly ADF test (last 1000 points, lag floor(12*(n/100)^0.25), normal-approx p-value as in the source; 3 consecutive failures forbid trading), and on the nearest two live contracts ('quarter'/'next_quarter', re-discovered every bar so the chain rolls through the whole history) enters when |z|>=zScoreEntry: z>0 buys 0.05 BTC spot + sells 0.05 BTC of the quarterly; z<0 sells spot + buys the quarterly only if free spot BTC exists (source balance check). Exits when the dollar spread returns into [mu±0.5σ]*spot (widened to keep minProfitSpaceRate of room from the entry spread), at a 1.5% combined stop, <1 day before delivery (YYMMDD 16:00 UTC), or after 10 days if profitable. No take-profit.
Outcome Summary
A multi-instrument 1-minute strategy that re-discovers a rolling chain of many quarterly contracts and runs periodic ADF regressions needs to fit the verification sandbox's wall-clock budget, for example by limiting which extra instruments are loaded, before it can be evaluated at all.
The run was abandoned in verification with reason 'verifying_stuck_3_timeouts' after 1 iteration: it timed out three times, so backtest review, optimization, analyst and risk review never ran.
A faithful port of ianzeng123's FMZ spot–delivery arbitrage: trade the BTC basis between BTCUSDT.BINANCE_SPOT and the nearest two Binance USD-M quarterly futures on 1-minute bars, opening hedged pairs when an hourly ADF test says the spread rate is stationary and |z| >= 1.0 (in practice only long spot / short future, because the account starts with USDT only).
No performance figures exist: the backtest report is empty and there is no optimization report, so it produced no return, Sharpe or trade-count numbers.
Analysis
交割合约现货套利策略测试版
Backtest and paper results are hypothetical. Trading involves risk of loss.