# 3. Lấy thông tin tài sản

* **URL:**
  * PROD: <https://services.entrade.com.vn/entrade-api/account_balances/:investorId>
  * PAPERTRADE: <https://services.entrade.com.vn/papertrade-entrade-api/account_balances/:investorId>
* **Method:** `GET`
* **Description:** Lấy thông tin tài sản (tiểu khoản master)
* **Parameters:**
  * `investorId`: Mã investorId của Khách Hàng
* **Response:**

```
{
    "name": "",
    "bankId": 0,
    "bankAccountId": 0,
    "investorId": 1000000001,
    "investorAccountId": 1000000001,
    "totalAsset": 0.0,
    "investorCount": 0,
    "dealCount": 1.0,
    "totalDealValue": 0.0,
    "totalDebt": 0.0,
    "totalSecure": 9540000.0,
    "nav": 1.044863572116E10,
    "totalOpenQuantity": 0,
    "totalOpenValue": 0.0,
    "totalLoanCash": 0.0,
    "totalLoanStock": 0.0,
    "collateralLong": 0.0,
    "collateralShort": 0.0,
    "availableCash": 1.0437906825E10,
    "initCash": 1.0437906825E10,
    "taxCredit": 1756499.95,
    "withdrawalCash": 1.0437906825E10,
    "holdOvernightSecure": 0.0,
    "estimateHoldOvernightSecure": 0.0,
    "withdrawFee": 0.0,
    "withdrawThreshold": 5.0E17,
    "withdrawGuaranteeAmount": 0.0,
    "navExcludeEstimatedProfit": 1.0437906825E10,
    "depositionalCash": 0.0,
    "vsdSecureDepositFee": 0.0,
    "pendingVsdSecure": 0.0,
    "receivable": 0.0,
    "cashOnHand": 0.0,
    "totalDerivativeDealSecure": 9540000.0,
    "holdCollateralFee": 0.0,
    "maxWithdraw": 1.0437906825E10,
    "maxWithdrawPoint": 1.0437906825E10,
    "createdDate": "2025-11-28T03:56:17.090Z",
    "id": 1000000001
}
```

* **Mô tả (các field quan trọng):**
  * `investorId`: investorId của Khách Hàng
  * `investorAccountId`: id của tiểu khoản chính
  * `totalSecure`: tổng cọc đang dùng
  * `maxWithdraw`: số tiền tối đa có thể rút
  * `nav`: tài sản ròng
  * `navExcludeEstimatedProfit`: nav không bao gồm lãi/lỗ tạm tính
  * `initCash`: cọc còn lại đầu ngày
  * `receivable`: lãi/lỗ đã chốt trong ngày
  * `totalDerivativeDealSecure`: tổng cọc trong deal
  * `holdOvernightSecure`: cọc giữ qua đêm


---

# 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/3.-lay-thong-tin-tai-san.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.
