Includes the specified statistic to be present in the requested trading system.
Visual Basic |
---|
Public Sub IncludeStatistic( _ ByVal trading_system_statistic As eTradingSystemStatistic _ ) |
- trading_system_statistic
Value Description tssAverageDuration Average duration
tssAverageLoss Average loss
tssAverageProfit Average profit
tssAverageWin Average win
tssClosedNetProfit Closed net profit
tssCurConsecLosses Current consecutive losses
tssCurConsecWins Current consecutive wins
tssCurDrawDown Current draw down
tssLinearRegression Linear regression
tssMaxClosedDraw Maximum closed draw
tssMaxConsecLosses Maximum consecutive losses
tssMaxConsecWins Maximum consecutive wins
tssMaxDrawAmount Maximum draw amount
tssMaxDrawDuration Maximum draw duration
tssMaximumLoss Maximum loss
tssMaximumWin Maximum win
tssOpenPosition Open position
tssPercentLong Percent long
tssPercentWinners Percent winners
tssProfitLossRatio Profit/loss ration
tssProfitToMaxDraw Profit to maximum draw
tssRemoveToNeutral Remove to neutral
tssReturnRetracement Return retracement
tssTimePercentage Time percentage
tssTotalNetProfit Total net profit
tssTotalTradeCount Total trade count
Trading system statistics to include.
Upon the creation of the CQGTradingSystemRequest instance, all statistics are included by default.
If the IncludeStatistic method is called on an instance, where all statistics are already included, all statistics become excluded except the one specified by the trading_system_statistic parameter.
Otherwise, trading_system_statistic is included in addition to the already included other statistics.