Paper first / Live locked
Turn a target
into market
state.
PET safely converts the current production portfolio into orders, fills, positions and evidence through one execution engine.
Trace the execution path ↓01 / Core pipeline
One engine.
Two adapters.
Paper and live modes share contracts, reconciliation and monitoring. Mode selects the broker adapter; it does not fork execution logic.
SimulatedBrokerAdapter
Fees, tax, slippage, suspension, price limits, partial fills, cash and virtual PnL.
LiveBrokerAdapter
Broker API, heartbeat, rejection, retry, cancellation and reconciliation behind explicit authority.
02 / Execution Monitor
The system must explain what happened next.
Orders
Generated, submitted, acknowledged, rejected, canceled.
OWNER / PETFills
Quantity, price, partial state, slippage and transaction cost.
OWNER / PETPositions
Target-versus-actual difference, cash and reconciliation state.
OWNER / PETPnL
Realized, unrealized, daily and cumulative execution evidence.
OWNER / PETConnectivity
Broker heartbeat, dependency health and failure recovery.
OWNER / PETNext Action
Every incident carries an owner, status and executable recovery step.
NO SILENT FAILURE03 / Ownership
Local monitors. Shared evidence.
PRT consumes PET evidence. PET cannot override a PRT REJECT or HALT. Live execution remains disabled until dedicated review passes.