Skip to main content

Module client

Module client 

Source
Expand description

Client factory traits and registries shared by live, sandbox, and backtest runtimes.

The traits in this module describe how to construct adapter DataClient and ExecutionClient instances from a configuration object, without coupling the definition site to any particular runtime (tokio, native threads, simulated time). Adapters implement these traits in their own crates; the live system kernel and any future backtest registry consume them via the registries below.

Structs§

DataClientFactoryRegistry
Registry for managing data client factories.
ExecutionClientFactoryRegistry
Registry for managing execution client factories.

Traits§

ClientConfig
Configuration for creating client instances.
DataClientFactory
Factory trait for creating data client instances.
ExecutionClientFactory
Factory trait for creating execution client instances.