Difference between revisions of "Portfolio NumLossTrades"
Jump to navigation
Jump to search
m (→Notes) |
m (→Notes) |
||
Line 7: | Line 7: | ||
* This function can only be used in signals intended to be used with the [[:Category:Portfolio_Backtesting|Portfolio Backtester]]. | * This function can only be used in signals intended to be used with the [[:Category:Portfolio_Backtesting|Portfolio Backtester]]. | ||
* See [[Portfolio TotalTrades]] and [[Portfolio NumWinTrades]] to get the total number of completed trades and the total number of winning trades for the portfolio. | * See [[Portfolio TotalTrades]] and [[Portfolio NumWinTrades]] to get the total number of completed trades and the total number of winning trades for the portfolio. | ||
+ | * See [[Portfolio PercentProfit]] to get the percentage of winning trades for all completed trades in the portfolio. | ||
== Example == | == Example == |
Latest revision as of 14:14, 19 February 2012
Returns a numerical value, indicating the number of all completed losing trades for a portfolio.
Usage
Portfolio_NumLossTrades
Notes
- This function can only be used in signals intended to be used with the Portfolio Backtester.
- See Portfolio TotalTrades and Portfolio NumWinTrades to get the total number of completed trades and the total number of winning trades for the portfolio.
- See Portfolio PercentProfit to get the percentage of winning trades for all completed trades in the portfolio.
Example
Portfolio_NumLossTrades
- Will return a value of 5 if there were a total of five completed losing trades.
- Will return a value of 0 if no losing trades were completed during the entire trading period.