Search Algo Params by Contract ID
Returns supported IB Algos for contract.
A pre-flight request must be submitted before retrieving information
GET /iserver/contract/{{ conid }}/algos
Request Object
Path Parameters
conid: String. Required
Contract identifier for the requested contract of interest.
Query Parameters
algos: String. Optional
List of algo ids delimited by ”;” to filter by.
Max of 8 algos ids can be specified.
Case sensitive to algo id.
addDescription: String. Optional
Whether or not to add algo descriptions to response. Set to 1 for yes, 0 for no.
addParams: String. Optional
Whether or not to show algo parameters. Set to 1 for yes, 0 for no.
Python
Abap
Response Object
algos: Array of objects.
Contains all relevant algos for the contract.
[{
name: String.
Common name of the algo.
id: String.
Algo identifier used for requests
parameters: Array of objects.
All parameters relevant to the given algo.
Only returned if addParams=1
[{
guiRank: int.
Positional ranking for the algo. Used for Client Portal.
defaultValue: int.
Default parameter value.
name: String.
Parameter name.
id: String.
Parameter identifier for the algo.
legalStrings: Array
Allowed values for the parameter.
required: String.
States whether the parameter is required for the given algo order to place.
Returns a string representation of a boolean.
valueClassName: String.
Returns the variable type of the parameter.
}]
}]

