Changes
Created page with "Returns a numerical value, indicating the total number of all completed trades for a portfolio. ==== Usage ==== <syntaxhighlight>Portfolio_TotalTrades</syntaxhighlight> ..."
Returns a numerical value, indicating the total number of all completed trades for a portfolio.
==== Usage ====
<syntaxhighlight>Portfolio_TotalTrades</syntaxhighlight>
==== Notes ====
This function can only be used in signals intended to be used with the Portfolio Backtester.
==== Example ====
<syntaxhighlight>Portfolio_TotalTrades will return a value of 5 if there were a total of five completed trades
Portfolio_TotalTrades will return a value of 0 if no trades were completed during the entire trading
period</syntaxhighlight>
[[Category:Portfolio Strategy Performance]]
==== Usage ====
<syntaxhighlight>Portfolio_TotalTrades</syntaxhighlight>
==== Notes ====
This function can only be used in signals intended to be used with the Portfolio Backtester.
==== Example ====
<syntaxhighlight>Portfolio_TotalTrades will return a value of 5 if there were a total of five completed trades
Portfolio_TotalTrades will return a value of 0 if no trades were completed during the entire trading
period</syntaxhighlight>
[[Category:Portfolio Strategy Performance]]