Update run_stop_check docstring to reflect dynamic sim_bar_minutes schedule

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
I Luk Kim 4 months ago
parent 1f1fd4299f
commit ecbff65ea4

@ -648,12 +648,12 @@ class ORBTradingEngine:
"remaining": len(still_pending),
}
# ── Phase 4: Stop Check (90-min checkpoints) ──────────────────────────────
# ── Phase 4: Stop Check (sim_bar_minutes checkpoints) ────────────────────
def run_stop_check(self, date_str: str) -> dict[str, Any]:
"""Evaluate stops for all open positions using 90-min aggregated bars.
"""Evaluate stops for all open positions using aggregated bars.
Called at 11:10, 12:40, 14:10, 15:40 ET.
Called every sim_bar_minutes from orb_end until 15:55 ET.
Stop logic mirrors orb_simulator.py:477-580 exactly.
"""
self._date_str = date_str

Loading…
Cancel
Save