Repository navigation
[OA-016] Add structured market conditions and paper-only trade proposals #16
Copy link
Copy link
Open
Labels
integration-gateExternal or native capability requires reproducible evidenceExternal or native capability requires reproducible evidenceplannedExecution-ready planned work; not implementedExecution-ready planned work; not implemented
Milestone
Description
Planned implementation slice OA-016. No application behavior is implemented by this issue.
Phase: P4 · Dependencies: OA-009, OA-011, OA-012
Full roadmap detail · Contracts
Requirements
OA-TRD-002, OA-TRD-003, OA-ALT-003
Target files
packages/core/src/market-data/adapter.tspackages/core/src/market-data/conditions.tspackages/core/src/trading/paper-proposal.tsapps/desktop/src/renderer/trading/PaperPanel.tsxdocs/decisions.md
Acceptance criteria
- Numerical threshold rules use structured timestamped market data with symbol, venue, units, source, and freshness; screenshots support qualitative chart discussion only.
- Initial integration uses synthetic/replay data until a user-selected data provider and redistribution terms are approved.
- Paper proposal includes assumptions, data timestamp, risk inputs, and explicit paper label; no broker credentials or live order endpoint exists.
- Paper ledger acknowledges simulation limits and stale/out-of-session/missing data cannot trigger a fresh numerical condition.
Verification
- Deterministic replay with out-of-order ticks, duplicates, stale prices, symbol/venue mismatch, unit errors, and market-session boundaries.
- Threshold crossing produces one paper event; screenshot OCR price alone never qualifies.
- Source inspection and network test prove no live order route is exposed.
Gate and estimate
G4t: numeric alert and paper-proposal behavior is verified; live execution remains out of scope.
4-8 first-pass work-unit hours; NOT an alpha completion estimate; assumption: 8 bounded 30-60 minute work units, prepared environment and fixtures; integration waits/rework excluded
Handoff
Record changed files, actual commands/results, mock versus live evidence, residual limits, and review verdict. Do not connect personal feeds or accounts in CI.
Bounded work units
- Define timestamped data schema (30-60 minutes)
- Build replay adapter (30-60 minutes)
- Validate symbols/units/freshness (30-60 minutes)
- Implement numeric crossings (30-60 minutes)
- Create paper proposal schema (30-60 minutes)
- Build paper-only panel (30-60 minutes)
- Test replay edge cases (30-60 minutes)
- Verify no broker execution path (30-60 minutes)
Linked dependencies
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
integration-gateExternal or native capability requires reproducible evidenceExternal or native capability requires reproducible evidenceplannedExecution-ready planned work; not implementedExecution-ready planned work; not implemented
Activity