Expand description
Blockchain data adapter for NautilusTrader.
The nautilus-blockchain crate loads DEX pools and token definitions and ingests real-time and
historical on-chain data for analytics and trading strategies. It connects RPC and optional
HyperSync sources to NautilusTrader for block, swap, and liquidity-event processing.
Official API references: Ethereum JSON-RPC and Envio HyperSync.
§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:
extension-module: Builds as a Python extension module.hypersync: Enables thehypersync-clientintegration.python: Enables Python bindings from PyO3.turmoil: Enables deterministic network simulation testing with turmoil.
§Documentation
Modules§
- cache
- Caching layer for blockchain entities and domain objects.
- config
- constants
- contracts
- Smart contract interfaces and utilities for blockchain interactions.
- data
- decode
- events
- Blockchain event data structures and parsers.
- exchanges
- execution
- factories
- Factory for creating blockchain data clients.
- hypersync
- HyperSync client integration for efficient blockchain data indexing.
- math
- Mathematical utilities for blockchain value conversion.
- python
- Python bindings from PyO3.
- reporting
- Performance reporting and metrics tracking for blockchain operations.
- rpc
- RPC client implementations for blockchain network communication.
- services