pub struct ReconciliationConfig {
pub lookback_mins: Option<u64>,
pub inflight_threshold_ms: u64,
pub inflight_max_retries: u32,
pub filter_unclaimed_external: bool,
pub generate_missing_orders: bool,
pub filtered_client_order_ids: HashSet<ClientOrderId>,
pub open_check_threshold_ns: u64,
pub open_check_missing_retries: u32,
pub open_check_open_only: bool,
pub open_check_lookback_mins: Option<u64>,
pub filter_position_reports: bool,
pub reconciliation_instrument_ids: HashSet<InstrumentId>,
}
Expand description
Configuration for reconciliation manager.
Fields§
§lookback_mins: Option<u64>
Number of minutes to look back during reconciliation.
inflight_threshold_ms: u64
Threshold in milliseconds for inflight order checks.
inflight_max_retries: u32
Maximum number of retries for inflight checks.
filter_unclaimed_external: bool
Whether to filter unclaimed external orders.
generate_missing_orders: bool
Whether to generate missing orders from reports.
filtered_client_order_ids: HashSet<ClientOrderId>
Client order IDs excluded from reconciliation.
open_check_threshold_ns: u64
Threshold in nanoseconds before acting on venue discrepancies for open orders.
open_check_missing_retries: u32
Maximum retries before resolving an open order missing at the venue.
open_check_open_only: bool
Whether open-order polling should only request open orders from the venue.
open_check_lookback_mins: Option<u64>
Lookback window (minutes) for venue order status polling.
filter_position_reports: bool
Whether to filter position status reports during reconciliation.
reconciliation_instrument_ids: HashSet<InstrumentId>
Instrument IDs to include during reconciliation (empty => all).
Trait Implementations§
Source§impl Clone for ReconciliationConfig
impl Clone for ReconciliationConfig
Source§fn clone(&self) -> ReconciliationConfig
fn clone(&self) -> ReconciliationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ReconciliationConfig
impl Debug for ReconciliationConfig
Auto Trait Implementations§
impl Freeze for ReconciliationConfig
impl RefUnwindSafe for ReconciliationConfig
impl Send for ReconciliationConfig
impl Sync for ReconciliationConfig
impl Unpin for ReconciliationConfig
impl UnwindSafe for ReconciliationConfig
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
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>
Converts
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>
Converts
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