ContractGetMarkets(OnMarketListComplete, Object) Method
Return the collection of markets for this contract.
Namespace: T4.APIAssembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
public void GetMarkets(
OnMarketListComplete poCallback,
Object poTag
)
Public Sub GetMarkets (
poCallback As OnMarketListComplete,
poTag As Object
)
Parameters
- poCallback OnMarketListComplete
- The method to call with the market list results
- poTag Object
- Tag allowing you to identify this request
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.