Skip to main content

Crate nautilus_betfair

Crate nautilus_betfair 

Source
Expand description

NautilusTrader adapter for the Betfair betting exchange.

The nautilus-betfair crate provides data and execution clients, streaming and REST API models, and full NautilusTrader integration for the Betfair betting exchange.

The official API reference can be found at https://docs.developer.betfair.com/.

§NautilusTrader

NautilusTrader is an open-source, production-grade, Rust-native engine for multi-asset, multi-venue trading systems.

The system spans research, deterministic simulation, and live execution within a single event-driven architecture, providing research-to-live semantic parity.

§Naming conventions

Betfair’s API uses British English spelling. This crate preserves those spellings in type names, method strings, and fixture files, e.g. MarketCatalogue / listMarketCatalogue, not “catalog”.

§Feature flags

  • high-precision: Enables 128-bit value types from nautilus-model.

Modules§

common
Common types, enumerations, and constants for the Betfair adapter.
config
Configuration structures for the Betfair adapter.
data
Live market data client for the Betfair adapter.
data_types
Betfair-specific custom data types.
execution
Live execution client for the Betfair adapter.
factories
Factory functions for creating Betfair clients and components.
http
Betfair REST/JSON-RPC API model types.
loader
File-based loader for historical Betfair Exchange Streaming data.
provider
Betfair instrument provider for loading instruments from the Navigation and Betting APIs.
python
Python bindings for the Betfair adapter.
stream
Betfair Exchange Stream API client and message types.