pub struct ExecutionService { /* private fields */ }Expand description
Per-brain execution loop with full risk gating + order placement.
Implementations§
Source§impl ExecutionService
impl ExecutionService
Sourcepub fn events_processed(&self) -> u64
pub fn events_processed(&self) -> u64
Total events the brain has been called with.
Sourcepub fn events_dropped(&self) -> u64
pub fn events_dropped(&self) -> u64
Total events dropped by the broadcast bus due to slow consumption.
Sourcepub fn orders_placed(&self) -> u64
pub fn orders_placed(&self) -> u64
Total orders successfully passed to the exchange.
Sourcepub fn orders_blocked(&self) -> u64
pub fn orders_blocked(&self) -> u64
Total decisions blocked by a risk gate or by the sizer returning 0.
Trait Implementations§
Source§impl TradingService for ExecutionService
impl TradingService for ExecutionService
Source§fn restart_policy(&self) -> RestartPolicy
fn restart_policy(&self) -> RestartPolicy
When should the supervisor restart this service on exit?
Auto Trait Implementations§
impl !Freeze for ExecutionService
impl !RefUnwindSafe for ExecutionService
impl !UnwindSafe for ExecutionService
impl Send for ExecutionService
impl Sync for ExecutionService
impl Unpin for ExecutionService
impl UnsafeUnpin for ExecutionService
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