Is this strategy return correct

Course Name: Backtesting Trading Strategies, Section No: 5, Unit No: 10, Unit type: Notebook

Hi, at the end of the notebook the result of the backtest the strategy's return is 0.69, but it is expressed as 0.69%. If it was a percentage, would it be 69%?

print(f'Total strategy returns: {strategy_returns.sum():.2f} %')

Thanks in advance.

Hi Daniel,



Yes, you're right. Thanks for pointing this out! 



The correct code should be:

print(f'Total strategy returns: {strategy_returns.sum() * 100:.2f}%')

This would give us an output of 69.08% rather than 0.69%.

Thanks
Rushda

Appreciate your feedback.