Expand description
Logical contracts for the quant-system backtest service.
The default build contains no xrpc dependency. Enable the xrpc feature
only in a process composition root that selects the current provider.
Structs§
- AddProfile
Request - Request to add (or overwrite) a management profile at runtime.
- AddProfile
Response - Response from adding a profile.
- Backtest
Config Msg - Serializable backtest configuration sent by the client.
- Backtest
Multi RunSpec - Execution scope and inputs for a multi-profile comparison.
- Backtest
Progress - Structured progress for an asynchronous backtest job.
- Backtest
Result Msg - Serializable mirror of
BacktestResultfor wire transport. - Backtest
RunSpec - Execution scope and inputs for one backtest run.
- Backtest
Service Protocol Error - Backtest
Status Response - Status of a backtest job.
- Bootstrap
Config Msg - Cancel
Backtest Request - Request cancellation of a backtest job.
- Cancel
Backtest Response - Response from cancelling a backtest job.
- Close
Reason Stats Msg - Wire-safe mirror of
CloseReasonStats. - Delete
Result Artifact Request - Delete a result artifact after a successful download.
- Delete
Result Artifact Response - Response from deleting a result artifact.
- Duration
Stats Msg - Wire-safe mirror of
DurationStats. - Equity
Point - A single point on the equity curve.
- Evaluation
Context Msg - Provider/source identifiers carried into the evaluation result.
- Future
Backtest Result Msg - Format-versioned execution/accounting payload. Complex internal records remain JSON values so new additive fields do not require synchronized positional wire changes; the transport itself uses JsonCodec.
- Future
Quote Config Msg - FutureQuoteV1 execution settings used by the backtest RPC methods.
- GetBacktest
Result Request - Request the result of a completed backtest job.
- GetBacktest
Result Response - Response containing the result of a completed backtest job.
- GetBacktest
Status Request - Request the current status of a backtest job.
- GetResult
Artifact Chunk Request - Request a raw byte chunk from a result artifact.
- GetResult
Artifact Chunk Response - Base64-encoded raw artifact bytes at the requested offset.
- List
Profiles Response - Response listing all loaded management profiles.
- List
Symbols Request - Request to list available data, optionally filtered.
- List
Symbols Response - Response listing available market data in the store.
- Management
Profile Msg - Wire-safe management profile definition sent inline with a request.
- Monthly
Return Msg - Wire-safe mirror of
MonthlyReturn. - MtmOutput
Summary Msg - Wire-safe mark-to-market output counts.
- Pending
Order Lifecycle Event Msg - Typed wire mirror of a FutureQuote pending-order lifecycle event.
- Ping
Response - Health check response with server status.
- Position
Filter Msg - Typed position filters. Values within a field are ORed; populated fields and individual tag keys are ANDed.
- Position
Summary Msg - Wire-safe mirror of
PositionSummary. - Profile
Info - Summary of a management profile available on the server.
- Profile
Result - Result for one profile in a multi-profile comparison.
- Provider
Evaluation Options Msg - Typed provider-evaluation selection for canonical requests.
- Reload
Profiles Response - Response from reloading profiles from disk.
- Remove
Profile Request - Request to remove a management profile by name.
- Remove
Profile Response - Response from removing a profile.
- Result
Artifact RefMsg - Reference to a complete result JSON artifact.
- Risk
Metrics Msg - Wire-safe mirror of
RiskMetrics. - RunBacktest
Multi Request - RunBacktest
Multi Response - Response from a multi-profile comparison run.
- RunBacktest
Request - Strict FutureQuoteV1 request accepted by
run_backtest. - RunBacktest
Response - Response from a single backtest run.
- Source
Coverage Counts Msg - Typed parser/source coverage supplied by clients that retain parse outcomes.
- Streak
Stats Msg - Wire-safe mirror of
StreakStats. - Submit
Backtest Request - Asynchronous FutureQuoteV1 submission.
- Submit
Backtest Response - Response from submitting a backtest job.
- Subset
Stats Msg - Wire-safe mirror of
SubsetStats. - Symbol
Availability - One row of data availability info.
- Trade
Result Msg - Wire-safe mirror of
TradeResult. - Watch
Backtest Request - Subscribe to status snapshots for a retained backtest job.
Enums§
- Backtest
Client Error - Backtest
Event - Server-streamed retained-job status and liveness events.
- Breakdown
Dimension Msg - Typed deterministic breakdown selector.
- Evaluation
Group Filter Msg - Evaluation
Position Side Msg - Evaluation
Section Msg - Selectable provider-evaluation report sections.
- Market
Entry Sizing Basis Msg - Price basis used to size market entries.
- MtmOutput
Policy Msg - Wire-safe mark-to-market output retention policy.
- Pending
Order Lifecycle State Msg - Wire-safe state for one pending-order lifecycle transition.
- Position
RefMsg - Wire-safe position reference.
- Profile
Ref - A profile reference: either by name or inline definition.
- RawSignal
Msg - Wire-safe signal that can represent any action, not just entries.
- Result
Delivery Msg - Requested delivery mode for a complete result JSON payload.
- Rule
Config DefMsg - Wire-safe rule configuration definition.
- Sizing
Policy Msg - Wire-safe in-place account sizing policy.
- Stoploss
Mode Msg - Wire-safe stoploss mode enum.
- Target
Selection Msg - Wire-safe strict target selection.
Constants§
- RESULT_
FORMAT_ VERSION - Current format version for complete result JSON artifacts.
Traits§
- Backtest
Admin Client - Provider-neutral client port for runtime profile administration.
- Backtest
Client - Provider-neutral client port for the retained backtest-job workflow.
- Backtest
Discovery Client - Provider-neutral client port for profile and market-data discovery.
- Backtest
Sync Client - Provider-neutral client port for finite synchronous backtest execution.