pub struct LiveExecEngineConfig {Show 18 fields
pub reconciliation: bool,
pub reconciliation_lookback_mins: Option<u32>,
pub filter_unclaimed_external_orders: bool,
pub filter_position_reports: bool,
pub generate_missing_orders: bool,
pub inflight_check_interval_ms: u32,
pub inflight_check_threshold_ms: u32,
pub inflight_check_retries: u32,
pub own_books_audit_interval_secs: Option<f64>,
pub open_check_interval_secs: Option<f64>,
pub open_check_open_only: bool,
pub purge_closed_orders_interval_mins: Option<u32>,
pub purge_closed_orders_buffer_mins: Option<u32>,
pub purge_closed_positions_interval_mins: Option<u32>,
pub purge_closed_positions_buffer_mins: Option<u32>,
pub purge_account_events_interval_mins: Option<u32>,
pub purge_account_events_lookback_mins: Option<u32>,
pub qsize: u32,
}Expand description
Configuration for live execution engines.
Fields§
§reconciliation: boolIf reconciliation is active at start-up.
reconciliation_lookback_mins: Option<u32>The maximum lookback minutes to reconcile state for.
filter_unclaimed_external_orders: boolIf unclaimed order events with an EXTERNAL strategy ID should be filtered/dropped.
filter_position_reports: boolIf position status reports are filtered from reconciliation.
generate_missing_orders: boolIf MARKET order events will be generated during reconciliation to align discrepancies.
inflight_check_interval_ms: u32The interval (milliseconds) between checking whether in-flight orders have exceeded their threshold.
inflight_check_threshold_ms: u32The threshold (milliseconds) beyond which an in-flight order’s status is checked with the venue.
inflight_check_retries: u32The number of retry attempts for verifying in-flight order status.
own_books_audit_interval_secs: Option<f64>The interval (seconds) between auditing own books against public order books.
open_check_interval_secs: Option<f64>The interval (seconds) between checks for open orders at the venue.
open_check_open_only: boolIf the check_open_orders requests only currently open orders from the venue.
purge_closed_orders_interval_mins: Option<u32>The interval (minutes) between purging closed orders from the in-memory cache.
purge_closed_orders_buffer_mins: Option<u32>The time buffer (minutes) before closed orders can be purged.
purge_closed_positions_interval_mins: Option<u32>The interval (minutes) between purging closed positions from the in-memory cache.
purge_closed_positions_buffer_mins: Option<u32>The time buffer (minutes) before closed positions can be purged.
purge_account_events_interval_mins: Option<u32>The interval (minutes) between purging account events from the in-memory cache.
purge_account_events_lookback_mins: Option<u32>The time buffer (minutes) before account events can be purged.
qsize: u32The queue size for the engine’s internal queue buffers.
Trait Implementations§
Source§impl Clone for LiveExecEngineConfig
impl Clone for LiveExecEngineConfig
Source§fn clone(&self) -> LiveExecEngineConfig
fn clone(&self) -> LiveExecEngineConfig
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LiveExecEngineConfig
impl Debug for LiveExecEngineConfig
Source§impl Default for LiveExecEngineConfig
impl Default for LiveExecEngineConfig
Source§impl<'de> Deserialize<'de> for LiveExecEngineConfig
impl<'de> Deserialize<'de> for LiveExecEngineConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<LiveExecEngineConfig> for ExecutionEngineConfig
impl From<LiveExecEngineConfig> for ExecutionEngineConfig
Source§fn from(_config: LiveExecEngineConfig) -> Self
fn from(_config: LiveExecEngineConfig) -> Self
Source§impl PartialEq for LiveExecEngineConfig
impl PartialEq for LiveExecEngineConfig
Source§impl Serialize for LiveExecEngineConfig
impl Serialize for LiveExecEngineConfig
impl StructuralPartialEq for LiveExecEngineConfig
Auto Trait Implementations§
impl Freeze for LiveExecEngineConfig
impl RefUnwindSafe for LiveExecEngineConfig
impl Send for LiveExecEngineConfig
impl Sync for LiveExecEngineConfig
impl Unpin for LiveExecEngineConfig
impl UnwindSafe for LiveExecEngineConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more