> For the complete documentation index, see [llms.txt](https://hdsd2.entrade.com.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hdsd2.entrade.com.vn/entrade-api/tai-lieu-api-cu/4.-giao-dich-phai-sinh/4.18.-thong-tin-lenh-chot-loi.md).

# 4.18. Thông tin lệnh chốt lời

<table><thead><tr><th width="249">Type</th><th width="249">URL</th><th>Method</th></tr></thead><tbody><tr><td>Real</td><td><a href="https://services.entrade.com.vn/entrade-api/deal_risks/%3Cdeal_id%3E">https://services.entrade.com.vn/entrade-api/deal_risks/%3Cdeal_id%3E</a></td><td>GET</td></tr><tr><td>Demo</td><td><a href="https://services.entrade.com.vn/entrade-api/deal_risks/%3Cdeal_id%3E">https://services.entrade.com.vn/papertrade-entrade-api/deal_risks/%3Cdeal_id%3E</a></td><td>GET</td></tr></tbody></table>

#### Query parameters

| Field    | Type        | Description  |
| -------- | ----------- | ------------ |
| deal\_id | <p><br></p> | Số hiệu deal |

#### Request header

| Field         | Type        | Description         |
| ------------- | ----------- | ------------------- |
| Authorization | <p><br></p> | Bearer \<JWT Token> |

#### Request Body

| Field | Type        | Description |
| ----- | ----------- | ----------- |
| N/A   | <p><br></p> | <p><br></p> |

#### Response body

| Field             | Type        | Description                       |
| ----------------- | ----------- | --------------------------------- |
| investorId        | String      | Mã khách hàng                     |
| investorAccountId | Int         | Mã tài khoản                      |
| takeProfitPrice   | <p><br></p> | Giá chốt lời hiện tại             |
| cutLossRate       | Double      | Mức cắt lỗ hiện tại               |
| trailingEnabled   | Bool        | Có đang bật lệnh cắt lỗ hay không |
| createdDate       | String      | <p><br></p>                       |
| modifiedDate      | String      | <p><br></p>                       |
