Documentation API

List Algos

get/api/v1/Trade/algos

Returns the venue algorithms (broker strategies) the caller can select for an instrument on a trading account they own. {enabled} is false, with no algorithms, when algorithms are switched off for the platform or for the account. Pass an algorithm's {key} and parameter values as {algo} when placing the order.

Trade

Paramètres

accountId

query · integer

Requis

symbol

query · string

Requis

version

path · string

Requis

Réponses

  • 200Algorithms for the instrument (possibly empty).application/json
    {
      "enabled": true,
      "algos": [
        {
          "key": "EQTY|BRKA|VWAP",
          "name": "VWAP",
          "broker": "BRKA",
          "assetClass": "EQTY",
          "parameters": [
            {
              "name": "StartTime",
              "type": "Time",
              "required": false,
              "disabled": false
            },
            {
              "name": "Urgency",
              "type": "Choice",
              "required": true,
              "disabled": false,
              "values": [
                "Low",
                "Medium",
                "High"
              ]
            }
          ],
          "orderTypes": [
            "Market",
            "Limit"
          ],
          "timeInForces": [
            "Day"
          ],
          "canModify": false
        }
      ]
    }
  • 400Symbol missing, or the algorithms could not be loaded.application/json
    {
      "status": "rejected",
      "message": "Validation failed."
    }
  • 401Not authenticated.
  • 403Caller lacks Trading claim or account is not owned by the caller.application/json
    {
      "type": "Deposit",
      "title": "Example",
      "status": 1,
      "detail": "The request could not be completed. Check the values and try again.",
      "instance": "Example"
    }
Alipay
Stripe
Eurex
AWS
Azure
Google Cloud
Currenex
Velocity Trade
Bitcoin
CME
Interactive Brokers
Kraken
FIX API
XTX
Bloomberg
Binance

Lancez votre plateforme.