@krzysztofsztompka/garch
    Preparing search index...

    Type Alias TailRisk

    Value at risk and expected shortfall, as positive losses in the returns' units: VaR is minus the return's level quantile, ES minus its mean below that quantile. level is the tail probability (0.01 for a 99 % VaR).

    type TailRisk = {
        expectedShortfall: number;
        valueAtRisk: number;
    }
    Index
    expectedShortfall: number
    valueAtRisk: number