pub struct FutureQuoteConfig {
pub signal_latency_ms: i64,
pub slippage_pips: f64,
pub stale_quote_after_ms: Option<i64>,
pub pnl_epsilon: f64,
pub currency_plan: Option<RunCurrencyPlan>,
pub conversion_stale_after_ms: i64,
pub mtm_output: MtmOutputPolicy,
pub market_entry_sizing_basis: MarketEntrySizingBasis,
}Expand description
Future-quote execution settings. Existing runners remain on legacy semantics
unless BacktestRunner::run_raw_signals_future is used.
Fields§
§signal_latency_ms: i64Signal processing latency added before an action becomes eligible.
slippage_pips: f64Fixed signed slippage in pips (+ adverse, - favorable).
stale_quote_after_ms: Option<i64>Quote age threshold used by mark-to-market diagnostics.
pnl_epsilon: f64Absolute account-currency tolerance for breakeven classification.
currency_plan: Option<RunCurrencyPlan>Immutable primary and conversion currency routing for this run.
conversion_stale_after_ms: i64Maximum age of a conversion quote used for sizing.
mtm_output: MtmOutputPolicyControls how many exact mark-to-market observations are emitted.
market_entry_sizing_basis: MarketEntrySizingBasisSelects the risk reference price for market-entry sizing.
Trait Implementations§
Source§impl Clone for FutureQuoteConfig
impl Clone for FutureQuoteConfig
Source§impl Debug for FutureQuoteConfig
impl Debug for FutureQuoteConfig
Source§impl Default for FutureQuoteConfig
impl Default for FutureQuoteConfig
Auto Trait Implementations§
impl Freeze for FutureQuoteConfig
impl RefUnwindSafe for FutureQuoteConfig
impl Send for FutureQuoteConfig
impl Sync for FutureQuoteConfig
impl Unpin for FutureQuoteConfig
impl UnsafeUnpin for FutureQuoteConfig
impl UnwindSafe for FutureQuoteConfig
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