MarketList Class

Class holding a list of markets, either all those loaded or a requested list.

Definition

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

Properties

Contract The Contract that this market list is part of.
Count Returns the number of markets in the list.
Item Returns the market specified if it exists in the list.

Methods

Contains Determines whether the specified market is in the 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 with For...Each statements.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetSortedList Return a copy of this list as a sorted array.
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)

Events

MarketDetails Event raised when details are received for a market matching the filter.

Fields

ContractID Filter request ContractID.
ExchangeID Filter request ExchangeID.
ExpiryDate Filter request expiry date (contract month).
IncludeExpired Whether expired markets are included in the request
MarketID The specific market id requested, if any.
StrategyType Filter request strategy type (outrights, spreads etc).

See Also