> 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/12.-lay-cau-hinh-cat-lo.md).

# 12. Lấy cấu hình cắt lỗ

* **URL:**
  * PROD: <https://services.entrade.com.vn/entrade-api/risk_configs>
  * PAPERTRADE: <https://services.entrade.com.vn/papertrade-entrade-api/risk_configs>
* **Method:** `GET`
* **Description:** Lấy cấu hình mặc định cắt lỗ
* **Parameters: None**
* **Query parameters:**
  * `investorAccountId`: tiểu khoản
* **Response:**

```
{
    "total": 1,
    "data": [
        {
            "investorId": 1000000036,
            "investorAccountId": 1000000036,
            "cutLossRate": 0.2,
            "trailingEnabled": false,
            "createdDate": "2022-11-10T03:12:40.462Z",
            "modifiedDate": "2025-11-26T03:12:50.692Z",
            "maxCutLossRate": 0.4,
            "autoIncreaseDealRate": true,
            "enableAutoDealDepositNoti": true
        }
    ]
}
```

* **Mô tả (các field quan trọng):**
  * `cutLossRate`: tỉ lệ cắt lỗ
  * `trailingEnabled`: bật tắt tinh năng trailing stop
  * `enableAutoDealDepositNoti`: bật tắt tự động nộp cọc vào deal
