# 4.2.  Sức mua, sức bán

***Lấy thông tin sức mua sức bán tối đa theo tiểu khoản, mã, giá và gói vay***

| **URL**                                                                                                                                                                                                                                                                                  | **Method** |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| [https://services.entrade.com.vn/dnse-order-service/accounts/\<account>/ppse?symbol=\<symbol>\&price=\<price>\&loanPackageId=\<loanPackageId>](https://services.entrade.com.vn/dnse-order-service/accounts/<account>/ppse?symbol=<symbol>\&price=<price>\&loanPackageId=<loanPackageId>) | GET        |

### &#x20;**Path param**

| **Field**   | **Type** | **Description** |
| ----------- | -------- | --------------- |
| **account** |          | Mã tiểu khoản   |

### &#x20;**Query param**

| **Field**         | **Type** | **Description**                                                 |
| ----------------- | -------- | --------------------------------------------------------------- |
| **loanPackageId** |          | Mã gói vay (lấy Mã gói vay cần trong danh sách gói vay mục 4.1) |
| **symbol**        |          | Mã                                                              |
| **price**         |          | Giá (đơn vị đồng)                                               |

### &#x20;**Resquest header**

| **Field**         | **Type** | **Description**     |
| ----------------- | -------- | ------------------- |
| **Authorization** |          | Bearer \<JWT token> |

### &#x20;**Resquest body**

| **Field** | **Type** | **Description** |
| --------- | -------- | --------------- |
| **N/A**   |          |                 |

### &#x20;**Response body**

| **Field**             | **Type** | **Description**     |
| --------------------- | -------- | ------------------- |
| **investorAccountId** | String   | Mã tiểu khoản       |
| **ppse**              | Double   | Sức mua             |
| **price**             | Double   | Giá tính sức mua    |
| **qmax**              | Double   | Số lượng mua tối đa |
| **tradeQuantity**     | Double   | Số lượng bán tối đa |

&#x20;

{% tabs %}
{% tab title="cURL" %}

```
curl --location --request GET 'https://services.entrade.com.vn/dnse-order-service/accounts/<account>/ppse?symbol=<symbol>&price=<price>&loanPackageId=<loanPackageId>' \
--header 'Content-Type: application/json' \
--header 'authorization: Bearer <jwt_token_from_login_API_response_step_2.1>'
```

{% endtab %}
{% endtabs %}


---

# 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://hdsd.dnse.com.vn/san-pham-dich-vu/lightspeed-api-truoc-krx/ii.-trading-api/4.-giao-dich-co-so/4.2.-suc-mua-suc-ban.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.
