You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
2.6 KiB
YAML

# ORB Phase 9 Winner — Stop Management Fine-Tune
#
# Phase 9 sweep (20 combos, IS 2022-2024 / OOS 2025-present):
# Best OOS Sharpe: 2.119 (breakeven_at_r=1.0, trailing_at_r=3.0)
# OOS return: +23.8%, OOS max DD: -3.86%, OOS trades: 2669, OOS WR: 52.3%
#
# Key findings:
# trailing=3.0R: avg 2.068 (BEST) — gives trades more room to run
# trailing=5.0R: avg 2.028
# trailing=2.0R: avg 2.013 (was default)
# trailing=0.0R: avg 1.485 (catastrophic — no trailing = no profit lock)
#
# breakeven=1.0R: avg 1.931 (BEST) — protect against reversal after first R gain
# breakeven=0.0R: avg 1.837 (worst — no protection)
#
# Mechanism: ticker_cooldown=2 makes each trade precious → wider trailing (3R)
# lets winners run before locking profits. BE=1.0 guards against reversals.
#
# Parameters changed vs orb_p8_winner.yaml:
# trailing_at_r: 3.0 (was 2.0 — wider trailing to let trades run)
strategy_mode: orb
orb_strategy:
# ORB window
orb_minutes: 5
sim_bar_minutes: 5 # Phase 8 confirmed optimal
# Entry
entry_direction: long_only
order_timeout_minutes: 20 # Phase 3 winner
# Universe quality filters
min_price: 10.0
min_avg_dollar_volume: 25000000
min_atr_14: 0.50
# RVOL-based candidate selection
min_rvol: 1.0
max_candidates: 20
min_candidates_to_trade: 3
# Composite ranking weights
weight_rvol: 0.40 # Phase 4 winner
weight_gap: 0.35 # Phase 4 winner
weight_dollar_vol: 0.15
weight_body_ratio: 0.0 # Phase 4 confirmed
weight_momentum: 0.0 # Phase 5 confirmed
# ATR-based stop management — Phase 9 winners
atr_stop_multiplier: 1.25 # Phase 6 winner
breakeven_at_r: 1.0 # Phase 9 confirmed (was already optimal)
trailing_at_r: 3.0 # Phase 9 winner (was 2.0)
trailing_stop_atr_multiplier: 0.3
# Risk-based position sizing
risk_per_trade_pct: 0.0025 # Phase 4 confirmed
max_position_pct: 0.20
daily_max_loss_pct: 0.0125
max_stops_per_day: 3
# Exit
exit_minutes_before_close: 10 # Phase 6 winner
# Execution
slippage_bps: 5.0
initial_capital: 10000
ticker_cooldown_days: 2 # Phase 7 winner
# Cash account settlement
settlement_days: 1
# Gap filter
max_gap_pct: 0.04 # Phase 6 winner
# Market regime filter (no effect — Phase 7)
market_regime_spy_threshold: null
min_candidate_breadth: null
universe:
source: midlarge
backtest:
start_date: null
end_date: null
lookback_trading_days: 200
cache:
enabled: true
dir: data/cache/intraday
output:
dir: runs/intraday_orb
verbose: false