pub struct StrategyIndicatorConfig {
pub indicators: Vec<String>,
pub thresholds: HashMap<String, (f64, f64)>,
}Expand description
Per-strategy indicator configuration. Determines which indicators to include in the Claude prompt and what thresholds define signal zones.
Fields§
§indicators: Vec<String>Which indicators to include (e.g. “RSI”, “MACD”, “BB”, “ADX”, “EMA”, “SMA”, “Stochastic”, “ATR”, “CCI”, “WilliamsR”, “OBV”, “MFI”).
thresholds: HashMap<String, (f64, f64)>Thresholds per indicator: (low, high).
For example, RSI: (30.0, 70.0) means oversold below 30, overbought above 70.
Trait Implementations§
Source§impl Clone for StrategyIndicatorConfig
impl Clone for StrategyIndicatorConfig
Source§fn clone(&self) -> StrategyIndicatorConfig
fn clone(&self) -> StrategyIndicatorConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 StrategyIndicatorConfig
impl Debug for StrategyIndicatorConfig
Source§impl<'de> Deserialize<'de> for StrategyIndicatorConfig
impl<'de> Deserialize<'de> for StrategyIndicatorConfig
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 StrategyIndicatorConfig
impl RefUnwindSafe for StrategyIndicatorConfig
impl Send for StrategyIndicatorConfig
impl Sync for StrategyIndicatorConfig
impl Unpin for StrategyIndicatorConfig
impl UnsafeUnpin for StrategyIndicatorConfig
impl UnwindSafe for StrategyIndicatorConfig
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