MarketDataMarketPicker(ListContractType, ListStrategyType, Market, String) Method

Displays a dialog allowing the user to select a market.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public Market MarketPicker(
	List<ContractType> poContractTypes,
	List<StrategyType> poStrategyTypes,
	ref Market poDefault,
	string psSearch
)

Parameters

poContractTypes  ListContractType
Filter the market list to only the contract types specified. Use null/Nothing for all.
poStrategyTypes  ListStrategyType
Filter the market list to only the strategy types specified. Use null/Nothing for all.
poDefault  Market
The market to select by default, or Nothing
psSearch  String
Initialise the search box.

Return Value

Market
The market selected by the user, or the default.

See Also