PositionList Class

Class containing the list of positions for a single account.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public class PositionList : IEnumerable<Position>
Inheritance
Object    PositionList
Implements
IEnumerablePosition

Properties

Count Returns the number of position objects in the list.
ItemMarket Returns the position for the market specified, creating the position object if it doesn't already exist.
ItemString Returns the position for the market identifier specified, creating the position object if it doesn't already exist.

Methods

Contains Determines whether there is a position object for the market specified.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumerator Returns an enumerator on the list for use with For...Each statements.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IEnumerable_GetEnumerator Returns an enumerator on the list for use with For...Each statements.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also