[W15] Implement conservative replay fills and conserving ledgers

Offen
#24 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python, rust
Bereich
data, fintech-quant

Rechercherichtung

Start by reading docs/rfcs/RFC-0006-deterministic-simulation.md and inspect the blocked issues #14, #18, and #37 for their prerequisites. The issue names no implementation files or tests, so locate the replay and ledger entry points before estimating the work. Done means hypothetical fills do not alter recorded markets, unknown queues and partial fills are explicit, and per-asset flows reconcile with fee and overflow cases verified.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area:simulation kind:delivery spec:tracked

Kind: delivery · Milestone: M5 · Accountable role: simulation

This is planned work. Completion does not imply a passed research gate.

Specification sources

Requirement obligations and verification

PHO-SIM-04 — Historical replay MUST NOT claim hypothetical orders changed the recorded market or that unobserved queue positions are known.

Verification: Fill-policy audit and impossible-fill negative cases.
Registry milestone: M5; associated gate: G2.

PHO-SIM-05 — Financial simulation MUST conserve per-asset quantities with explicit external flows, charges, settlements and residual positions.

Verification: Double-entry ledger reconciliation and overflow properties.
Registry milestone: M5; associated gate: G2.

Acceptance criteria

  • Separate hypothetical execution from recorded market formation.
  • Represent unknown queue position and partial fills explicitly.
  • Reconcile per-asset ledger flows and retain fee/overflow fault cases.

Parent

#6

Blocked by

  • #14 (W05)
  • #18 (W09)
  • #37 (OQ-07)

Evidence required before closure

  • Exact artifact/source revision and reproduction commands.
  • Observed results, failures, uncertainty and qualification limits.
  • Independent review where the specification requires it.
  • Specification/ADR updates for consequential decisions.

No issue closure authorizes a holdout read, live order, or automatic scientific promotion.

Vorherrschende Sprache
Python
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus copyleftdev/phobos

Alle Issues in copyleftdev/phobos

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.