Strategy backtesting is often used to test an investment strategy from historical stock or ETF information (usually price). The belief is that if a strategy performed well in the past, then it should continue to perform well in the future.
There are many ways to measure and assess risk in an investment. The standard deviation is one such way and it measures how much returns change over a period. This is also known as the volatility of returns.