screamer.js
    Preparing search index...

    Function deflatedSharpe

    • Probabilistic Sharpe ratio against the Sharpe ratio expected from the best of the tried strategies (Bailey and Lopez de Prado 2014). trialSharpes holds the per-step Sharpe ratio of every variant tried, this one included. Mirrors Python's deflated_sharpe.

      Parameters

      • pnl: ArrayLike<number> | NdArray
      • trialSharpes: ArrayLike<number>

      Returns { benchmark: number; probability: number }