# 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>                       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hdsd2.entrade.com.vn/entrade-api/tai-lieu-api-cu/4.-giao-dich-phai-sinh/4.18.-thong-tin-lenh-chot-loi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
