Expand description
Data persistence and storage management for NautilusTrader.
The nautilus-persistence crate provides data persistence capabilities for storing and retrieving
trading data, state, and configuration.
§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.
§Feature Flags
This crate provides feature flags to control source code inclusion during compilation, depending on the intended use case, i.e. whether to provide Python bindings for the nautilus_trader Python package, or as part of a Rust only build.
cloud: Enables cloud storage backends (S3, Azure, GCP, HTTP) viaobject_store.defi: Enables DeFi (Decentralized Finance) support.extension-module: Builds as a Python extension module.high-precision: Enables high-precision mode to use 128-bit value types.python: Enables Python bindings from PyO3 and auto-enablescloud.
Modules§
- backend
- Provides an Apache Parquet backend powered by DataFusion.
- catalog
- Backend-neutral catalog APIs, factories, and worker orchestration.
- common
- Shared persistence primitives used by catalog and writer backends.
- config
- Persistence configuration shared by live and backtest runtimes.
- errors
- Typed persistence errors.
- parquet
- Native Parquet I/O compatibility exports.
- python
- Python bindings from PyO3.
- test_
data - Rust custom data types used for catalog roundtrip testing.
- writer
- Streaming writer APIs, factories, filters, and built-in Feather writer.