Skip to main content

stochastics

Function stochastics 

Source
pub fn stochastics(
    high: &[f64],
    low: &[f64],
    close: &[f64],
    params: StochasticParams,
) -> FinanceResult<StochasticSeries>
Expand description

Stochastic series with raw (possibly unvalidated) params — validates then computes.

For repeated calls with the same pack, prefer ValidatedStochastic.