# Lãi và Lỗ (Nguồn cung)

Định nghĩa

Lãi và Lỗ (nguồn cung) đánh giá tổng số các UTxO đang có lãi hay ngược lại bằng cách so sánh giữa thời điểm UTxO đó được tạo ra và thời điểm bị phá hủy

$$
\text{Supply in Profit} = \sum\_{u \in utxos} \text{value}\_u \* \mathbb{I}(\text{price}*u > \text{price}*{created, u})
$$

$$
\text{Supply in Loss} = \sum\_{u \in utxos} \text{value}\_u \* \mathbb{I}(\text{price}*u < \text{price}*{created, u})
$$

$$
\text{Percent Supply in Profit} = 100 \* \frac{\text{Supply in Profit}}{\text{Total Supply}}
$$

$$
\text{Percent Supply in Loss} = 100 \* \frac{\text{Supply in Loss}}{\text{Total Supply}}
$$

## Giải nghĩa

Các chỉ số này tương tự như các chỉ sổ trong Lãi và Lỗ (UTxO) nhưng đặt trọng số nhiều hơn vào từng UTxO với giá trị của nó. Cho phép đo lường chính xác giá trị đầu ra của giao dịch Bitcoin còn tồn tại tính bằng lợi nhuận. Lãi và Lỗ (nguồn cung) được tính bằng tổng giá trị của UTxO

* Số lượng Lãi: Tổng giá trị UTxO có lãi bằng cách so sánh giữa thời điểm được tạo và thời điệm bị phá hủy
* Số lượng Lỗ: Tổng giá trị UTxO bị lỗ bằng cách so sánh giữa thời điểm được tạo ra và thời điểm bị phá hủy
* Phần trăm Lãi: Tỷ lệ tổng giá trị UTxO có lãi trên tổng giá trị UTxO
* Phần trăm Lỗ: Tỷ lệ tổng giá trị UTxO bị lỗ trên tổng giá trị UTxO

## Liên kết tới dữ liệu của chúng tôi

* [BTC: Profit Amount (Supply) Live Chart](https://cryptoquant.com/overview/full/16436?window=day)
* [BTC: Loss Amount (Supply) Live Chart](https://cryptoquant.com/overview/full/16437?window=day)
* [BTC: Profit Percent (Supply) Live Chart](https://cryptoquant.com/overview/full/16438?window=day)
* [BTC: Loss Amount (Supply) Live Chart](https://cryptoquant.com/overview/full/16439?window=day)


---

# 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://userguide.cryptoquant.com/vi/cryptoquant-metrics/utxo/profit-and-loss-supply.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.
