Skip to content

MngUpdateCopyFollower

Updates a Copy Trading follower record.

Access

SESSION_MANAGER, SESSION_ADMIN, SESSION_DEALER, SESSION_CRM_MANAGER, SESSION_CRM_ADMIN.

Non-admin manager access requires access_backoffice or access_crm plus set_copy_followers.

Relinking login is rejected while copied orders for the existing follower login are unsettled; lowering max_master_count below the enabled active distinct-master count is also rejected.

Request Parameters

Name Type Required Description
id int Yes Follower record id
login int No Existing trading account login
enabled int No 1 enabled, 0 disabled
manual_trading_mode int No 0 disabled, 1 allow non-copied, 2 allow all
max_master_count int No Maximum distinct active masters; integer >= 1, default 1

Response Data

Returns the saved object; updated_time is the timestamp of this update:

{
  "id": 12,
  "login": 100002,
  "enabled": 1,
  "manual_trading_mode": 1,
  "max_master_count": 1,
  "created_time": 1780838400,
  "updated_time": 1780838401
}

Conflict Return Codes

Possible error codes: RET_USR_HAS_TRADES (Account has open trades) for unsettled copied orders; RET_TRADE_LIMIT_REACHED (Trades limit reached) when an active distinct-master limit would be exceeded.