Trading

Trade Execution

Recording a matched Trade on-chain while the Market is Active.

Definition

Trade Execution records a matched Trade and updates the affected Positions and Collateral. It is distinct from post-Resolution Settlement.

Authority

In the MVP, a trusted Backend or Matching Engine authority may submit Trade Execution, but it can only execute within user-signed Order limits.

Trade ID

Each Trade should have a deterministic Trade ID derived from the matched Signed Orders and fill details. The Matching Engine uses it for idempotency and replay protection.