Trading 212 · Example Payload

Post_Api_V0_Equity_Orders_Stop

Orders

Post_Api_V0_Equity_Orders_Stop is an example object payload from Trading 212, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdsummarytagsmethodpathrequestresponse

Example Payload

Raw ↑
{
  "operationId": "placeStopOrder_1",
  "summary": "Place a Stop order",
  "tags": [
    "Orders"
  ],
  "method": "POST",
  "path": "/api/v0/equity/orders/stop",
  "request": {
    "quantity": 100.0,
    "stopPrice": 100.0,
    "ticker": "example_ticker",
    "timeValidity": {}
  },
  "response": {
    "status": 200,
    "body": {
      "createdAt": "2024-01-15T10:30:00Z",
      "currency": "example_currency",
      "extendedHours": true,
      "filledQuantity": 100.0,
      "filledValue": 100.0,
      "id": 1,
      "initiatedFrom": "API",
      "instrument": {
        "currency": "example_currency",
        "isin": "example_isin",
        "name": "example_name",
        "ticker": "example_ticker"
      },
      "limitPrice": 100.0,
      "quantity": 100.0,
      "side": "BUY",
      "status": "LOCAL",
      "stopPrice": 100.0,
      "strategy": "QUANTITY",
      "ticker": "example_ticker",
      "timeInForce": {},
      "type": "LIMIT",
      "value": 100.0
    }
  }
}