> ## 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-Hans/api-reference/introduction.md)和 [MCP 服务器](https://docs.burokku.app/zh-Hans/developers/mcp.md#pnl)。


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