pub struct StrategiesSection {
pub max_document_bytes: usize,
pub max_retained_bars: usize,
pub max_search_workers: usize,
pub max_search_generation_points: usize,
pub max_search_runs: usize,
pub max_portfolio_instances: usize,
pub max_calendar_sessions: usize,
pub max_calendar_intervals: usize,
pub max_calendar_exceptions: usize,
pub max_calendar_history: usize,
pub max_calendar_children: usize,
pub max_calendar_bytes: usize,
}Expand description
Limits for configured strategy runs and server-side parameter searches.
Fields§
§max_document_bytes: usizeLargest accepted strategy, template, or space document, measured as its JSON encoding in bytes.
max_retained_bars: usizeLargest total retained history one configured run may bind across all of its sources, in bars.
max_search_workers: usizeMost worker threads one search may use; a request asking for more is capped here.
max_search_generation_points: usizeMost pre-constraint parameter combinations one search may enumerate.
max_search_runs: usizeMost runs, counted as points times symbols times windows, one search may schedule.
max_portfolio_instances: usizeMost configured strategy instances one portfolio run may replay together; max_retained_bars bounds their combined retained history.
max_calendar_sessions: usize§max_calendar_intervals: usize§max_calendar_exceptions: usize§max_calendar_history: usize§max_calendar_children: usize§max_calendar_bytes: usizeTrait Implementations§
Source§impl Clone for StrategiesSection
impl Clone for StrategiesSection
Source§impl Debug for StrategiesSection
impl Debug for StrategiesSection
Source§impl Default for StrategiesSection
impl Default for StrategiesSection
Source§impl<'de> Deserialize<'de> for StrategiesSection
impl<'de> Deserialize<'de> for StrategiesSection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StrategiesSection
impl RefUnwindSafe for StrategiesSection
impl Send for StrategiesSection
impl Sync for StrategiesSection
impl Unpin for StrategiesSection
impl UnsafeUnpin for StrategiesSection
impl UnwindSafe for StrategiesSection
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
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> ⓘ
Converts
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> ⓘ
Converts
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