Module live

Module live 

Source
Expand description

Live (async/tokio) components for real-time trading.

This module contains components that require the tokio async runtime and are used for live trading scenarios. These are gated behind the live feature flag.

Re-exports§

pub use clock::LiveClock;
pub use clock::TimeEventStream;
pub use listener::MessageBusListener;
pub use runner::get_data_event_sender;
pub use runner::get_exec_event_sender;
pub use runner::set_data_event_sender;
pub use runner::set_exec_event_sender;
pub use runtime::get_runtime;
pub use runtime::shutdown_runtime;
pub use timer::LiveTimer;

Modules§

clock
Live clock implementation using Tokio for real-time operations.
listener
Message bus listener for live trading using tokio channels.
runner
Tokio-based channel senders for live trading runtime.
runtime
The centralized Tokio runtime for a running Nautilus system.
timer
Live timer implementation using Tokio for real-time scheduling.