Collective2 Autotrade API

The Autotrade API from Collective2 — 1 operation(s) for autotrade.

Operations 4

DELETE /Autotrade/{autotradeid} Cancel an order in the specified account #
GET /Autotrade/{autotradeid} Request the open positions of the Account #
POST /Autotrade/{autotradeid} Send a new closing order to the specified account #
PUT /Autotrade/{autotradeid} Cancel/Replace an open closing order in the specified account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/collective2:collective2-autotrade-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

collective2-autotrade-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Collective2 Autotrade API
  version: '2026-10-09'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-09: 12 operation(s) read from 2 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Collective2 has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 11
    pages-with-code: 1
    pages-read: 2
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-09'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://api-docs.collective2.com/apis/general/swagger
  - https://api-docs.collective2.com/apis/general/swagger.md
servers:
- url: https://api4-general.collective2.com
security:
- Authorization: []
tags:
- name: Autotrade
paths:
  /Autotrade/{autotradeid}:
    delete:
      operationId: delete_Autotrade_autotradeid
      tags:
      - Autotrade
      summary: Cancel an order in the specified account
      x-source: https://api-docs.collective2.com/apis/general/swagger
      parameters:
      - name: autotradeid
        in: path
        required: true
        schema:
          type: string
      - name: Account
        in: query
        required: true
        schema:
          type: string
        description: The Autotrade account
      - name: PersonId
        in: query
        required: true
        schema:
          type: integer
        description: The C2 PersonID
      - name: OrderId
        in: query
        required: true
        schema:
          type: string
        description: The OrderID to be cancelled
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteAutotradeAutotradeidResponse'
      x-evidence:
        kind: documentation
        collapsed_from: 2 example path(s) differing only at autotradeId
    get:
      operationId: get_Autotrade_autotradeid
      tags:
      - Autotrade
      summary: Request the open positions of the Account
      x-source: https://api-docs.collective2.com/apis/general/swagger
      parameters:
      - name: autotradeid
        in: path
        required: true
        schema:
          type: string
      - name: Account
        in: query
        required: true
        schema:
          type: string
        description: Brokerage Account filter
      - name: StrategyId
        in: query
        required: false
        schema:
          type: integer
        description: StrategyId filter
      - name: PersonId
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAutotradeAutotradeidResponse'
      x-evidence:
        kind: documentation
        collapsed_from: 11 example path(s) differing only at autotradeId
    post:
      operationId: post_Autotrade_autotradeid
      tags:
      - Autotrade
      summary: Send a new closing order to the specified account
      x-source: https://api-docs.collective2.com/apis/general/swagger
      parameters:
      - name: autotradeid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostAutotradeAutotradeidRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostAutotradeAutotradeidResponse'
      x-evidence:
        kind: documentation
        collapsed_from: 3 example path(s) differing only at autotradeId
    put:
      operationId: put_Autotrade_autotradeid
      tags:
      - Autotrade
      summary: Cancel/Replace an open closing order in the specified account
      x-source: https://api-docs.collective2.com/apis/general/swagger
      parameters:
      - name: autotradeid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutAutotradeAutotradeidRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutAutotradeAutotradeidResponse'
      x-evidence:
        kind: documentation
        collapsed_from: 3 example path(s) differing only at autotradeId
components:
  schemas:
    GetAutotradeAutotradeidResponse:
      type: object
      properties:
        Results:
          type: array
          description: Array of objects or null (PositionDTO)
        ResponseStatus:
          type: object
          description: ResponseStatus object (ResponseStatus)
    PostAutotradeAutotradeidResponse:
      type: object
      properties:
        Results:
          type: array
          description: Array of objects or null (SignalIdDTO)
        ResponseStatus:
          type: object
          description: ResponseStatus object (ResponseStatus)
    PutAutotradeAutotradeidRequest:
      type: object
      properties:
        Account:
          type: string
          description: The Autotrade account
        PersonId:
          type: integer
          description: The C2 PersonID
        OrderId:
          type: string
          description: The OrderID to be replaced
        Price:
          type: number
          description: The new Order price
    PutAutotradeAutotradeidResponse:
      type: object
      properties:
        Results:
          type: array
          description: Array of objects or null (SignalIdDTO)
        ResponseStatus:
          type: object
          description: ResponseStatus object (ResponseStatus)
    PostAutotradeAutotradeidRequest:
      type: object
      properties:
        Account:
          type: string
          description: The Autotrade account
        PersonId:
          type: integer
          description: The C2 PersonID
        Order:
          type: object
          description: Order object (OrderDTO)
      required:
      - Order
    DeleteAutotradeAutotradeidResponse:
      type: object
      properties:
        Results:
          type: array
          description: Array of objects or null (SignalIdDTO)
        ResponseStatus:
          type: object
          description: ResponseStatus object (ResponseStatus)
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: Authorization
      x-source: https://api-docs.collective2.com/quickstart.md