A nonparametric measure of riskness in financial systems