Files
remizov-trader/experiments/autoresearch/strategy.py
T
anorandClaude Opus 4.6 0286dc4322 feat: autoresearch — sweep runner, dashboard, реалистичный бэктест
- runner.py: grid search по параметрам (shift, stop_mult, K, lr, cooldown) для 20 монет
- dashboard.py + dashboard.html: real-time web-дашборд (FastAPI + SSE + Chart.js)
  - динамические asset filter pills, asset summary, sortable table
- evaluate.py: бэктест с 4 фиксами trading best practices:
  - стопы по OHLCV low/high вместо close (intra-bar stop-outs)
  - exit at stop_price с учётом gap-down (fill at open if worse)
  - Sharpe: sqrt(365) вместо sqrt(252), PnL распределён по дням удержания
  - out-of-sample holdout split (60% val / 40% OOS от test периода)
- dataset.py: добавлены 14 новых Bybit USDC пар (XRP, AVAX, LINK, UNI, ATOM, LTC, NEAR, APT, FIL, ARB, OP, SUI, INJ, SEI)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 18:41:07 +10:00

19 lines
370 B
Python

"""Strategy parameters — autogenerated."""
PARAMS = {
'window_size': 64,
'shift': 10,
'epochs': 300,
'lr': 0.01,
'K': 3,
'corr_thresh': 0.5,
'min_confidence': 0.0,
'shape_confirm': False,
'regime_adaptive': False,
'leverage': 1,
'stop_mult': 2.0,
'stop_scale': 1.0,
'trailing_stop': True,
'cooldown_bars': 3,
}