screamer.js
    Preparing search index...

    Function RollingSharpe

    • Annualised Sharpe ratio over a trailing window of returns.

      Parameters

      • windowSize: number = 252

        Trailing-window length.

      • periodsPerYear: number = 1.0

        Annualisation factor (252 daily, 52 weekly, 12 monthly, 1 = no annualisation).

      Returns ScreamerOp

      https://screamer.readthedocs.io/en/latest/ for the Python reference and full details.