12 releases (6 breaking)
| 0.9.3 | Dec 4, 2025 |
|---|---|
| 0.9.2 | Nov 29, 2025 |
| 0.8.0 | Nov 22, 2025 |
| 0.7.0 | Nov 21, 2025 |
| 0.2.3 | Nov 19, 2025 |
#610 in Cryptography
68 downloads per month
Used in 13 crates
(9 directly)
80KB
2K
SLoC
tesser-broker
Exchange-agnostic traits that define how the rest of the system talks to brokers.
Overview
- Declares interfaces like
MarketStream,ExecutionClient,HistoricalData,EventPublisher, andSignalBus. - Provides the
BrokerErrorhierarchy used for consistent error handling across connectors. - No concrete exchange logic lives here—connectors implement these traits.
Implementing a Connector
- Depend on
tesser-brokerandtesser-core. - Implement the necessary traits (
ExecutionClient,MarketStream, etc.). - Map transport or exchange errors into
BrokerErrorKindso upstream crates can react uniformly.
Tests
cargo test -p tesser-broker
Dependencies
~4.5–6.5MB
~116K SLoC