pub struct SearchRunSpec {Show 20 fields
pub template: Value,
pub space: Value,
pub symbols: Vec<String>,
pub exchange: String,
pub data_type: String,
pub timeframe: Option<String>,
pub windows: SearchWindowsMsg,
pub config: BacktestConfigMsg,
pub profile: Option<String>,
pub entry_profile_routes: Vec<EntryProfileRouteMsg>,
pub workers: Option<usize>,
pub decision_latency_ms: u64,
pub structural: Option<Value>,
pub resource_limits: Option<Value>,
pub variants: Vec<SearchExecutionVariantMsg>,
pub direct_factory: Option<SearchDirectFactoryMsg>,
pub resume_checkpoint: Option<Value>,
pub selected_rerun: Option<SearchSelectedRerunMsg>,
pub portfolio_candidates: Vec<SearchPortfolioCandidateMsg>,
pub series_descriptors: Vec<Value>,
}Expand description
Execution scope of a server-side parameter search over a strategy template and a space document.
Fields§
§template: ValueStrategy template document as a JSON value.
space: ValueSpace document as a JSON value.
symbols: Vec<String>§exchange: String§data_type: Stringtick, or bar together with timeframe.
timeframe: Option<String>§windows: SearchWindowsMsg§config: BacktestConfigMsg§profile: Option<String>Registered run default profile; inline profiles are not accepted for a search.
entry_profile_routes: Vec<EntryProfileRouteMsg>Entry-class routes to registered profiles only.
workers: Option<usize>Requested worker threads, capped by the server’s configured maximum.
decision_latency_ms: u64§structural: Option<Value>§resource_limits: Option<Value>§variants: Vec<SearchExecutionVariantMsg>§direct_factory: Option<SearchDirectFactoryMsg>Select a server-registered immutable direct Rust factory; arbitrary code is never accepted.
resume_checkpoint: Option<Value>A prior compatible checkpoint whose completed runs are retained and skipped.
selected_rerun: Option<SearchSelectedRerunMsg>Execute one downloaded frozen recipe instead of the declared candidate batch.
portfolio_candidates: Vec<SearchPortfolioCandidateMsg>Explicit configured portfolio candidates evaluated under the request’s windows and economics.
series_descriptors: Vec<Value>Verified enhanced series descriptors for price_bar inputs.