> 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.2.-suc-mua-suc-ban.md).

# 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

| Type                        | URL                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Method |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| <p></p><p> </p><p> Real</p> | <p><a href="https://services.entrade.com.vn/entrade-api/derivative/investors/<investorId>/ppse?bankMarginPortfolioId=<loanPackageId>&#x26;price=<price>&#x26;side=<side>&#x26;symbol=<symbol>">[https://services.entrade.com.vn/entrade-api/derivative/investors/\&#x3C;investorId>/ppse?bankMarginPortfolioId=\&#x3C;loanPackageId>\&#x26;price=\&#x3C;price>\&#x26;side=\&#x3C;side>\&#x26;symbol=\&#x3C;symbol>](https://services.entrade.com.vn/entrade-api/derivative/investors/\&#x3C;investorId>/ppse?bankMarginPortfolioId=\&#x3C;loanPackageId>\&#x26;price=\&#x3C;price>\&#x26;side=\&#x3C;side>\&#x26;symbol=\&#x3C;symbol>)</a></p><p> </p> | GET    |
| Demo                        | [https://services.entrade.com.vn/papertrade-entrade-api/derivative/investors/\<investorId>/ppse?bankMarginPortfolioId=\<loanPackageId>\&price=\<price>\&side=\<side>\&symbol=\<symbol>](https://services.entrade.com.vn/entrade-api/derivative/investors/<investorId>/ppse?bankMarginPortfolioId=<loanPackageId>\&price=<price>\&side=<side>\&symbol=<symbol>)                                                                                                                                                                                                                                                                                          | GET    |

#### **Path param**

| Field          | Type | Description   |
| -------------- | ---- | ------------- |
| **investorId** |      | Mã khách hàng |

#### **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.a) |
| **side**          |      | Long (NB), Short (NS)                                           |
| **symbol**        |      | Mã, ví dụ: VN30F2306                                            |
| **price**         |      | Giá                                                             |

#### **Resquest header**

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

#### **Resquest body**

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

#### **Response body**

| Field                 | Type   | Description                |
| --------------------- | ------ | -------------------------- |
| **investorId**        |        | Mã khách hàng              |
| **investorAccountId** | String | Mã tiểu khoản              |
| **symbol**            | String | Mã                         |
| **price**             | Double | Giá tính sức mua           |
| **ppse**              | Double | Sức mua                    |
| **price**             | Double | Giá tính sức mua           |
| **side**              | String | Long (NB), Short (NS)      |
| **qmax**              | Double | Số lượng tối đa có thể đặt |
