 anorandClaude Opus 4.6
|
650ab61168
|
fix: max_trades=99, leverage per symbol, crash recovery, test_live.py
- max_trades=99 в config/backtest — стратегия находит ВСЕ входы,
лимит позиций контролирует executor (Phase 2)
- leverage setup per symbol (set[str] вместо bool)
- crash recovery: get_today_trade_keys() восстанавливает last_trade_ids
- flash trade exit по new_positions[-1] (slippage-safe)
- last_trade_ids.add() только в Phase 2 для исполненных трейдов
- test_live.py: cfg.strategy → per-symbol strat_cfg
- backtest_wf: risk 5%, max_trades=[99]
- cli daemon: per-symbol params display
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-13 18:46:28 +10:00 |
|
 anorandClaude Opus 4.6
|
4c90345585
|
feat: live execution — replay approach для ORB+FVG+Engulfing
config.yaml + config.py: конфигурация с YAML + env var overrides
state.py: SQLite state (equity, sessions, positions, orders)
exchange.py: Bybit linear futures executor (dry-run + live)
executor.py: торговый цикл — fetch candles → run_day() → reconcile
cli.py: Click CLI (run, status, history, daemon с APScheduler 5m)
notify.py: Telegram alerts (entry, exit, OR)
Существующие backtest-скрипты не затронуты.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-13 16:56:45 +10:00 |
|