---
title: "Create new autofollow strategy"
method: POST
path: "/autofollow/strategies"
tags: ["Autofollow API"]
---

# Create new autofollow strategy

`POST /autofollow/strategies`

## Request

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

Create new autofollow strategy

## Request body

- object
  - `strategy` NewStrategy
    - `author` string
    - `userid` integer
    - `authorid` integer
    - `name` string
    - `description` string
    - `fulldescription` string
    - `guid` string
    - `symbols` string
    - `apr` number
    - `drawdown` number
    - `marketname` string
    - `folder` string
    - `content` string
    - `timeframe` string
    - `positionsize` string
    - `multiposition` integer
    - `limitorder` integer
    - `minimuminvestment` number
    - `riskscoremin` integer
    - `riskscoremax` integer
    - `risklevel` integer
    - `rateid` integer

## Response `200`

Successful operation

- object
  - `strategyid` integer

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