volatility
is the degree of variation of a trading price series over time
Annotated source
/** * Volatility is the degree of variation of a trading price series over time. * * @param * @returns */ { const n = valueslength const mean = values / n const deviation = values return Math} moduleexports = volatility