Skip to main content

Crate simulator_api

Crate simulator_api 

Source

Structs§

AccountData
Account snapshot used to seed or modify state in a session.
AccountModifications
Account state modifications to apply.
AgentParams
Configuration for an agent to run alongside a backtest session.
AgentStatsReport
Structured stats reported by an agent during a backtest session.
ArbRouteParams
Parameters for a circular arbitrage route.
AvailableRange
One contiguous block range available on the history clerk.
CloseSessionRequestV1
ContinueParams
Arguments used to continue an existing session.
ContinueSessionRequestV1
CreateBacktestSessionRequestOptions
CreateBacktestSessionRequestV1
CreateSessionParams
Parameters required to start a new backtest session.
EncodedBinary
A blob paired with the encoding needed to decode it.
SequencedResponse
Wire format wrapper for responses sent over the control websocket. Sessions with disconnect_timeout_secs > 0 use this to track client position.
SessionSummary
Summary of transaction execution statistics for a completed backtest session.

Enums§

AgentType
Available agent types for sidecar participation in backtest sessions.
BacktestError
Error variants surfaced to backtest RPC clients.
BacktestRequest
Backtest RPC methods exposed to the client.
BacktestResponse
Responses returned over the backtest RPC channel.
BacktestStatus
High-level progress states during a Continue call.
BinaryEncoding
Supported binary encodings for account/transaction payloads.
CreateBacktestSessionRequest
Versioned payload for CreateBacktestSession.
SessionEventKind
SessionEventV1

Functions§

split_range
Split a user-requested [start_slot, end_slot] range across the available bundle ranges, returning a list of non-overlapping (start, end) pairs — one per bundle that intersects the requested range.