CQG API 4.0 - Revised
IsStatisticIncluded Method
See Also  Send Feedback
trading_system_statistic

The trading system statistic of interest.

CQGTradingSystemRequest Interface : IsStatisticIncluded Method

Glossary Item Box

Description

Returns whether the specified statistics item is currently included.

Syntax

Visual Basic
Public Function IsStatisticIncluded( _
   ByVal trading_system_statistic As eTradingSystemStatistic _
) As Boolean

Parameters

trading_system_statistic
ValueDescription
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

The trading system statistic of interest.

Return Type

True if included, False otherwise

See Also