skfolio.measures.standard_deviation#

skfolio.measures.standard_deviation(returns)[source]#

Compute the standard-deviation (square root of the second moment).

Parameters:
returnsndarray of shape (n_observations,)

Vector of returns.

Returns:
valuefloat

Standard-deviation.