See Stop Limit
Type: GET
Description: /future/trade/v1/entrust/profit-list
Limit Flow Rules
200/s/apikey
Parameters
Name | Type | Mandatory | Default | Description | Ranges |
---|---|---|---|---|---|
symbol | string | true | N/A | Trading pairs (queries all trading pairs if not passed) | |
page | integer | false | 1 | Page | |
size | integer | false | 10 | Quantity of a single page | |
startTime | integer | false | N/A | Start time | |
endTime | integer | false | N/A | End time | |
state | string | true | N/A | Order state: NOT_TRIGGERED (new order); TRIGGERING; TRIGGERED; USER_REVOCATION; PLATFORM_REVOCATION; EXPIRED; UNFINISHED; HISTORY | NOT_TRIGGERED;TRIGGERING;TRIGGERED;USER_REVOCATION;PLATFORM_REVOCATION;EXPIRED;UNFINISHED;HISTORY |
Response Example
Response
{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": {
"items": [
{
"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, // Take profit price
"triggerStopPrice": 0, // Stop loss price
"profitDelegateOrderType": "LIMIT", // Take profit order type: LIMIT; MARKET
"profitDelegatePrice": 0, // Take profit delegate price
"profitDelegateTimeInForce": "GTC", // Take profit order time in force: GTC, FOK, IOC, GTX
"stopDelegateOrderType": "LIMIT", // Stop loss order type: LIMIT; MARKET
"stopDelegatePrice": 0, // Stop loss delegate price
"stopDelegateTimeInForce": "GTC" // Stop loss order time in force: GTC, FOK, IOC, GTX
}
],
"page": 0,
"ps": 0,
"total": 0
},
"returnCode": 0
}