[GAP-056]: inert breakeven params hidden
- NT8StrategyBase.cs: hide inert breakeven parameters with Browsable(false) and unused descriptions - SimpleORBNT8.cs: label settings export AutoBreakeven values as unused compatibility fields - NT8StrategyBaseBreakevenParamsTests.cs: add source assertions for hidden/inert parameters and no order-flow reads - SPRINT_BOARD.md/decisions.md: record Option A and verification evidence Build: clean | Tests: 555 passing; Core 466 passing | Dual-deployed: no - skipped by prompt
This commit is contained in:
@@ -79,9 +79,14 @@
|
||||
**[GAP-052] Two hardcoded tick-value tables have already drifted out of sync** | Stage 1 | ✅ IMPLEMENTED — deploy skipped by operator
|
||||
- `BasicRiskManager.GetTickValue` (6 symbols) and `BasicPositionSizer.GetTickValue` (8 symbols) disagreed: `BasicPositionSizer` supported `6E`/`6A`, while `BasicRiskManager` fell through to its `default: 12.50`. For `6A`, the real tick value is `$10.00`, creating a latent 25% risk-calculation error if traded. NQ/MNQ were unaffected and remain unchanged.
|
||||
- Prompt: `TASK_GAP052_TICK_VALUE_CONSOLIDATION_PROMPT.md`. Implemented Option A: shared platform-neutral `InstrumentTickValueTable` containing the union of existing symbols (`ES`, `MES`, `NQ`, `MNQ`, `CL`, `GC`, `6E`, `6A`). Basic and Advanced risk/sizing helpers now delegate to the shared table, and `6A` risk validation uses `$10.00` instead of falling through to `$12.50`. Verification: focused tests 26/26, `verify-build.bat` 552/552, Core Release no-build 463/463. Deployment skipped per operator instruction.
|
||||
|
||||
**[GAP-056] `EnableAutoBreakeven`/`BreakevenTriggerTicks`/`BreakevenOffsetTicks` are fully inert** | Stage 1 | ✅ IMPLEMENTED — deploy skipped by prompt
|
||||
- Found during GAP-054 verification (`DEC-20260821-01`): GAP-054 removed the only code path that ever read these three parameters (the runner breakeven block that was clobbering the trailing stop). They remain declared, defaulted, and exposed in the NinjaTrader UI but do nothing — harmless, but an operator toggling `EnableAutoBreakeven` would reasonably expect an effect.
|
||||
- Prompt: `TASK_GAP056_INERT_BREAKEVEN_PARAMS_PROMPT.md`. Implemented Option A: retained the properties for saved workspace/settings compatibility, hid all three from the NT8 property grid with `[Browsable(false)]`, and labeled the SimpleORB settings export as `UNUSED`. No order-flow, sizing, risk, `SetStopLoss`, or `SetTrailStop` logic changed. Verification: focused tests 3/3, `verify-build.bat` 555/555, Core Release no-build 466/466. Deploy intentionally skipped by task prompt.
|
||||
### 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) ·
|
||||
plus GAP-057 (no test seam for NinjaScript managed-order SetStopLoss/SetTrailStop calls) ·
|
||||
plus the standing dirty working tree — 17 modified, 5 untracked, including two live strategy files.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user