Skip to main content

Crate nautilus_sandbox

Crate nautilus_sandbox 

Source
Expand description

NautilusTrader sandbox execution adapter.

The nautilus-sandbox crate provides a simulated execution client that uses the OrderMatchingEngine to simulate order execution against live market data. This enables paper trading and strategy testing in real-time without actual order execution on exchanges.

§Platform

NautilusTrader is an open-source, high-performance, production-grade algorithmic trading platform, providing quantitative traders with the ability to backtest portfolios of automated trading strategies on historical data with an event-driven engine, and also deploy those same strategies live, with no code changes.

§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.

  • python: Enables Python bindings from PyO3.
  • extension-module: Builds as a Python extension module (used with python).

Re-exports§

pub use crate::config::SandboxExecutionClientConfig;
pub use crate::execution::SandboxExecutionClient;
pub use crate::factory::SandboxExecutionClientFactory;

Modules§

config
Configuration for sandbox execution client.
execution
Sandbox execution client implementation.
factory
Factory for creating sandbox execution clients.
python
Python bindings from pyo3.