[GAP-059]: ORB range telemetry context complete
- SimpleORBNT8.cs: source telemetry ORB range from SDK opening range tracker - SimpleORBNT8DefaultsTests.cs: guard against dead adapter ORB fields and verify SDK source - OrbConfluenceFactorTests.cs: prove realistic ORB range ticks produce ratio reason - SPRINT_BOARD.md and decisions.md: record implementation and deploy blocker Build: clean | Tests: 545 passing; Core 456 passing | Dual-deployed: no - NinjaTrader.exe PID 18800 locked NT8.Core.dll
This commit is contained in:
@@ -69,6 +69,10 @@
|
||||
- Live SIM spot-check 2026-08-23/24: file log shows a ~16-hour `REJECT SUMMARY` blackout (`23:55:01` Aug 23 night → `16:00:00` Aug 24 afternoon), covering the entire 09:30-16:00 ET trading day. Confirmed the 09:30-10:00 "Grade A" telemetry Mo saw is by-design (real order path correctly blocked pre-ORB-close; those are hypothetical default-long diagnostic scores, not real signals) — but the log currently cannot show *why* any bar was rejected for that whole span.
|
||||
- Root cause: `MaybeWriteRejectSummarySnapshot`'s blanket `TimeOfDay < 10:00 AM` gate suppresses the entire midnight-10am span daily (not just the ORB window); `_orbRejectSummarySnapshotWritten` is a session-lifetime flag that fires once (here, accidentally, during the first night's ETH activity) and never again on a multi-day run; snapshots are only ever reject-triggered with no independent timer.
|
||||
- Prompt: `TASK_GAP060_REJECT_SUMMARY_VISIBILITY_PROMPT.md`. Implemented as observability-only: suppression is now ORB-window/date-aware, the once-after-ORB flag resets per day, and `OnBarUpdate` checks summary cadence on the live bar heartbeat instead of only inside reject logging. Open question resolved as (a): `SimpleORBStrategy.OnBar()` does record `OrbRangeNotEstablished` before and after ORB close during an RTH no-breakout path; missing visibility was adapter summary reporting, not a distinct SimpleORB defect. Verification: focused tests 8/8, `verify-build.bat` 543/543, Core Release no-build 454/454. Deployment attempted but blocked because NinjaTrader.exe PID 18800 locked `NT8.Core.dll`; commit made per operator instruction without deploy.
|
||||
**[GAP-059] Telemetry `OrbRangeVsAtr` always reports "no daily bar context"** | Stage 1 | ✅ IMPLEMENTED — deploy blocked by running NT8
|
||||
- `SimpleORBNT8.OnBarUpdate()` computed `orbRangeTicks` from `_openingRangeHigh`/`_openingRangeLow`, two fields declared but never assigned anywhere in the file — permanently `0.0`. GAP-049's telemetry fix depended on this value being nonzero and never fired as a result.
|
||||
- Correct live values already existed in the same file (`sdkOrb.OpeningRangeHigh`/`OpeningRangeLow`, used correctly at the `STATE_CONTEXT` and diagnostics call sites) — this was a wiring fix, not new logic. Confirmed data-source only; no order flow, sizing, or risk behavior changed.
|
||||
- Prompt: `TASK_GAP059_ORB_RANGE_TELEMETRY_PROMPT.md`. Implemented by sourcing the adapter-built daily context's ORB range from `SdkSimpleORB.OpeningRangeHigh/OpeningRangeLow` only when `OpeningRangeReady` is true, then removing the dead adapter fields. This lets GAP-049's telemetry clone emit nonzero `orb_range_ticks` and gives `OrbRangeVsAtrFactorCalculator` the context it already expected. Verification: focused tests 32/32, `verify-build.bat` 545/545, Core Release no-build 456/456. Deployment blocked because NinjaTrader.exe PID 18800 locked `NT8.Core.dll`; commit made per operator instruction without deploy.
|
||||
### Also raised by the review, not yet prompted
|
||||
GAP-051 (`MicroUpgradeThreshold` fires every session) · GAP-052 (two hardcoded tick-value tables) ·
|
||||
GAP-053 (`executive_summary.md` and `roadmap.md` Sprint 3 list present ~12 completed tasks as open) ·
|
||||
|
||||
Reference in New Issue
Block a user