Skip to main content

Module shared

Module shared 

Source

Re-exports§

pub use background_task::BackgroundTask;
pub use background_task::TaskGroupExt;
pub use env::block_on_async;
pub use env::is_testnet_mode;
pub use env::test_endpoints_enabled;
pub use order_types::f64_to_decimal;
pub use order_types::get_timestamp_millis;
pub use order_types::to_contract_units_decimal;
pub use order_types::to_human_readable_decimal;
pub use order_types::validate_order_request;
pub use order_types::ParsedSymbol;
pub use service::Service;
pub use service::ServiceOwner;
pub use service::ServiceRegistry;
pub use task_group::TaskGroup;
pub use task_leak::TaskTracker;
pub use topics::*;
pub use traits::*;

Modules§

background_task
Trait for standardized background task spawning.
black_scholes_utils
clock
env
Environment and mode detection utilities.
option_token_address
order_types
service
shutdown
task_group
Task group for managing background tasks with graceful shutdown.
task_leak
Task leak detection utilities for testing.
topics
traits

Structs§

Shutdown
Unified shutdown signal broadcaster.
WsOrderMessage
WsOrderRequest

Type Aliases§

ShutdownRx
Receiver half for shutdown signals.