---
title: "Get positions for strategy"
method: GET
path: "/autofollow/strategies/{strategyid}/positions"
tags: ["Autofollow API"]
---

# Get positions for strategy

`GET /autofollow/strategies/{strategyid}/positions`

## Request

- Base URL: `https://api.tradematic.com`
- URL: `https://api.tradematic.com/autofollow/strategies/{strategyid}/positions`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/tradematic/apis/tradematic-api/docs/autofollow/strategies/:strategyid/positions/get.ts> (a function with typed inputs; its response is checked against the schema)

Get positions for strategy

## Path parameters

- `strategyid` integer, required

## Response `200`

Successful operation

- StrategyPosition[]
  - `symbol` string
  - `size` number
  - `date` string, date-time
  - `price` number
  - `volume` number
  - `wavgprice` number
  - `lastdate` string, date-time

## Other responses

- `404`: Not found
- `500`: Error

---

[API](https://skmtc.dev/tradematic/apis/tradematic-api.md) - [All operations](https://skmtc.dev/tradematic/apis/tradematic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tradematic/apis/tradematic-api/revisions/0af5aabcd3d2?raw)
