fco-list
Retrieve the list of conditional orders created, filtered by the given criteria.
Authorization
Bearer Enter the JWT token in the format Bearer <token>.
In: header
Header Parameters
The content format of the request body. Mainly application/json.
Information about the client sending the request.
The desired response language. If this header is not provided, the system defaults to en.
Query Parameters
ID of the conditional order to query.
The order-placing account.
The conditional order type to filter by.
The conditional order status to filter by. Supports filtering by multiple statuses at once, separated by commas.
The securities symbol or derivatives contract code to filter by.
The buy or sell side of the order.
Filter start date, in `YYYY/MM/DD` format.
Filter end date, in `YYYY/MM/DD` format.
The page index when paginating results, starting from 1. Defaults to 1.
The number of records per page. Defaults to 10.
Response Headers
The request limit within the period.
The number of requests remaining in the current period.
The time at which the request limit resets.
Response Body
application/json
application/json
curl -X GET "https://api.ssi.com.vn/api/v3/trading/fco/list?accountNo=string" \ -H "Content-Type: application/json"Success
{
"status": "string",
"message": "string",
"pageIndex": "string",
"pageSize": "string",
"itemsCount": "string",
"pagesCount": "string",
"fcoList": [
{
"fcoId": "string",
"username": "string",
"accountNo": "string",
"quantity": 0.1,
"price": "string",
"priceSlip": "string",
"symbol": "string",
"type": "stop_limit",
"orderType": "string",
"from": "string",
"to": "string",
"matchedQuantity": 0.1,
"isPlaceOrder": true,
"status": "INIT",
"detail": "string",
"params": {
"stopPrice": 0.1,
"side": "string",
"activePrice": 0.1,
"trailingAmount": 0.1,
"tpActivePrice": 0.1,
"slActivePrice": 0.1,
"tpPrice": "string",
"slPrice": "string",
"tpSlip": 0.1,
"slSlip": 0.1,
"operator": "string"
}
}
]
}Invalid request.
{
"code": "400",
"msg": "Invalid request"
}