research: ORB (STOP), overnight-only momentum (STOP), Alpaca paper forward test
- orb_stocks_in_play: 5-min bounds -70%/yr (conservative) vs +71%/yr (optimistic); the optimistic bound breaks even at 3.6 bp slippage a side. - overnight_only: the momentum sleeve's names earn their return overnight (Sharpe 1.57) and nothing intraday; held close->open only, net Sharpe 1.29-1.42 at 1 bp a side, below the 1.5 gate. - overnight_paper.py + systemd unit: MOC buy / MOO sell of the top 10 on the Alpaca paper account from 2026-10-12, with a fills-vs-prints report. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,6 +31,27 @@ Deviations, fixed before the run:
|
||||
The rule is written to prereg.json before the run; the script refuses to
|
||||
overwrite results.json. 2016-2023 is the paper's own sample; 2024-01 onward
|
||||
is after it.
|
||||
|
||||
The fetch was pre-filtered to names that passed the filters on at least one
|
||||
member day (fetch_alpaca.universe, liquid=True). The daily filters above
|
||||
still apply.
|
||||
|
||||
Result (2026-10-09): STOP. The conservative bound fails all gates; the
|
||||
optimistic bound fails O3 (stress).
|
||||
- Data: 1,686 files, 356,908 eligible name-days, 42,807 trades.
|
||||
- Conservative (a stop inside the entry bar counts as hit): -70.5%/yr,
|
||||
Sharpe -7.5, win rate 8%.
|
||||
- Optimistic (no stop inside the entry bar):
|
||||
- Commission only: 71.5%/yr, Sharpe 2.14, MaxDD -29%. Paper-span
|
||||
Sharpe 2.19, 2024+ 1.98, halves 2.32 / 1.97.
|
||||
- +5 bp per side: Sharpe -0.86.
|
||||
- A 10%-ATR stop sits inside a typical 5-minute range, so bar resolution
|
||||
decides the sign.
|
||||
- Even the optimistic bound breaks even at only 3.6 bp of slippage per
|
||||
side on top of commission (1 bp: Sharpe 1.54; 2 bp: 0.94; 3 bp: 0.34),
|
||||
at 3.2x average gross leverage.
|
||||
- Stop-order entries on breakouts of stocks in play rarely fill within
|
||||
a few bp, so 1-minute bars (RESOLVE) would not change the decision.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
Reference in New Issue
Block a user