Skip to content

GetCopyTradeLinks

Endpoint

GET /copytrade/trade-links

Authorization

Requires SESSION_CUSTOMER.

Description

Returns trade links where either master_login or follower_login belongs to the authenticated customer.

Trade links map a master order to the copied follower order.

Response

{
  "rows": [
    {
      "id": 1,
      "subscription_id": 10,
      "master_login": 100001,
      "follower_login": 100002,
      "master_order": 50001,
      "follower_order": 60001,
      "state": 0,
      "created_time": 1778160000,
      "updated_time": 1778160000
    }
  ],
  "count": 1
}

Errors

HTTP Error Description
401 INVALID_CUSTOMER_SESSION Customer session is missing or invalid