After submitting a backtesting job on the AlgoBulls platform, the AlgoBulls backtesting engine starts executing the strategy. During its execution, along with the logs and P&L table, the AlgoBulls backtesting engine also generates a summary from the P&L table in real time. This summary is a table of statistics containing various statistical numbers such as Net P&L (absolute and percentage), Max Drawdown (absolute and percentage), count of total trades, winning trades, losing trades, long trades and short trades, maximum gain and minimum gain (or maximum loss), and the average profit per winning and losing trade. This table gives us an instant overview of the strategy's overall performance.
In this recipe, you will fetch the statistics table report for your strategy. This report is available as soon as the first trade is punched in by your strategy after you submit a backtesting...