Nonparametric estimation of general multivariate tail dependence and applications to financial time series