MarketDataContractPicker(Contract, ListContractType, ListStrategyType, String) Method

Displays a dialog allowing the user to select a contract.

Definition

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

Parameters

poDefault  Contract
The contract to select by default, or Nothing.
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.
psSearch  String
Initialise the search box.

Return Value

Contract
The contract selected by the user, or the default.

See Also