Assessing market risk in investments