Reference

Exchange State

Treat Account State as the local truth store, but split trust by subject. A fresh order event does not automatically prove position state is ready for dependent planning.

Core Model

Account State is the local view of exchange state. Trusted State is evaluated per subject, not once for the whole account.

Ownership Rule

Fresh state and mutation authority are separate questions. The system must know both what the exchange state is and which orders it owns.

  • Durable Context stores local order meaning before submission.
  • Do not store state in the custom order ID field. Keep strategy/system state locally instead. Use Custom Order IDs as a randomised lookup key for that local state.
  • App-owned orders can be mutated only when ownership and context are known, or when explicit adoption is configured and tested.