Skip to main content

Module artifacts

Module artifacts 

Source
Expand description

Additive, serializable artifacts for future backtest runners.

These types deliberately consume normalized runner observations rather than depending on TradeEngine. This keeps artifact collection usable by the current engine, future execution paths, and external replay integrations.

Structs§

CloseEvent
A realized close, including partial closes, in additive account currency.
CompletedPosition
Complete campaign-level outcome for one position.
CostEvent
One commission or swap charge applied to the account during replay.
EntryProfileResolutionAudit
Auditable profile selection and initial level resolution for one applied Entry.
ExecutionMetadata
Reproducibility metadata for the execution/accounting model used by a run.
FutureBacktestArtifacts
Complete additive artifact payload for a future backtest run.
InstrumentSizingArtifact
Exact catalog-backed sizing adjustment recorded before one Entry action.
MarketEntrySizingAudit
Sizing inputs and outputs recorded for one successfully executed market entry.
OpenPositionSnapshot
Serializable runner-supplied state for one currently open position.
PendingOrderLifecycleEvent
One append-only transition in the FutureQuote pending-order lifecycle.
PendingOrderSnapshot
Serializable state for an order that has not filled at the end of a run.
RecordedFill
An execution fill enriched with all timing and quote context needed for an execution audit.
ReplayInstrumentArtifact
Resolved instrument identity and specification persisted for one replay symbol.
ReplayInstrumentManifest
Typed instrument and stored-series inputs pinned for a replay.
RiskTranche
Initial risk attached to one entry/scale-in tranche.

Enums§

EntryProfileSelectionSource
How an Entry selected its initial management profile.
EntryResolutionStage
Stage at which initial Entry levels were resolved.
MarketEntrySizingBasis
Price basis used to size market entries.
NetPnlOutcome
Epsilon-aware classification of additive net P&L.
PendingOrderLifecycleState
State transition emitted by the FutureQuote pending-order lifecycle.
RiskBasisStatus
Availability and validity of a position’s initial monetary risk basis.

Constants§

DEFAULT_PNL_EPSILON
Default absolute tolerance used to classify net P&L as breakeven.
FUTURE_ARTIFACT_FORMAT_VERSION
Current on-disk format version for FutureBacktestArtifacts.

Functions§

deterministic_event_id
Return a stable, human-readable event id for a scoped zero-based sequence.