Subscribe Locked Product(TRADE)
API Description
Subscribe Locked Product
HTTP Request
POST /sapi/v1/simple-earn/locked/subscribe
Request Weight(IP)
1
Rate Limit
1/3s per account
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
projectId | STRING | YES | |
amount | DECIMAL | YES | |
autoSubscribe | BOOLEAN | NO | true or false, default false. |
sourceAccount | ENUM | NO | SPOT ,FUND ,ALL , default SPOT |
redeemTo | ENUM | NO | SPOT ,FLEXIBLE , default FLEXIBLE |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- You need to open
Enable Spot & Margin Trading
permission for the API Key which requests this endpoint.
Response Example
{
"purchaseId": 40607,
"positionId": "12345",
"success": true
}