Docs
Api referenceCopy trading

Rename, pause or resume a strategy

PATCH
/v1/copy/strategies/{id}

A paused strategy's master is not watched, and nothing is copied — closes included — until it is resumed; the drift check then puts followers right. Resuming asks a member to confirm it is them (step-up), needs a plan with copy trading, and is refused as a whole (403 KEY_LIMIT_EXCEEDED, naming the account) when the caller may not open on one of the active followers — a connected app's consent list, a key's accountIds, or a key with limits and someone else's subscription. Pause that subscription first. Renaming and pausing always work; resuming is refused while copy trading is paused on this server (503 COPY_TRADING_PAUSED, GET /v1/copy/status).

Authorization

apiKey
AuthorizationBearer <token>

Authorization: Bearer fx_live_<id>_<secret>.

A key is shown once, at creation. We cannot show it again or recover it for you. Keys carry a label (live or test) in the key itself, so each configuration is easy to tell apart. Both reach real brokers: test with a broker demo account.

Scopes are per key. A key without accounts:write can read accounts and nothing else.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Properties1 <= properties

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/copy/strategies/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",    "name": "string",    "status": "active",    "masterAlwaysOn": true,    "followers": 0,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}