# Portfolio

<div data-with-frame="true"><figure><img src="/files/X8FeGs09F7xSrJg8zHSP" alt=""><figcaption><p>Lend Portfolio Page</p></figcaption></figure></div>

### Position Summary <a href="#position-summary" id="position-summary"></a>

The top of the page displays two summary cards:

**Net Worth**

Your net worth is calculated as:

> *Net Worth = Total Supplied - Total Borrowed*

This card also shows:

<div align="left" data-with-frame="true"><figure><img src="/files/jcbtPUsH7FXt6vAVdIY5" alt="" width="375"><figcaption></figcaption></figure></div>

<table><thead><tr><th width="223">Metric</th><th>Description</th></tr></thead><tbody><tr><td><strong>Total Supplied</strong></td><td>USD value of all assets you've supplied</td></tr><tr><td><strong>Total Borrowed</strong></td><td>USD value of all outstanding borrows</td></tr><tr><td><strong>Net</strong> <strong>APR</strong></td><td>Combined return across supplies and borrows</td></tr><tr><td><strong>Supply APR</strong></td><td>Weighted average APR across your supplied assets</td></tr><tr><td><strong>Borrow APR</strong></td><td>Weighted average APR across your borrowed assets</td></tr><tr><td><strong>Safe to Borrow</strong></td><td>Remaining amount you can borrow before reaching your LTV limit</td></tr><tr><td><strong>Health Factor</strong></td><td>Numeric representation of your position's safety</td></tr></tbody></table>

<details open>

<summary>Understanding Health Factor</summary>

The health factor is a numeric value representing how far your position is from liquidation:

* Above 2 — Comfortable buffer, low liquidation risk
* Between 1 and 2 — Caution, monitor your position
* At 1 — Liquidation threshold reached

The higher the number, the safer your position. If it reaches 1, your position becomes eligible for liquidation.

</details>

**Total Earnings**

A breakdown of everything you've earned and paid:

<div align="left" data-with-frame="true"><figure><img src="/files/YEQjF3T84o9Al9jQ69ZP" alt="" width="375"><figcaption></figcaption></figure></div>

<table><thead><tr><th width="223">Metric</th><th>Description</th></tr></thead><tbody><tr><td><strong>Total Earnings</strong></td><td>Interest Earned + Rewards Earned</td></tr><tr><td><strong>Interest Earned</strong></td><td>Accumulated supply interest across all assets</td></tr><tr><td><strong>Rewards Earned</strong></td><td>Incentive rewards earned on your positions</td></tr><tr><td><strong>Interest Paid</strong></td><td>Total borrow interest paid on your debt</td></tr></tbody></table>

### Earnings Forecast <a href="#earnings-forecast" id="earnings-forecast"></a>

The earnings forecast projects your expected returns over different time horizons:

* **1D** — Daily projection
* **7D** — Weekly projection
* **30D** — Monthly projection
* **1Y** — Annual projection

Each view breaks down projected earnings into:

* **Total Earnings** — Combined projected return
* **Interest** — Projected supply interest minus borrow interest
* **Rewards** — Projected incentive rewards

These projections are based on current APRs and assume no changes to your position or market rates.

***

### Suppy & Borrow Details <a href="#supply-details" id="supply-details"></a>

<div data-with-frame="true"><figure><img src="/files/REDEl94yueLBYBE1nmb2" alt=""><figcaption></figcaption></figure></div>

#### Supply Details <a href="#supply-details" id="supply-details"></a>

A donut chart showing the composition of your supplied assets:

* Each asset's percentage of your total supply
* USD value of each supplied asset

This gives a quick view of your collateral diversification.

#### Borrow Details <a href="#borrow-details" id="borrow-details"></a>

A donut chart showing the composition of your borrows:

* Each asset's percentage of your total debt
* Allocation and amount for each borrowed asset

### Your Supplies & Borrows <a href="#your-supplies" id="your-supplies"></a>

{% hint style="info" icon="image" %}
\*\*Paste Screenshot Here
{% endhint %}

#### Your Supplies <a href="#your-supplies" id="your-supplies"></a>

A detailed table of each supplied asset:

<table><thead><tr><th width="223">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Asset</strong></td><td>Token name and current price</td></tr><tr><td><strong>Deposited</strong></td><td>Number of tokens deposited</td></tr><tr><td><strong>Current Value</strong></td><td>Current USD value of your deposit</td></tr><tr><td><strong>Total Earned</strong></td><td>Interest earned on this asset</td></tr><tr><td><strong>Net PnL</strong></td><td>Profit or loss percentage including price movement and interest</td></tr></tbody></table>

#### Your Borrows <a href="#your-borrows" id="your-borrows"></a>

A detailed table of each borrowed asset:

<table><thead><tr><th width="223">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Asset</strong></td><td>Token name and current price</td></tr><tr><td><strong>Debt</strong></td><td>Number of tokens borrowed</td></tr><tr><td><strong>Current Debt</strong></td><td>Current USD value of your debt</td></tr><tr><td><strong>Borrow Interest</strong></td><td>Interest accrued on this borrow</td></tr></tbody></table>

***

### Transaction History <a href="#transaction-history" id="transaction-history"></a>

<figure><img src="/files/Bo3KT5fOkEjEo2oPjjpN" alt=""><figcaption></figcaption></figure>

A complete log of all your lending activity, filterable by transaction type:

* **All** — Every transaction
* **Deposit** — Supply transactions
* **Withdraw** — Withdrawal transactions
* **Borrow** — Borrow transactions
* **Repay** — Repayment transactions
* **Claim Rewards** — Reward claims
* **Liquidation** — Liquidation events

Each transaction shows:

<table><thead><tr><th width="223">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Timestamp</strong></td><td>Date and time of the transaction</td></tr><tr><td><strong>Action</strong></td><td>Type of transaction</td></tr><tr><td><strong>Details</strong></td><td>Assets and amounts involved</td></tr><tr><td><strong>Closing Net Worth</strong></td><td>Your net worth after the transaction</td></tr><tr><td><strong>Txn Digest</strong></td><td>Link to the transaction on-chain</td></tr></tbody></table>

Transaction history can be exported as a CSV file for record-keeping.


---

# 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://docs.alphafi.xyz/lend/portfolio.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.
