fix(live): smoke test REALE pairs -> live solo ETH/BTC (alt assenti su Deribit)
Test reale (scripts/analysis/live_smoke_pairs.py): fetch live Cerbero + tick vero per coppia. Scoperta: l'endpoint Deribit serve solo BTC/ETH freschi; LTC/ADA-PERPETUAL sono VUOTI e SOL ha pochi dati. Il backtest usava i parquet locali (8 asset completi), ma la pipeline live no -> tradabile live SOLO ETH/BTC. - strategies.yml: abilitata solo la coppia ETH/BTC; le altre 4 disabilitate con nota (valide a backtest, off finche' non si aggiunge un feed live per gli alt). - live_smoke_pairs.py (nuovo): verifica end-to-end della pipeline live (no ordini reali). - CLAUDE.md / docstring PR01: distinzione esplicita logica-validata vs live-disponibile. Onesta': la validazione precedente era backtest-equivalence (ESATTA), NON test live; il test live ha rivelato il limite del feed alt. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+15
-12
@@ -94,37 +94,40 @@ strategies:
|
||||
# ---------------------------------------------------------------------------
|
||||
# PR01 — PAIRS market-neutral spread reversion (worker a 2 GAMBE: src/live/pairs_worker.py)
|
||||
# Config UNIVERSALE n50 z2 zx0.75 mb72 (anti-overfit, validata walk-forward).
|
||||
# fee_rt 0.001/gamba -> 0.20% RT/coppia. ATTENZIONE: richiede perp shortabile per
|
||||
# entrambe le gambe; su alt (LTC/SOL/ADA) verificare liquidita'/fill prima del live reale.
|
||||
# fee_rt 0.001/gamba -> 0.20% RT/coppia.
|
||||
# SMOKE TEST LIVE (scripts/analysis/live_smoke_pairs.py, 2026-05-29): l'endpoint
|
||||
# Cerbero/Deribit serve solo BTC/ETH freschi; LTC/ADA-PERPETUAL sono VUOTI e SOL ha
|
||||
# pochi dati. Quindi LIVE e' tradabile SOLO ETH/BTC. Le altre coppie restano valide nel
|
||||
# backtest (parquet locali completi) ma DISABILITATE finche' non si aggiunge un feed live
|
||||
# per gli alt (Bybit/Hyperliquid via Cerbero). Il runner comunque salta i pair senza feed.
|
||||
pairs:
|
||||
- name: PR01_pairs_reversion
|
||||
- name: PR01_pairs_reversion # UNICA tradabile live (feed Cerbero OK)
|
||||
a: ETH
|
||||
b: BTC
|
||||
tf: 1h
|
||||
enabled: true
|
||||
params: {n: 50, z_in: 2.0, z_exit: 0.75, max_bars: 72, jump_max: 0.08}
|
||||
- name: PR01_pairs_reversion
|
||||
- name: PR01_pairs_reversion # feed alt assente su Deribit -> off
|
||||
a: LTC
|
||||
b: ETH
|
||||
tf: 1h
|
||||
enabled: true
|
||||
enabled: false
|
||||
params: {n: 50, z_in: 2.0, z_exit: 0.75, max_bars: 72, jump_max: 0.08}
|
||||
- name: PR01_pairs_reversion
|
||||
- name: PR01_pairs_reversion # feed alt assente su Deribit -> off
|
||||
a: ADA
|
||||
b: ETH
|
||||
tf: 1h
|
||||
enabled: true
|
||||
enabled: false
|
||||
params: {n: 50, z_in: 2.0, z_exit: 0.75, max_bars: 72, jump_max: 0.08}
|
||||
- name: PR01_pairs_reversion
|
||||
- name: PR01_pairs_reversion # LTC assente su Deribit -> off
|
||||
a: BTC
|
||||
b: LTC
|
||||
tf: 1h
|
||||
enabled: true
|
||||
enabled: false
|
||||
params: {n: 50, z_in: 2.0, z_exit: 0.75, max_bars: 72, jump_max: 0.08}
|
||||
# ETH/SOL: la piu' debole (DD ~63%, storia SOL corta) -> peso ridotto consigliato
|
||||
- name: PR01_pairs_reversion
|
||||
- name: PR01_pairs_reversion # SOL pochi dati su Deribit; la piu' debole -> off
|
||||
a: ETH
|
||||
b: SOL
|
||||
tf: 1h
|
||||
enabled: true
|
||||
enabled: false
|
||||
params: {n: 50, z_in: 2.0, z_exit: 0.75, max_bars: 72, jump_max: 0.08}
|
||||
|
||||
Reference in New Issue
Block a user