---
title: "IB Algo Params"
method: GET
path: "/iserver/contract/{conid}/algos"
tags: ["Contract"]
---

# IB Algo Params

`GET /iserver/contract/{conid}/algos`

Returns supported IB Algos for contract. Must be called a second time to query the list of available parameters.

## Path parameters

- `conid` string, required

## Query parameters

- `algos` string
- `addDescription` string
- `addParams` string

## Response `200`

returns an array of algos

- object[]
  - `name` string
  - `description` string
  - `id` string
  - `parameters` object[]
    - `id` string, required — The algo parameter
    - `required` boolean — If true a value must be entered.
    - `name` string — Descriptive name of the parameter.
    - `valueClassName` 'double' | 'string' | 'time' | 'boolean', required — Format of the parameter.
    - `minValue` number — Smallest value, only applies to parameters with valueClassName=Double.
    - `maxValue` number — Largest value, only applies to parameters with valueClassName=Double.
    - `defaultValue` boolean — User configured preset for this parameter.
    - `legalStrings` string — The list of choices
    - `description` string — Detailed description of the parameter.
    - `guiRank` number — The order in UI, used when building dynamic UI so that more important parameters are presented first.
    - `priceMarketRule` boolean — If true, must specify parameter using market rule format. Only applies to parameters with valueClassName=Double.
    - `enabledConditions` 'MKT:speedUp:=:no' | 'LMT:strategyType:<>:empty' | 'MKT:strategyType:=:Marketable' — The rules that UI should apply to algo parameters depending on chosen order type: * MKT:speedUp:=:no - hide SpeedUp param when MKT is chosen for order type. * LMT:strategyType:<>:empty - strategyType param cannot be empty when LMT is chosen for order type. * MKT:strategyType:=:Marketable - set strategyType param to Marketable and disable (no other choice) when MKT is chosen for order type.

---

[API](https://skmtc.dev/ibkr/apis/client-portal-web-api.md) · [All operations](https://skmtc.dev/ibkr/apis/client-portal-web-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibkr/client-portal-web-api/revisions/32edbfe496d1/schema)
