> ## Documentation Index
> Fetch the complete documentation index at: https://docs.burokku.app/llms.txt
> Use this file to discover all available pages before exploring further.

# 損益

> pnl 工具：你的淨資產在一天、一週、一個月、一年或全部期間內如何變動，以及原因。

`pnl` · 讀取 · `GET /v1/pnl`

你的淨資產或損益在一段期間內如何變動，以及原因。

## 試著問

* 「我的資產組合這週表現如何？」
* 「今天的變動是什麼造成的？」
* 「我的未實現損益是多少？」

## 輸入

| 輸入 | 類型 | 預設值 | 作用 |
| - | - | - | - |
| `range` | `1D`、`1W`、`1M`、`1Y` 或 `All` | `1D` | 期間 |

## 傳回內容

| 欄位 | 內容 |
| - | - |
| `start_usd`、`end_usd` | 期間開始和結束時的淨資產 |
| `change_usd`、`change_pct` | 變動，以美元和百分比表示 |
| `high_usd`、`low_usd` | 最高點和最低點 |
| `points` | 整個期間內最多 13 個資料點 |
| `drivers` | 適用於 `1D`、`1W` 和 `1M`：造成變動的幣種和帳戶、永續合約的已實現損益、資金費和手續費 |
| `unrealised` | Burokku 已知成本的持倉的未實現損益，以及這涵蓋了你多少持倉；沒有已知成本時為 `null` |

它也會傳回 `note`、`read_at`、`refreshing` 和 `currency`。

> [!NOTE]
>
> 這些數字不適用於報稅。Burokku 的稅務頁面會依課稅年度計算收益。

## 讀取或寫入

它只會讀取，不會變更你帳戶中的任何內容。

## 透過 REST API

同樣的操作是 `GET /v1/pnl`，`range` 以查詢參數傳送。請參閱 [API 參考](https://docs.burokku.app/zh-Hant/api-reference/introduction.md)和 [MCP 伺服器](https://docs.burokku.app/zh-Hant/developers/mcp.md#pnl)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.