# 衍生品未实现损益调账

{% hint style="info" %}
本帮助文档将介绍如何使用衍生品未实现损益调账功能，管理合约、期权等加密衍生品的未实现损益。支持计算主体在交易所持仓的未实现损益调整、主体作为平台运营方，其用户持仓的未实现损益调账。
{% endhint %}

## **1. 配置调账频率**

1. **调整频率**：在调账频率配置窗口，选择适合的调整频率（日、周、月）。**保存并生效**：更改设置后保存，系统将重新计算未实现损益调账记录。

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

## **2. 执行和查看调账**

1. **手动触发**：用户可以通过点击“Recalculate”手动触发调账计算。
2. **查看记录**：调账记录可在“调账记录表”中查阅，显示详细的调账周期和对应衍生品的未实现损益金额变动。每个调账周期未实现损益的计算基于公式：**Beginning-Realized Pnl +Change = Ending**

   <figure><img src="/files/ie4oEVV2Td3B2jTyyP0l" alt=""><figcaption></figcaption></figure>
3. **数据溯源**：点击 Ending / Realized Pnl 数字的链接按钮，可以看到数据来源。

   <figure><img src="/files/0VSUS5ZvZ8djfE7RCBAM" alt=""><figcaption></figcaption></figure>

## **3. 调账数据源**

调账数据源分为来自交易所的损益数据和来自业务数据的损益数据。

1. 来自交易所的损益数据：与交易数据中的损益数据保持同步。
2. 来自业务数据的损益数据：基于业务数据到调账损益数据的 Automation 规则实现。
   1. 在自动化配置界面，点&#x51FB;**“添加/编辑规则”**&#x8BBE;置新的数据转换规则。

      <figure><img src="/files/OQR2gOKVu9UCJ5Upjd5h" alt=""><figcaption></figcaption></figure>
   2. **定义转换条件**：指定源数据和目标数据的条件，如数据类型和触发事件。

      <figure><img src="/files/cW0d6cAId6ZJepUDl5Xt" alt=""><figcaption></figcaption></figure>
   3. **手动触发转换**：选择执行单个或全部规则，立即生成或更新 Raw Data。


---

# 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.elven.com/v3/chinese/valuation/yan-sheng-pin-wei-shi-xian-sun-yi-tiao-zhang.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.
