Expand description
Exchange-agnostic traits used by the rest of the framework.
Re-exports§
pub use limiter::RateLimiter;pub use limiter::RateLimiterError;pub use router::RouterExecutionClient;
Modules§
Structs§
- Broker
Info - Represents metadata describing the capabilities of a connector.
- Connector
Stream Config - Configuration passed to market stream factories describing runtime metadata.
- Quota
- A rate-limiting quota.
Enums§
- Broker
Error - Common error type returned by broker implementations.
- Broker
Error Kind - Enumerates the broad families of broker errors.
Traits§
- Connector
Factory - Factory trait implemented by each connector to expose standardized construction hooks.
- Connector
Stream - Trait describing the minimal market stream capabilities required by higher-level tooling.
- Event
Publisher - Strategy and execution share this event channel API during live trading and backtests.
- Execution
Client - Trait describing the execution interface (REST or WebSocket).
- Historical
Data - Provides access to historical market data snapshots.
- Market
Stream - Trait describing data subscriptions (live WebSocket or replayed feeds).
- Payload
Ext - Helper trait used by connectors to (de)serialize exchange payloads.
- Signal
Bus - Allows connectors to emit framework-native signals (e.g., risk alerts).
Functions§
- get_
connector_ factory - Retrieve a connector factory by identifier.
- register_
connector_ factory - Register a connector factory so it becomes discoverable by downstream consumers.
- registered_
connectors - Enumerate the names of all registered connector factories.
Type Aliases§
- Broker
Result - Convenience alias for broker results.