> For the complete documentation index, see [llms.txt](https://docs.pancakeswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pancakeswap.finance/kr/undefined/pancakeswap-infinity/hooks/dynamic-fee-hook.md).

# Dynamic Fee Hook

PancakeSwap의 공식 Dynamic Fee Hook은 유동성 공급자와 트레이더 간에 더 공정한 가치 교환을 만들기 위해 설계되었습니다. 트레이더에게는 시장의 효율성을 유지해 주면서, LP를 과도한 비영구적 손실(IL)로부터 보호합니다.

PancakeSwap 코어 팀이 만든 이 Hook은 기존의 고정 수수료 모델을 대체하는 스마트하고 적응형인 대안을 제공하도록 특별히 설계되었습니다.

#### 🔍 왜 동적 수수료인가요?

대규모 차익거래는 풀에서 더 큰 가격 괴리를 일으켜 LP의 IL을 증가시킵니다. 저희의 동적 수수료 모델은 이러한 위험을 상쇄하기 위해 규모가 큰 차익거래에 비례하여 더 높은 수수료를 부과하면서도, 차익거래자가 수익을 내고 가격을 일치시킬 수 있도록 충분한 여지를 남겨 둡니다.

#### 📊 다른 모델과 어떻게 다른가요?

과거의 다른 모델들은 과거 데이터를 사용해 변동성을 추정하거나 다른 요인으로 수수료를 조정했습니다. 하지만 다음과 같은 한계가 있습니다.

* 과거 데이터는 후행 지표이므로 미래 변동성을 정확히 예측하지 못할 수 있습니다.
* 외부 시장 이벤트(규제 변화나 경제 변동 등)로 인해 과거 추세를 신뢰할 수 없게 될 수 있습니다.
* 복잡하고 파라미터가 많은 모델은 과적합 위험이 있어, 과거 데이터에서는 성능이 좋지만 새롭고 접하지 못한 상황에서는 성능이 떨어집니다.

저희의 접근 방식은 더 단순하고, 적응형이며, 실시간 거래 행동에 기반합니다.

#### ⚙️ 작동 방식

* **저희는 변동성이나 기타 거시 요인을 예측하지 않습니다**\
  대신 저희 모델은 다양한 시장 국면에서 차익거래자의 행동으로부터 본질적으로 이점을 얻습니다.
  * **높은 변동성:** 더 큰 규모의 차익거래가 늘어남 → LP가 더 높은 수수료를 받아 IL의 더 큰 부분을 보전합니다.
  * **낮은 변동성:** 더 적고 작은 거래 → IL은 본질적으로 낮지만, LP는 고정 수수료 모델보다 여전히 더 높은 수수료를 받습니다.
* **저희 모델이 사용하는 것**
  * 차익거래를 감지하기 위한 지수 가중 풀 가격
  * 각 스왑의 가격 영향에 기반한 지수 수수료 곡선
  * 트레이더의 공정성을 유지하기 위한 최대 5%의 수수료 상한

{% hint style="success" %}
이를 통해 수수료는 거래 영향에 따라 동적으로 조정되면서 변화하는 시장 상황에 자동으로 적응합니다.
{% endhint %}

* **균형 잡힌 인센티브**\
  차익거래자는 동적 수수료를 낸 후에도 수익의 \~50%를 유지하므로, 풀 가격을 시장 가격에 맞추도록 하는 동기가 유지됩니다.

#### 📌 핵심 요약

* 변동성이나 기타 거시 요인 예측에 의존하지 않습니다.
* 실제 거래 행동에 기반하여 시장 변동성에 자동으로 적응합니다.
* 스왑 단위로 LP를 IL로부터 보호합니다.
* 차익거래자가 가격 격차를 좁히도록 강력한 인센티브를 유지합니다.
* 트레이더는 더 깊은 유동성과 더 낮은 기본 수수료의 혜택을 받습니다.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pancakeswap.finance/kr/undefined/pancakeswap-infinity/hooks/dynamic-fee-hook.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
