Function calculate_returns

Source
pub fn calculate_returns(prices: &[f64]) -> Vec<f64>
Expand description

Vectorized returns calculation