Skip to main content

Crate nautilus_databento

Crate nautilus_databento 

Source
Expand description

NautilusTrader adapter for Databento.

The nautilus-databento crate provides live and historical market data across venues and asset classes through Databento’s official Rust client. It loads Databento Binary Encoding (DBN) files, decodes market events and instrument definitions into Nautilus types, and supports live-node integration and optional Python bindings. It provides no order execution.

The official Databento API reference can be found at https://databento.com/docs.

§NautilusTrader

NautilusTrader is an open-source, production-grade, Rust-native trading engine with a deterministic, event-driven architecture for multi-asset, multi-venue systems.

The system spans research, simulation, and live execution, providing research-to-live semantic parity.

§Feature Flags

Feature flags control code inclusion for Rust builds and Python bindings:

  • arrow: Enables Apache Arrow data support.
  • extension-module: Builds as a Python extension module.
  • high-precision (default): Enables high-precision mode to use 128-bit value types.
  • live (default): Enables live data functionality, including the data, factories, and live modules.
  • python: Enables Python bindings from PyO3.

§Documentation

Modules§

arrow
Apache Arrow schema and encoding/decoding for Databento types.
common
Common functions to support Databento adapter operations.
data
Provides a unified data client that combines Databento’s live streaming and historical data capabilities.
decode
Databento message decoding functions.
enums
Enumerations for the Databento integration.
factories
Factory functions for creating Databento clients and components.
historical
Core Databento historical client for both Rust and Python usage.
live
Databento live feed handler.
loader
python
Python bindings from PyO3.
symbology
types