feat(games): sessione 2 del gioco Blind Traders su timing diversi (30m/2h/4h)

- engine: resampling (_RESAMPLE) per 30m/2h/4h/1d + TF_BPM esteso -> nuovi timing.
- arena/run_game: TIMEFRAMES estesi, out_name e GAME_SPECS_DIR/GAME_OUT parametrizzati
  (game 1 non sovrascritto).
- Risultato: 10 finalisti tutti 30m pairs ETH/BTC (vincitore #36: OOS Sh 12.3, 43 tr/mese).
  La regola >=10 trade/mese filtra i tf lunghi (4h: 4/33 qualificati). Conferma la
  frontiera frequenza-vs-edge. Diario 2026-06-09-blind-traders-game2.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Adriano Dal Pastro
2026-06-09 13:01:34 +00:00
parent abc1c1cb80
commit d3dab57532
5 changed files with 74 additions and 9 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ def make_digest(tf: str, window: int = 60, seed: int = 0):
n = data["n"]
# finestra recente normalizzata (base 100) per "vedere" la forma
s = max(0, n - window)
dig = {"timeframe_id": {"1h": "T1", "15m": "T2", "5m": "T3"}.get(tf, "T?"),
dig = {"timeframe_id": {"5m": "T1", "15m": "T2", "30m": "T3", "1h": "T4",
"2h": "T5", "4h": "T6", "1d": "T7"}.get(tf, "T?"),
"n_bars_total": n, "series": {}}
for name in ("A", "B"):
o = data[name]