pub struct StrategyEngineConfig {
pub timer_interval_ms: u64,
pub trade_channel_capacity: usize,
pub depth_channel_capacity: usize,
pub bar_channel_capacity: usize,
pub signal_channel_capacity: usize,
}Expand description
Configuration options for the strategy engine
Fields§
§timer_interval_ms: u64Timer interval in milliseconds
trade_channel_capacity: usizeChannel capacity for trade messages
depth_channel_capacity: usizeChannel capacity for order book depth messages
bar_channel_capacity: usizeChannel capacity for bar messages
signal_channel_capacity: usizeChannel capacity for signal messages
Trait Implementations§
Source§impl Clone for StrategyEngineConfig
impl Clone for StrategyEngineConfig
Source§fn clone(&self) -> StrategyEngineConfig
fn clone(&self) -> StrategyEngineConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StrategyEngineConfig
impl Debug for StrategyEngineConfig
Auto Trait Implementations§
impl Freeze for StrategyEngineConfig
impl RefUnwindSafe for StrategyEngineConfig
impl Send for StrategyEngineConfig
impl Sync for StrategyEngineConfig
impl Unpin for StrategyEngineConfig
impl UnwindSafe for StrategyEngineConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more