{"id":"stock-exchange-fifo-matching","text":"Orders at the same price level are matched in FIFO order, enforced by `deque` append/popleft semantics — this is the price-time priority algorithm.","truth_value":"IN","source":"entries/2026/06/05/stock-exchange-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":["stock-exchange-price-time-priority"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"stock-exchange-fifo-matching","truth_value":"IN","reason":"premise"}]}}