Skip to content

CreateCopyTradeFollower

Endpoint

POST /copytrade/follower

Authorization

Requires SESSION_CUSTOMER.

Description

Creates follower settings for a customer-owned trading account.

Request

{
  "login": 100002,
  "enabled": 1,
  "manual_trading_mode": 1,
  "max_master_count": 1
}

Fields

Name Type Required Description
login int Yes Customer-owned 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 masters this follower can copy

Response

Returns the created follower object.

Errors

HTTP Error Description
400 INVALID_DATA Request validation failed
403 INVALID_ACCOUNT Login does not belong to the customer