ContractList Class

List of contracts.

Definition

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

Remarks

Contains all the contracts for an Exchange.

Properties

Count Returns the number of contracts in the list.
Exchange The exchange that this list of contracts belongs to.
Item Returns the contract specified.

Methods

Contains Determines whether the specified contract is in this list or not.
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 in For...Each statements.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetSortedList Return a copy of this list as a sorted array
GetSortedList(Boolean) Return a copy of this list as a sorted array, optionally only including contracts that the user is permissioned for, such as E-mini's.
GetTypeGets the Type of the current instance.
(Inherited from Object)
IEnumerable_GetEnumerator Returns an enumerator on the list for use in 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