ContractRelationList Class

Class that holds a list of all the contracts related to the parent contract. e.g. when a contract moves from one exchange to another, the option contract that is related to this future and vice versa.

Definition

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

Properties

Contract The contract this list belongs to
Count Returns the number of Contracts in the list.
Item Returns the contract relation for the exchange and contract specified.

Methods

Contains Determines whether the list contains the Contract specified 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)
GetChartDataRelations Returns a list of the contract relations that would be needed for chart data requests, e.g. historical contracts where a contractr moved from one exchange to another.
GetEnumerator Returns an enumerator on the list for use with For...Each statements.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetOptionsRelations Returns a list of the options that are related to this contract, for example Week 1 and Week 2 options are related to each other.
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