Classification of risk in finance