pub fn diff(data: &[f64], k: usize) -> Vec<f64>
x[t] - x[t-k], NaN for the first k bars.
x[t] - x[t-k]
NaN
k