Ledger and Risk Engine
External exchanges handle whether an order fills and which exchange rules apply. Notional applies the account and risk consequences of that execution. The ledger is the authoritative balance sheet. It records collateral, debt, open positions, funding, realized PnL, withdrawable balances, and the execution attributed to each account. The risk engine applies the same margin checks, credit limits, liquidation health, and withdrawal safety rules across markets and exchanges. This is what keeps margin from fragmenting. A user does not need one isolated margin account per market or per exchange. Notional can recognize collateral once, extend credit against it once, and apply risk controls to the whole account.Fast State, Final State, and Bounded Authority
Trading state updates on the fast path, with roughly 30ms latency. If a fill happens, Notional updates positions, PnL, margin health, and liquidation monitoring without waiting for withdrawal finality. Custody-sensitive actions use final state. A withdrawal is accepted into the ledger aspending
immediately, but funds are not sent to the account on the destination exchange until the configured withdrawal delay
has elapsed and release checks pass. The current configured delay is 4 minutes, after which the
queue service checks ready withdrawals on a short poll interval.
The practical rule: trading can update before withdrawable balance updates. That delay is what gives
Notional time to reconcile exchange execution, re-check account health, and block unsafe withdrawals before
funds leave.
The fast path is deliberately bounded. The low-latency operator path can place and cancel orders,
receive fills, update account state, and start liquidations. It cannot freely withdraw user funds,
move treasury assets, or change protocol parameters.
The fast path is also constrained by collateral haircuts, debt caps, utilization caps, protocol
leverage targets, open-interest caps, concentration limits, liquidations, and auto-deleveraging.
