screamer.js
    Preparing search index...

    Function RollSpread

    • Roll (1984) effective spread from trade prices alone: 2*sqrt(-cov(dP_t, dP_{t-1})) over a trailing window.

      Parameters

      • windowSize: number = 20

        Window length in observations.

      • startPolicy: string = "strict"

        Warmup behaviour.

      Returns ScreamerOp

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