1 2 3 4 5 6 7 8 9 10 11 12
#[derive(Debug, Clone, PartialEq)] pub enum MarketCondition { Overbought, Oversold, Neutral, } #[derive(Debug)] pub struct RSIResult { pub value: f64, pub condition: MarketCondition, }