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.
Trait Implementations§
Source§impl Clone for SearchRunSpec
impl Clone for SearchRunSpec
Source§fn clone(&self) -> SearchRunSpec
fn clone(&self) -> SearchRunSpec
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SearchRunSpec
impl Debug for SearchRunSpec
Source§impl<'de> Deserialize<'de> for SearchRunSpec
impl<'de> Deserialize<'de> for SearchRunSpec
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SearchRunSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SearchRunSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for SearchRunSpec
impl Serialize for SearchRunSpec
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for SearchRunSpec
impl RefUnwindSafe for SearchRunSpec
impl Send for SearchRunSpec
impl Sync for SearchRunSpec
impl Unpin for SearchRunSpec
impl UnsafeUnpin for SearchRunSpec
impl UnwindSafe for SearchRunSpec
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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