Skip to main content

SearchRunSpec

Struct SearchRunSpec 

Source
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: Value

Strategy template document as a JSON value.

§space: Value

Space document as a JSON value.

§symbols: Vec<String>§exchange: String§data_type: String

tick, 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

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SearchRunSpec

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SearchRunSpec

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for SearchRunSpec

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.