API reference
Create a copier
POST
https://api.tradesync.com/copiersCreate a copier owned by the authenticated user.
Last updated
Request body
- lead_idType: integerRequired: Yes
- Full lead account belonging to the authenticated userAccepted values / limits: 1 to 9999999Default: —
- follower_idType: integerRequired: Yes
- Full follower account belonging to the authenticated userAccepted values / limits: 1 to 9999999; different from lead_idDefault: —
- modeType: stringRequired: No
- Copier modeAccepted values / limits: off, on, monitorDefault: off
- risk_typeType: stringRequired: Yes
- Position-sizing method. Creating with a stop-loss-based type sets copy_sl to yes.Accepted values / limits: See Risk types belowDefault: —
- risk_valueType: numberRequired: Yes
- Value for the selected risk typeAccepted values / limits: 0.00001 to 9999999Default: —
- copy_existingType: stringRequired: No
- Copy eligible existing lead trades if this request creates the copier with mode set to onAccepted values / limits: yes, noDefault: no
- reverseType: stringRequired: No
- Reverse the requested trade directionAccepted values / limits: yes, noDefault: no
- use_alt_tick_valueType: stringRequired: No
- Select the existing alternative tick-value optionAccepted values / limits: yes, noDefault: no
- force_minType: stringRequired: No
- Use the instrument's minimum volume when the calculated volume is smallerAccepted values / limits: yes, noDefault: no
- max_lotType: numberRequired: No
- Maximum lots per tradeAccepted values / limits: 0.01 to 9999999Default: 50
- slippageType: numberRequired: No
- Permitted opening-price difference, in pipsAccepted values / limits: -9999999 to 9999999Default: 100
- copy_pendingType: stringRequired: No
- Copy pending ordersAccepted values / limits: yes, noDefault: no
- copy_slType: stringRequired: No
- Stop-loss handlingAccepted values / limits: no, yes, fixedDefault: no
- fixed_slType: numberRequired: Conditional
- Fixed stop-loss distance in pips. Required if this request sets copy_sl to fixed.Accepted values / limits: 0 to 9999999Default: null
- copy_tpType: stringRequired: No
- Take-profit handlingAccepted values / limits: no, yes, fixedDefault: no
- fixed_tpType: numberRequired: Conditional
- Fixed take-profit distance in pips. Required if this request sets copy_tp to fixed.Accepted values / limits: 0 to 9999999Default: null
- commentType: string or nullRequired: No
- Follower trade commentAccepted values / limits: Up to 16 characters; letters, digits, hyphens, underscores, and whitespaceDefault: null
Both accounts must have connected, neither may be suspended, and the lead must not be follower only.
Risk types
| Value | Description |
|---|---|
| risk_multiplier_by_balance | risk_value is a multiplier for balance-proportional sizing |
| risk_multiplier_by_equity | risk_value is a multiplier for equity-proportional sizing |
| lot_multiplier | risk_value is a multiplier of the lead volume |
| fixed_lot | risk_value is the follower volume in lots |
| percentage_risk_per_trade_by_balance | risk_value is a percentage of follower balance, e.g. 1 means 1% |
| percentage_risk_per_trade_by_equity | risk_value is a percentage of follower equity, e.g. 1 means 1% |
| risk_amount_per_trade | risk_value is a monetary amount in the follower's base currency |
Response example
Example using the default settings:
{
"result": "success",
"status": 200,
"data": {
"id": 1309158,
"created_at": "2026-11-12T10:00:00Z",
"updated_at": "2026-11-12T10:00:00Z",
"lead_id": 1241453,
"follower_id": 1241451,
"mode": "off",
"reverse": "no",
"use_alt_tick_value": "no",
"risk_type": "risk_multiplier_by_balance",
"risk_value": 1,
"force_min": "no",
"max_lot": 50,
"slippage": 100,
"copy_pending": "no",
"copy_sl": "no",
"fixed_sl": null,
"copy_tp": "no",
"fixed_tp": null,
"comment": null
}
}
Errors
| Code | HTTP status | Condition |
|---|---|---|
| lead_does_not_exist | 422 | The lead account does not exist or does not belong to the user. |
| follower_does_not_exist | 422 | The follower account does not exist or does not belong to the user. |
| lead_not_connected | 422 | The lead account has not connected. |
| follower_not_connected | 422 | The follower account has not connected. |
| lead_suspended | 422 | The lead account is suspended. |
| follower_suspended | 422 | The follower account is suspended. |
| account_is_readonly | 422 | An account is readonly |
| account_is_follower_only | 422 | The chosen lead is follower only |
| account_combination_exists | 422 | A copier already exists with this lead and follower. |
| reverse_combination_exists | 422 | A copier already exists with these accounts in the opposite direction. |
| infinite_loop | 422 | The relationship would complete a detected three-account copying loop. |
| fixed_stop_loss_required | 422 | The request sets copy_sl to fixed without supplying fixed_sl. |
| fixed_take_profit_required | 422 | The request sets copy_tp to fixed without supplying fixed_tp. |
See also common response codes.