Session Ready
Exercise

Calculate and review the Calmar ratio

Continue with the same strategy. From the previous exercise, you know that the average drawdown is approximately 11%, and that the average period is 22 days. Now you would like to get a better understanding of the risk-return profile of it. You plan to review the CAGR, max drawdown, then use them to calculate the Calmar ratio and assess the result.

The resInfo DataFrame that contains all backtest statistics has been provided for you.

Instructions
100 XP
  • Get the compound annual growth rate (CAGR) from resInfo.
  • Get the max drawdown from resInfo.
  • Calculate the Calmar ratio using cagr and max_drawdown.
  • Obtain the Calmar ratio directly from resInfo and review it.