analiza Ferestre v2 pe 407 trade-uri (dec 2025 inclus)

- corectii typo #182 (ordine TP0/TP1) si #338 (TP1 0.011->0.11)
- repara calea hardcodata D: -> derivata din locatia scriptului
- regenereaza Ferestre_v2.xlsx; B (19:45-21:45) atinge pragul 0.20R,
  cea mai robusta; A/W slabesc usor dupa decembrie
- actualizeaza Findings curente in CLAUDE.md

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Marius
2026-06-02 23:39:05 +03:00
parent a0c6dc04e9
commit c7fe08c088
4 changed files with 7 additions and 5 deletions

View File

@@ -17,8 +17,10 @@ from openpyxl.chart import LineChart, Reference
from openpyxl.drawing.line import LineProperties
from openpyxl.chart.shapes import GraphicalProperties
SRC = "D:/PROIECTE/atm-backtesting/data/backtest.xlsx"
OUT = "D:/PROIECTE/atm-backtesting/data/Ferestre_v2.xlsx"
import os
_DATA = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "data")
SRC = os.path.join(_DATA, "backtest.xlsx")
OUT = os.path.join(_DATA, "Ferestre_v2.xlsx")
STRATS = ['tp0only', 'tp1only', 'tp2only', 'hybrid_be', 'hybrid_nobe']
ACCT, DAILY, MAXL = 50000.0, 2000.0, 3500.0
ROLUNI = {1: 'Ian', 2: 'Feb', 3: 'Mar', 4: 'Apr', 5: 'Mai', 6: 'Iun',
@@ -251,7 +253,7 @@ def build():
title("CONCLUZII (citește întâi astea)")
for c in [
"1. Edge real dar MODEST. Pe toate cele 330 de tranzacții, doar managementul hybrid_be e pozitiv (~+0.05R). Edge-ul vine din CÂND tranzacționezi, nu din ce management alegi.",
f"1. Edge real dar MODEST. Pe toate cele {len(T)} de tranzacții, doar managementul hybrid_be e pozitiv (~+0.05R). Edge-ul vine din CÂND tranzacționezi, nu din ce management alegi.",
"2. Fereastra de aur = ~19:0021:00 RO. Ora 18:0019:00 e zonă moartă (0.10R); orice fereastră care o include își diluează edge-ul. Ora de START optimă = 19:15.",
"3. Trei opțiuni recomandate: A = 19:1520:15 (1h, edge maxim/tranzacție, timp minim) · B = 19:4521:45 (2h, cel mai bun edge robust, trece pragul 0.20R) · W = 19:1522:15 (3h, cei mai mulți bani raportat la timp: +$1.3k vs B, N=89, edge 0.17R sub prag). A prelungi până la 22:45 aduce doar ~+$61 marginal.",
"4. Pt durate SCURTE (≤2h) plasarea B (19:45-21:45) bate start-ul 19:15; 19:15 câștigă DOAR pe ferestre lungi (3h+). B rămâne cea mai de încredere (pozitiv în fiecare lună, cel mai puternic out-of-sample, cel mai bun interval bootstrap).",