Docs
Copy trading

Reset a stopped subscription

Last updated:

Request

Synthetic example for the production API. Replace YOUR_API_KEY and the ids. Do not send it against a live account until you mean to.

curl -X POST "https://api.fxapis.com/v1/copy/subscriptions/ACCOUNT_ID/reset" \
  -H "Authorization: Bearer YOUR_API_KEY"
POST
/v1/copy/subscriptions/{id}/reset

Back to active (or to paused, if it was paused when it stopped), with every risk period measured afresh from the next figures read. Back to active counts against the plan's followers. Needs a plan with copy trading, and asks a member to confirm it is them (step-up). A stop-out's closes still pending keep going. While copy trading is paused on this server (GET /v1/copy/status), this answers 503 COPY_TRADING_PAUSED.

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

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.fxapis.com/v1/copy/subscriptions/497f6eca-6276-4993-bfeb-53cbbbba6f08/reset"
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "strategyId": "c855e259-15d8-4385-a60f-bdf8f7695ef7",    "followerAccountId": "a14041f3-1c82-4713-aa88-52d0145c7220",    "status": "active",    "stopReason": "risk_limit:day:equity",    "stopDetail": null,    "stoppedAt": null,    "deleting": true,    "settings": {      "sizing": {        "mode": "balance_ratio",        "multiplier": 1,        "lots": "string",        "riskPercent": 0.01      },      "reverse": false,      "copySlTp": "off",      "symbols": {        "allow": [],        "block": [],        "map": {}      },      "limits": {        "maxLots": null,        "maxOpenPositions": null,        "minLots": "skip"      },      "late": {        "maxDelaySeconds": 30,        "maxDeviationPoints": null,        "copyExistingOnStart": false      },      "risk": {        "limits": []      }    },    "follower": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "label": null,      "login": "string",      "server": "string",      "state": "string",      "equity": null,      "todayProfit": null    },    "lastExecution": null,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}