market risk detection