pub struct RunnerConfig {
pub min_poll_delay_ms: u64,
pub initial_backoff_ms: u64,
pub max_backoff_ms: u64,
pub backoff_multiplier: f64,
pub quote_poll_interval_ms: u64,
pub cleanup_delay_ms: u64,
pub metrics_mode: String,
pub metrics_starting_balance_usdc: Option<Decimal>,
}Expand description
Runner configuration
Fields§
§min_poll_delay_ms: u64Minimum delay between polls (ms)
initial_backoff_ms: u64Initial backoff delay (ms)
max_backoff_ms: u64Max backoff delay (ms)
backoff_multiplier: f64Backoff multiplier
quote_poll_interval_ms: u64Quote polling interval (ms) - separate from fills
cleanup_delay_ms: u64Cleanup delay after strategy stop (ms) - time to wait for cleanup commands to complete
metrics_mode: StringPerformance metrics mode label included in sync/backtest payloads.
metrics_starting_balance_usdc: Option<Decimal>Strategy-scoped starting USDC capital used for return/APR/equity metrics.
Trait Implementations§
Source§impl Clone for RunnerConfig
impl Clone for RunnerConfig
Source§fn clone(&self) -> RunnerConfig
fn clone(&self) -> RunnerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RunnerConfig
impl Debug for RunnerConfig
Auto Trait Implementations§
impl Freeze for RunnerConfig
impl RefUnwindSafe for RunnerConfig
impl Send for RunnerConfig
impl Sync for RunnerConfig
impl Unpin for RunnerConfig
impl UnsafeUnpin for RunnerConfig
impl UnwindSafe for RunnerConfig
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