STP Group
STP Group
Create STP Group
Create a custom Self-Trade Prevention (STP) group. Sub-accounts within the same group will not match against each other; sub-accounts in different groups can trade with each other normally.
Note: This endpoint is only available to MM (Market Maker) whitelist users.
-
Rate limit: 20/sec/UID
-
Permission: UTA mgt. (read & write)
Create STP Group › Request Parameters
groupNameSTP Group name
Max 32 characters, must be unique
Create STP Group › Response Parameters
Successful response
codemsgrequestTimegroupIdSTP Group ID (system-generated numeric ID)
groupNameSTP Group name
createdTimeCreation time, Unix millisecond timestamp
Get STP Group List
Query the custom STP Group list and member sub-accounts under the current master account.
Note: This endpoint is only available to MM (Market Maker) whitelist users.
-
Rate limit: 20/sec/UID
-
Permission: UTA mgt. (read)
Get STP Group List › Response Parameters
Successful response
codemsgrequestTimeSTP Group list
Add STP Group Members
Add sub-accounts to an existing STP Group. Each sub-account can only belong to one STP Group; adding a sub-account to a new group automatically removes it from its previous group.
Note: This endpoint is only available to MM (Market Maker) whitelist users.
-
Rate limit: 20/sec/UID
-
Permission: UTA mgt. (read & write)
Add STP Group Members › Request Parameters
uidsSub-account UIDs to add to the group
Max 50 per call; can only add sub-accounts under this master account. Multiple UIDs separated by commas.
groupIdSTP Group ID
Add STP Group Members › Response Parameters
Successful response
codemsgrequestTimecreatedTimeCreation time, Unix millisecond timestamp
Successfully added UID list
Failed UID list
Remove STP Group Members
Remove sub-accounts from an STP Group. After removal, a sub-account reverts to the default behavior (stp_uid = parent_uid).
Note: This endpoint is only available to MM (Market Maker) whitelist users.
-
Rate limit: 20/sec/UID
-
Permission: UTA mgt. (read & write)
Remove STP Group Members › Request Parameters
uidsSub-account UIDs to remove from the group
Max 50 per call; can only remove sub-accounts currently in this STP Group. Multiple UIDs separated by commas.
groupIdSTP Group ID
Remove STP Group Members › Response Parameters
Successful response
codemsgrequestTimecreatedTimeCreation time, Unix millisecond timestamp
Successfully removed UID list
Failed removed UID list
