Text this: Application of extreme value theory to the calculation of value-at-risk