See Stop Limit base on ProfitId
Type: GET
Description: /future/trade/v1/entrust/profit-detail
Limit Flow Rules
200/s/apikey
Parameters
Name | Type | Mandatory | Default | Description | Ranges |
---|---|---|---|---|---|
profitId | integer | true | N/A | Stop limit ID |
Response Example
Response
{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": {
"createdTime": 0, // Time
"entryPrice": 0, // Open position average price
"executedQty": 0, // Actual transaction
"isolatedMargin": 0, // Isolated Margin
"origQty": 0, // Quantity (Cont)
"positionSide": "", // Position side
"positionSize": 0, // Position quantity (Cont)
"profitId": 0, // Order ID
"state": "", // Order state: NOT_TRIGGERED; TRIGGERING; TRIGGERED; USER_REVOCATION; PLATFORM_REVOCATION; EXPIRED
"symbol": "", // Trading pair
"triggerProfitPrice": 0, // Stop profit price
"triggerStopPrice": 0 // Stop loss price
},
"returnCode": 0
}