Returns a numerical value, indicating the total number of all completed trades for a portfolio.
- This function can only be used in signals intended to be used with the Portfolio Backtester.
- See Portfolio NumWinTrades and Portfolio NumLossTrades to get the total number of completed winning and losing trades for the portfolio.
- Will return a value of 5 if there were a total of five completed trades,
- Will return a value of 0 if no trades were completed during the entire trading period.