fix: exit_price=last_price в executor, time_exit=ON, exp20 результаты

1. executor.py:266 — exit_price=last_price вместо stop_price (реальная
   биржа исполняет по рыночной цене, не по уровню стопа)
2. config.yaml — time_exit=true (exp20: Sharpe 1.10, DD 15.7% vs 0.98/20.2%)
3. exp19 — исправлен пропущенный stop_scale=0.5
4. exp20 — новый эксперимент: повторный тест отклонённых идей с 50% slippage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
anor
2026-03-10 22:24:56 +10:00
co-authored by Claude Opus 4.6
parent efce719282
commit aaa9dd6ecb
14 changed files with 73755 additions and 3 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ def _check_position(conn, pos, prices, dates, asset, asset_cfg, cfg):
time_exit = days_held >= max_hold
if stopped or time_exit:
exit_price = stop_price if stopped else last_price
exit_price = last_price # always use market price (stop_price was optimistic)
exit_reason = "stop" if stopped else "time"
pnl_net, pnl_pct = risk.calculate_pnl(