Skip to main content

try_get_trading_cmd_sender

Function try_get_trading_cmd_sender 

Source
pub fn try_get_trading_cmd_sender() -> Option<Arc<dyn TradingCommandSender>>
Expand description

Attempts to get the global trading command sender without panicking.

Returns None if the sender is not initialized (e.g., in test environments).