> 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/vietnamese/giao-dich/perpetual-trading/perpetual-trading-v2/perpetual-trading-faq/arbitrum/alp-syrup-pool-arbitrum/alp-buying-and-selling-fees.md).

# Phí mua & bán ALP

## Phí mua:

Thông Số Cơ Bản 1: FeeBasisPoints, USDT hiện đang được đặt ở mức 0.25%

Thông Số Cơ Bản 2: TaxBasisPoints, USDT hiện đang được đặt ở mức 0.05%

Giá trị tài sản hiện tại: InitialValue=AssetValueInPool+AssetUnrealizedpnl\_usd

Giá trị tài sản hiện tại sau khi đúc: AfterMinValue=InitialValue+MinValue

Tính giá trị tài sản theo trọng số mục tiêu: TargetValue=(Total Value\_usd+totalUnrealizedpnl\_Usd)\*Target weight，Total Value=sum(InitialValue)

Giá trị tài sản hiện tại và giá trị mục tiêu (giá trị tuyệt đối): InitialDiff=InitialValue-TargetValue

Sau khi đúc, giá trị tài sản và cơ chế mục tiêu (giá trị tuyệt đối): AfterDiff=AfterMintValue-TargetValue

* nếu AfterDiff\<InitialDiffValue

MintFee=Max(FeeBasisPoints-TaxBasisPoints\*InitialDiff/TargetValue，0)

* nếu AfterDiff>=InitialDiff

MintFee=FeeBasisPoints+TaxBasisPoints\*Min((InitialDiff+AfterDiff)/2,TargetValue)/TargetValue

## Phí bán:

Thông Số Cơ Bản 1: FeeBasisPoints, USDT hiện đang được đặt ở mức 0.25%

Thông Số Tỷ Lệ Cơ Bản Tối Đa 2: TaxBasisPoints, USDT hiện đang được đặt ở mức 0.05%

Giá trị tài sản hiện tại: InitialValue=AssetValueInPool+AssetUnreliazedpnl\_usd

Giá trị tài sản hiện tại sau khi Đốt: AfterMaxValue=InitialValue-MinValue

Tính giá trị tài sản theo trọng số mục tiêu: TargetValue=Total Value\*Target weight

Giá trị tài sản hiện tại và giá trị mục tiêu (giá trị tuyệt đối): InitialDiff=InitialValue-TargetValue

Sau khi Đốt, giá trị tài sản và cơ chế mục tiêu (giá trị tuyệt đối): AfterMaxDiff=AfterBurnValue-TargetValue

* nếu AfterDiff\<InitialDiffValue

BurnFee=Max(FeeBasisPoints-MTaxBasisPoints\*InitialDiff/TargetValue，0)

* nếu AfterDiff>=InitialDiff

BurnFee=FeeBasisPoints+TaxBasisPoints\*Min((InitialDiff+AfterDiff)/2,TargetValue)/TargetValue<br>

Ví dụ:

Nếu giá trị pool ALP là $10.000.000, PnL chưa thực hiện là $+10.000, giá trị BTC trong pool thanh khoản là $1.000;

Trọng số mục tiêu BTC là 2%, và trọng số hiện tại là 0.01%. Thông số tỷ lệ cơ bản 1 của BTC là 0.25%, và thông số tỷ lệ cơ bản 2 là 0.45%.

Theo tính toán, tỷ lệ mua ALP bằng 1 BTC tại thời điểm này là 0% = 0 BTC. Phí giao dịch để bán ALP để nhận 1 BTC là 0.7% = 0.007BTC.


---

# 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://docs.pancakeswap.finance/vietnamese/giao-dich/perpetual-trading/perpetual-trading-v2/perpetual-trading-faq/arbitrum/alp-syrup-pool-arbitrum/alp-buying-and-selling-fees.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.
