Updated code for scenario where no data available for one of the stocks, so notes that SD cannot be calculated.