Set Copy Trade Settings
Configure copy trading settings for following a specific trader.
HTTP Request
POST /api/v1/copy/mix-follower/setting-copy-trade
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| productType | string | Yes | Product type. Only FUSD is supported |
| traderUid | string | Yes | Trader user ID to follow |
| orderType | string | No | Order type: FIXED_AMOUNT or POSITION_RATE |
| amountPerOrderUsdt | string | Conditional | Amount per order in USDT. Required when orderType is FIXED_AMOUNT |
| fixedAmount | string | No | Fixed amount for copy trading |
| dailyMarginLimitMax | string | No | Maximum daily margin limit. Max: 9999999999999999 |
Request Example
curl -X POST "https://open-api.bydoxe.com/api/v1/copy/mix-follower/setting-copy-trade" \
-H "ACCESS-KEY: your-api-key" \
-H "ACCESS-SIGN: your-signature" \
-H "ACCESS-PASSPHRASE: your-passphrase" \
-H "ACCESS-TIMESTAMP: 1659076670000" \
-H "Content-Type: application/json" \
-d '{
"productType": "FUSD",
"traderUid": "100001",
"orderType": "FIXED_AMOUNT",
"amountPerOrderUsdt": "100.00",
"dailyMarginLimitMax": "50000"
}'
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code |
| msg | string | Response message |
| requestTime | number | Request timestamp in milliseconds |
| data | null | Response data (null on success) |
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1763459280000,
"data": null
}
Error Codes
| Code | Message |
|---|---|
| 45001 | Parameter productType cannot be empty |
| 45001 | Invalid productType |
| 45001 | Parameter traderUid cannot be empty |
| 45001 | Invalid orderType. Must be FIXED_AMOUNT or POSITION_RATE |
| 45001 | amountPerOrderUsdt must be provided when orderType is FIXED_AMOUNT |
| 45001 | amountPerOrderUsdt must be a valid number greater than 0 |
| 45001 | dailyMarginLimitMax cannot exceed 9999999999999999 |
| 45002 | User not found |
| 45003 | Follow setting not found |
| 50000 | System error |