Reference / Trade execution

What an outcome does not check

The rules an outcome must satisfy each weigh one figure, or two against each other. What follows is what none of them looks at.

Contents

The arithmetic

Nothing is multiplied out. A fill may be reported with a value and with no average price, and no rule asks whether the value equals the amount times the price.

So the amount, the price and the value can each pass on their own while making no sense together.

Numbers with no limit

Only the target amount is required to be an ordinary number rather than infinity, and only where one is given at all. An average price of infinity passes, and so does a value of infinity.

The status

The status is read nowhere among the rules. An outcome may therefore call itself filled while reporting that nothing filled and that no slice of the work was done.

Nothing here ties what an outcome says about itself to what its figures say.

Slices and slippage

The slice counts are compared with each other, and with zero, but never required to be whole. A third of a slice out of two is allowed.

The two slippage figures are not examined in any way. Whatever is put in them is kept.

Source evidence
---
row: P2-42
baseline: 49aa659
created: 2026-09-26 20:29 UTC
modified: 2026-10-11 22:51 UTC
evidence:
  - claim: "No rule ties the value to the amount times the price"
    source: "`praxis/core/domain/trade_outcome.py` 111-164, which multiplies nothing"
  - claim: "Only the target amount is required to be a finite figure, and only where one is given at all"
    source: "`praxis/core/domain/trade_outcome.py` 111-164, which tests for one at 120 and nowhere else"
  - claim: "The status is read nowhere among the rules"
    source: "`praxis/core/domain/trade_outcome.py` 111-164, which names it nowhere"
  - claim: "The slice counts are compared but never required to be whole"
    source: "`praxis/core/domain/trade_outcome.py` 142-152"
  - claim: "The two slippage figures are not examined"
    source: "`praxis/core/domain/trade_outcome.py` 111-164, which names neither"
---

Edit this sourceCheckout revision · 7381aa49
Reference / keep your place
Find a passage