MarketDataMarketPicker(ListContractType, ListStrategyType, Market, String) Method
Displays a dialog allowing the user to select a market.
Namespace: T4.APIAssembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
public Market MarketPicker(
List<ContractType> poContractTypes,
List<StrategyType> poStrategyTypes,
ref Market poDefault,
string psSearch
)
Public Function MarketPicker (
poContractTypes As List(Of ContractType),
poStrategyTypes As List(Of StrategyType),
ByRef poDefault As Market,
psSearch As String
) As Market
- 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.
MarketThe market selected by the user, or the default.