MarketDataGetMarketByRef Method

Try and find a market with the specified market ref. This will only succeed if the market is currently loaded in the API. This does not make a request to the server.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public Market GetMarketByRef(
	string psExchangePrefix,
	string psMarketRef
)

Parameters

psExchangePrefix  String
The exchange to search in, e.g. CME
psMarketRef  String
The exchange provided market ref, e.g. ESH6

Return Value

Market
The specified market, or Nothing

See Also