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

# Update autofollow strategy

`PUT /autofollow/strategies/{strategyid}`

## Request

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

Update autofollow strategy

## Path parameters

- `strategyid` integer, required

## Request body

- object
  - `strategy` UpdatedStrategy
    - `author` string
    - `name` string
    - `description` string
    - `fulldescription` string
    - `symbols` string
    - `marketname` string
    - `multiposition` integer
    - `limitorder` integer

## Response `200`

Successful operation

- object
  - `result` string

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