Crate nautilus_trading

Crate nautilus_trading 

Source
Expand description

Trading strategy machinery and orchestration NautilusTrader.

The trading crate provides core trading capabilities including:

  • Forex sessions: Market session time calculations and timezone handling.

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

Modules§

python
Python bindings from PyO3.
sessions
Provides utilities for determining Forex session times. Includes functions to convert UTC times to session local times and retrieve the next or previous session start/end.