CQG API 4.0 - Revised
OTE Property
See Also  Send Feedback
CQGPosition Interface : OTE Property

Glossary Item Box

Description

Returns the Open Trade Equity, calculated for the current position if its instrument is a future.

Property type

Read-only property

Syntax

Visual Basic
Public Property OTE As Double

Return Type

OTE represented as Double if the instrument is a future, 0 otherwise.

Remarks

The value is calculated on the fly, basing on the values of current quotes of the position's instrument and prices/quantities of position's open trades.

Note: If the instrument is not subscribed, this property returns invalid value.

Example

See the usage of OTE property in the AccountChanged event's example section.

See Also