ContractGetMarkets(Boolean, OnMarketListComplete) Method

Return the collection of all expired markets for this contract.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public void GetMarkets(
	bool pbIncludeExpired,
	OnMarketListComplete poCallback
)

Parameters

pbIncludeExpired  Boolean
Whether to return expired markets or current markets
poCallback  OnMarketListComplete
The method to call with the market list results

Remarks

If the markets have already been loaded then the callback method will be called on this same thread before this method returns. If the markets haven't been loaded then they will be requested from the server, this method will return and the callback method will be called on a different thread when the data is received from the server.

See Also