pub struct ExecutionManagerConfig {Show 25 fields
pub reconciliation: bool,
pub reconciliation_startup_delay_secs: f64,
pub lookback_mins: Option<u64>,
pub reconciliation_instrument_ids: AHashSet<InstrumentId>,
pub filter_unclaimed_external: bool,
pub filter_position_reports: bool,
pub filtered_client_order_ids: AHashSet<ClientOrderId>,
pub generate_missing_orders: bool,
pub inflight_check_interval_ms: u32,
pub inflight_threshold_ms: u64,
pub inflight_max_retries: u32,
pub open_check_interval_secs: Option<f64>,
pub open_check_lookback_mins: Option<u64>,
pub open_check_threshold_ns: u64,
pub open_check_missing_retries: u32,
pub open_check_open_only: bool,
pub max_single_order_queries_per_cycle: u32,
pub single_order_query_delay_ms: u32,
pub position_check_interval_secs: Option<f64>,
pub position_check_lookback_mins: u64,
pub position_check_threshold_ns: u64,
pub purge_closed_orders_buffer_mins: Option<u32>,
pub purge_closed_positions_buffer_mins: Option<u32>,
pub purge_account_events_lookback_mins: Option<u32>,
pub purge_from_database: bool,
}Expand description
Configuration for execution manager.
Fields§
§reconciliation: boolIf reconciliation is active at start-up.
reconciliation_startup_delay_secs: f64The delay (seconds) before starting reconciliation at startup.
lookback_mins: Option<u64>Number of minutes to look back during reconciliation.
reconciliation_instrument_ids: AHashSet<InstrumentId>Instrument IDs to include during reconciliation (empty => all).
filter_unclaimed_external: boolWhether to filter unclaimed external orders.
filter_position_reports: boolWhether to filter position status reports during reconciliation.
filtered_client_order_ids: AHashSet<ClientOrderId>Client order IDs excluded from reconciliation.
generate_missing_orders: boolWhether to generate missing orders from reports.
inflight_check_interval_ms: u32The interval (milliseconds) between checking whether in-flight orders have exceeded their threshold.
inflight_threshold_ms: u64Threshold in milliseconds for inflight order checks.
inflight_max_retries: u32Maximum number of retries for inflight checks.
open_check_interval_secs: Option<f64>The interval (seconds) between checks for open orders at the venue.
open_check_lookback_mins: Option<u64>The lookback minutes for open order checks.
open_check_threshold_ns: u64Threshold in nanoseconds before acting on venue discrepancies for open orders.
open_check_missing_retries: u32Maximum retries before resolving an open order missing at the venue.
open_check_open_only: boolWhether open-order polling should only request open orders from the venue.
max_single_order_queries_per_cycle: u32The maximum number of single-order queries per consistency check cycle.
single_order_query_delay_ms: u32The delay (milliseconds) between consecutive single-order queries.
position_check_interval_secs: Option<f64>The interval (seconds) between checks for open positions at the venue.
position_check_lookback_mins: u64The lookback minutes for position consistency checks.
position_check_threshold_ns: u64Threshold in nanoseconds before acting on venue discrepancies for positions.
purge_closed_orders_buffer_mins: Option<u32>The time buffer (minutes) before closed orders can be purged.
purge_closed_positions_buffer_mins: Option<u32>The time buffer (minutes) before closed positions can be purged.
purge_account_events_lookback_mins: Option<u32>The time buffer (minutes) before account events can be purged.
purge_from_database: boolIf purge operations should also delete from the backing database.
Trait Implementations§
Source§impl Clone for ExecutionManagerConfig
impl Clone for ExecutionManagerConfig
Source§fn clone(&self) -> ExecutionManagerConfig
fn clone(&self) -> ExecutionManagerConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecutionManagerConfig
impl Debug for ExecutionManagerConfig
Source§impl Default for ExecutionManagerConfig
impl Default for ExecutionManagerConfig
Source§impl From<&LiveExecEngineConfig> for ExecutionManagerConfig
impl From<&LiveExecEngineConfig> for ExecutionManagerConfig
Source§fn from(config: &LiveExecEngineConfig) -> Self
fn from(config: &LiveExecEngineConfig) -> Self
Auto Trait Implementations§
impl Freeze for ExecutionManagerConfig
impl RefUnwindSafe for ExecutionManagerConfig
impl Send for ExecutionManagerConfig
impl Sync for ExecutionManagerConfig
impl Unpin for ExecutionManagerConfig
impl UnwindSafe for ExecutionManagerConfig
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