> For the complete documentation index, see [llms.txt](https://rabbitx-kr.gitbook.io/rabbitx-kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rabbitx-kr.gitbook.io/rabbitx-kr/undefined-8.md).

# 수익과 손실의 계산

## 무기한 계약 거래

### 거래 손익(PnL)

A는 평균 가격이 $10,000인 100 BTC를 롱 포지션으로 매수했습니다. BTC-USD의 적정 가격은 현재 $10,250입니다. A의 미실현 손익은 다음과 같습니다:

```
미실현 이익 = 100 * ($10,250 - $10,000) = $25,000 
```

A는 50 BTC를 $10,300에 판매하고 약간의 차익을 실현하기로 결정합니다. A의 포지션은 50 BTC로 감소하고 실현 이익은 다음과 같습니다:

```
실현 이익 = 50 * ($10,300 - $10,000) = $15,000
```

&#x20;실현 손익은 귀하가 포지션을 청산한 가격을 기반으로 하며 적정 가격과 다를 수 있습니다.&#x20;

### 펀딩 손익

레빗엑스 무기한 계약의 경우, 롱 포지션과 숏 포지션 사이에 시간당 주고 받는 펀딩비가 있습니다. 펀딩 비율이 양수이면 롱은 펀딩비를 지불하고 숏은 펀딩비를 받습니다. 펀딩 비율이 음수일 때 숏은 펀딩비를 지불하고 롱은 펀딩비를 받습니다.&#x20;

```
예상 펀딩비 = 포지션 * 펀딩 비율 
```

A는 100 BTC를 롱 포지션으로 취하고 있고, 펀딩 비율은 -0.01%입니다. 펀딩비가 지급될 때 BTC-USD의 적정 가격은 $10,000입니다.&#x20;

```
예상 펀딩비 = 100 * 10,000 * 0.01% = $100 
```

펀딩비가 지급되는 시점에 포지션을 보유하고 있는 경우에만 펀딩비를 주거나 받을 수 있습니다. 펀딩비는 매 정시에 정산됩니다. 펀딩 손익은 계정 잔액에서 직접 지불하거나 받게 됩니다.

펀딩 비율이 계산되는 방법을 보려면 이 [<mark style="color:red;">링크</mark>](/rabbitx-kr/undefined-5.md)를 참고하세요.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://rabbitx-kr.gitbook.io/rabbitx-kr/undefined-8.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
