pub struct RSI { /* private fields */ }Expand description
Incremental Wilder RSI — the streaming counterpart of rsi, in the same
update / value / is_ready shape as EMA and ATR (this is the
crate’s top-level RSI export, so the three read uniformly: value() is an
f64, NaN until warm). Seeds the average gain/loss over the first period
deltas (needs period + 1 prices), then Wilder-smooths — matching rsi
and TA-Lib / TradingView.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RSI
impl RefUnwindSafe for RSI
impl Send for RSI
impl Sync for RSI
impl Unpin for RSI
impl UnsafeUnpin for RSI
impl UnwindSafe for RSI
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