pub struct SignalEngineConfig {
pub kmeans_recompute_bars: usize,
pub kmeans_max_iters: usize,
pub hurst_recompute_bars: usize,
}Expand description
Engine-internal recompute cadences and iteration caps.
These were hard-coded in the signal engine before 0.2.0. They are not part
of the Python SETTINGS dict; #[serde(default)] on the parent field
means existing tuned JSON files load unchanged.
Fields§
§kmeans_recompute_bars: usizeRecompute the KMeans ATR centroids every N bars (L3 SuperTrend).
kmeans_max_iters: usizeMaximum Lloyd iterations per KMeans centroid fit.
hurst_recompute_bars: usizeRecompute the Hurst exponent every N bars (L10).
Trait Implementations§
Source§impl Clone for SignalEngineConfig
impl Clone for SignalEngineConfig
Source§fn clone(&self) -> SignalEngineConfig
fn clone(&self) -> SignalEngineConfig
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 SignalEngineConfig
impl Debug for SignalEngineConfig
Source§impl Default for SignalEngineConfig
impl Default for SignalEngineConfig
Source§impl<'de> Deserialize<'de> for SignalEngineConfigwhere
SignalEngineConfig: Default,
impl<'de> Deserialize<'de> for SignalEngineConfigwhere
SignalEngineConfig: Default,
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 SignalEngineConfig
impl RefUnwindSafe for SignalEngineConfig
impl Send for SignalEngineConfig
impl Sync for SignalEngineConfig
impl Unpin for SignalEngineConfig
impl UnsafeUnpin for SignalEngineConfig
impl UnwindSafe for SignalEngineConfig
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