Source: https://money.stackexchange.com/questions/20340/how-to-calculate-the-standard-deviation-of-stock-returns