---
title: "Get open positions"
method: GET
path: "/trade/accounts/{accountId}/positions"
tags: ["Account"]
---

# Get open positions

`GET /trade/accounts/{accountId}/positions`

Get all currently open positions for an account. The column names are defined in the `positionsConfig` part of the `/trade/config` route

## Path parameters

- `accountId` integer, required

## Headers

- `accNum` integer, required

## Response `200`

- PositionsResponse — Positions response
  - `d` Positions, required
    - `positions` array[]
      - string[]
  - `s` string, required — Status will always be `ok`.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/tradelocker/apis/trading-api.md) · [All operations](https://skmtc.net/tradelocker/apis/trading-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tradelocker/trading-api/revisions/5b184d9b617c/schema)
