Package-level declarations
Types
Pipeline-owned lifecycle for one-shot DSL exit hooks.
Whether a session stopped because its live feed was lost rather than because it was asked to.
Result returned to an operator after an emergency flatten attempt.
Gives a plain opposite-side BUY/SELL its netting meaning on a hedging venue.
Pre-feeds historical ticks through the pipeline before live signal evaluation.
How a bar's intrabar ticks must be resolved for tick-resolved fills (--bars --tick-fills).
Holds armed latches and resolves them on ticks.
Decides, once, what a fill of each leaf in OrderRequest means to the position ledger.
Recovers the LegIntent behind an execution, in a fixed precedence:
Source used for standalone live strategy equity and equity-based sizing.
Runs one or more strategies against a live or paper data source, end to end.
Operator handle for a running LiveSession.
Manages the lifecycle of every order from signal to fill.
One symbol where engine and broker disagree on net quantity.
One venue ticket whose attached protection differs from qkt's last requested levels.
Bounded buffer of the most recent fills, feeding LiveSessionHandle.recentTrades and the daemon status snapshot. Keeps the last capacity trades and silently drops older ones, so a session running for months holds a fixed amount of trade history, not all of it.
Thrown by LiveSession.start when persisted leg state and broker positions don't agree, and the operator hasn't opted into ignore-mismatch attachment via the --reconcile=ignore-mismatches flag.
Result of an engine-vs-broker reconcile pass.
A point-in-time P&L reading for one strategy, surfaced through /status.
The reusable end-to-end wiring of bus + engine + risk + order management + broker.
Thrown when the broker historical-bar API fails during a deploy's pre-warmup phase. Aborts deploy before any rule fires, so the strategy never starts in a half-warm state. Operator sees a pointed error naming the stream + symbol + underlying cause.
Indicates that a live strategy could not obtain enough closed bars to initialize its indicators.
Functions
Engine-vs-broker position deltas for one strategy on a (possibly shared) account.
Protection drift for tickets owned by ownerId and carrying qkt-requested levels.