---
title: "Update an existing position for autofollow strategy"
method: PUT
path: "/autofollow/strategies/{strategyid}/positions"
tags: ["Autofollow API"]
---

# Update an existing position for autofollow strategy

`PUT /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/put.ts> (a function with typed inputs; its response is checked against the schema)

Update an existing position for autofollow strategy

## Path parameters

- `strategyid` integer, required

## Request body

- object
  - `positions` UpdatedPosition[]
    - `timestamp` string, date-time
    - `symbol` string
    - `size` number
    - `price` number

## Response `200`

Successful operation

- unknown

## Other responses

- `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)
