Skip to main content

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

ParameterTypeRequiredDescription
productTypestringYesProduct type. Only FUSD is supported
traderUidstringYesTrader user ID to follow
orderTypestringNoOrder type: FIXED_AMOUNT or POSITION_RATE
amountPerOrderUsdtstringConditionalAmount per order in USDT. Required when orderType is FIXED_AMOUNT
fixedAmountstringNoFixed amount for copy trading
dailyMarginLimitMaxstringNoMaximum 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

ParameterTypeDescription
codestringResponse code
msgstringResponse message
requestTimenumberRequest timestamp in milliseconds
datanullResponse data (null on success)

Response Example

{
"code": "00000",
"msg": "success",
"requestTime": 1763459280000,
"data": null
}

Error Codes

CodeMessage
45001Parameter productType cannot be empty
45001Invalid productType
45001Parameter traderUid cannot be empty
45001Invalid orderType. Must be FIXED_AMOUNT or POSITION_RATE
45001amountPerOrderUsdt must be provided when orderType is FIXED_AMOUNT
45001amountPerOrderUsdt must be a valid number greater than 0
45001dailyMarginLimitMax cannot exceed 9999999999999999
45002User not found
45003Follow setting not found
50000System error