Say I have a daily PnL series:
Date | PnL |
---|---|
1/1 | 4 |
1/2 | 3 |
1/3 | -1 |
1/4 | 5 |
To calculate the annualized sharpe ratio, can I do: mean(PnL) / std(PnL) * sqrt(252)? This gets me 16.5.
Alternatively, I've read online people say you need to calculate the returns and do the calculation on the returns. If I do percent change on the cumulative sum series, I would get:
Date | Pct_Change |
---|---|
1/1 | NaN |
1/2 | .75 |
1/3 | -.14 |
1/4 | .83 |
This gets me 14.085.
Which is correct?