bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 33쪽
etual trading pairs. There is no opening position fee.
In the event of liquidation, the 90% liquid lost rate includes close fee.
# MADBTCUSD
Higher Volatility BTC Trading
**1. What is MADBTCUSD Index?**
The MADBTCUSD Index is an algorithmically generated price index that encapsulates the dynamic movements of BTC but with an added twist – it exhibits significantly higher volatility. This index is derived using the Geometric Brownian Motion (GBM) derivatives pricing methodology, a mathematical model commonly used in the world of finance to simulate the unpredictable nature of assets.
**2. How Does It Work?**
The MADBTCUSD Index is primarily based on the price of Bitcoin. It mirrors the general ups and downs of BTCUSD, but it does so at an amplified rate (expected volatility of 100%), resulting in an index with significantly more pronounced price swings. To maintain transparency and fairness, the MADBTC price can be cross-verified through the BTC price and MADBTC historical price data ([here](/trade/perpetual-trading/perpetual-trading-v2/madbtcusd/madbtcusd-faq)). This ensures that the index accurately reflects the movements in the underlying BTC market.
One key feature that sets MADBTCUSD apart from traditional cryptocurrencies is the element of randomness. The price of the MADBTCUSD contract is algorithmically generated using a combination of the corresponding contract's data and a random number. There is no impact of buyers and sellers on price of the MADBTCUSD index.
**3. Market Availability:**
Currently, MADBTCUSD Index is available in Classic Mode on BNB Chain, alongside other major markets like BTCUSD, and ETHUSD. The contract offers additional benefits such as zero position open fee, PnL based position close fee and up to 250x leverage.
If you're intrigued by the concept of MADBTCUSD and want to explore the intricacies of this contract further, here’s a dedicated [FAQ](/trade/perpetual-trading/perpetual-trading-v2/madbtcusd/madbtcusd-faq) page to provide you with a comprehensive methodology.
***It's important to note that due to its extreme volatility, MADBTCUSD may not be suitable for all traders, so it's essential to conduct your research and fully understand the risks involved before participating***
# MADBTCUSD FAQ
### How is MADBTCUSD Index Calculated?
MADBTCUSD is calculated based on the following formula:
**MADBTCUSD Index**
$$
\begin{align\*}
\text{drift} &= \left( \frac{\text{btcCurrentPrice} - 1}{\text{btcLastSecondPrice}} \right) \times 5 \\
\\
\sigma &= \frac{\text{expectedvol}}{\sqrt{3600 \times 24 \times 365}} \\
\\
norm &= \text{norminv}(\text{Random}, 0, 1) \\
\\
S\_{n+1} &= S\_{n} \times e^{\left\[\left(\text{drift} - \frac{\sigma^2}{2}\right) \times \text{dt} + \sigma \times \sqrt{\text{dt}} \times norm\right]}
\end{align\*}
$$
where:
* Initial Sn=1000
* dt=1
* expected vol:100%(expected vol is the expected time volatility of the MADBTC)
* the "**Random number**" is calculated based on the current **BTC price with 8 decimal places of precision**
**Calculation of Random Number:**
```python
import hashlib
from decimal import Decimal
# Assume the current price of Bitcoin is 48923.56789101
bitcoin_price = Decimal("48923.56789101")
# Calculate the SHA-256 hash of the Bitcoin price
price_hash = hashlib.sha256(str(bitcoin_price).encode('utf-8')).hexdigest()
# Extract the first 8 hexadecimal numbers from the hash
hash_substring = price_hash[:8]
# Converts a hexadecimal string to an integer
hash_integer = int(hash_substring, 16)
# Divide the integer by 4294967296 (the decimal number corresponding to the hexadecimal number FFFFFFFF) to get a num
random_number = hash_integer / 4294967296
# Print the random number
print(random_number)
```
If the random number determined is 0, it will be recalculated again
### Where can I cross-verify the BTC and MADBTCUSD historical price?
The BTC and MADBTCUSD price feed can be found here:
[BTCUSD](https://www.apollox.finance/bapi/futures/v1/public/future/apx/V2MarkPriceKline?symbol=BTCUSD\&limit=1800)
[MADBTCUSD](https://www.apollox.finance/bapi/futures/v1/public/future/apx/V2MarkPriceKline?symbol=MADBTCUSD\&limit=1800)
### Historical backtest data of BTC & MADBTC
To cross-verify the BTC & MADBTC historical prices, we've provided a backtest graph below.
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FyavOmfWHrub6391uxMnf%2Fphoto_2023-10-26_19-24-40.jpg?alt=media&token=c99f7a97-80f4-4642-8940-e4d730aa4207" alt=""><figcaption></figcaption></figure>
# Legacy Mode Glossary
**Here you will find defined all the terms inherent in futures trading**
### **Perpetual Trading**
Perpetuals, perpetual swaps, or perps are a special type of futures contract without an expiration date.
### **Leverage**
Leverage is a trading mechanism. Traders can use it to increase their exposure to the market by allowing them to pay less than the full amount of the investment. In simple words, you borrow money to leverage your investment.
### Orders
**Long:** Open a Long order. In this order, you purchase an asset and wait to sell when the price increases. "Buy" and "long" are used interchangeably.
**Short:** Open a Short order. In this order, you borrow an asset, sell it, and hope to repurchase it when the price drops. "Sell" and "short" are used interchangeably.
**Limit Order:** A limit order is buying or selling at a specific price or better. Limit orders are not guaranteed to execute.
**Market Order:** A market order is an order to buy or sell at the best available current price.
#### Position Management
Users can check the details of their opened positions, such as the opening price, by clicking on "Position" located at the bottom of the trading page. They can view details such as opening price, number of positions, latest price and forced liquidation price.
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FGvHa3Qp2sxjIorIkJ1TX%2FPerp5.png?alt=media&token=86d5d591-446f-4e57-b6af-5210f4f7b6d9" alt=""><figcaption></figcaption></figure>
**Position mode**
PancakeSwap will use an isolated leverage mode for each v2 trading pair. Pairs operate independently:
* Each trading pair is an isolated position, Users can open multiple isolated positions
* Every position (trading pair) runs independently. If users need to top up their margin, they will need to do so manually even if they have available assets in other separate positions (ApolloX will support auto top-up in the future)
* Every isolated trading position will have its own risk rate and liquidation price and will be settled individually.
* Liquidation risk is isolated for each trading pair. If a position is liquidated, it does not affect other positions.
**Closing a position**
Users can close their positions by clicking on "Close Position".
#### Fees and Slippage
Please visit the [Aster's page](https://docs.asterdex.com/product/asterex-simple/fees-and-slippage) for more information on Fees.
# Forex
PancakeSwap Perpetuals V2 offers forex trading pairs. Unlike the cryptocurrency market, the foreign exchange market is not open for trading 24/7. Traders may refer to the following timings:
| Day | Open/Close for trading |
| --------- | ---------------------------------------------------------------------------------------- |
| Monday | Open |
| Tuesday | Open |
| Wednesday | Open |
| Thursday | Open |
| Friday | <p>Closed from 22:00 UTC onwards (DST)</p><p>Closed from 23:00 UTC onwards (Non-DST)</p> |
| Saturday | Closed |
| Sunday | <p>Open from 22:00 UTC onwards (DST)</p><p>Open from 23:00 UTC onwards (Non-DST)</p> |
In addition, the foreign exchange market will also be closed during the following public holidays:
* 25th December - 27th December
* 1st January - 2nd January
<br>
# Legacy Mode FAQ
### What is the value contribution of this new feature to the cake holders?
We expect this new feature to bring in a lot of new users, traders and volume. We want to ensure the value goes back to our CAKE token on top of offering the trading fee discount. A portion of all opening and closing fees from users who sign up on PancakeSwap will be converted to CAKE and burnt.
**And the rest of it?**
The rest are currently reserved for the treasury for ongoing expansion and development of this feature. As the feature matures, we expect to increase the burn portion gradually based on community feedback and governance. Moving forward, we'll look to reward CAKE holders with the increasing adoption of Perpetual Trading V2.
### How does Aster determine which user is from PancakeSwap and which user is from their own website?
This is based on the platform where users trade. If users open and close trades on <https://perp.pancakeswap.finance/>, they will be considered PancakeSwap user.
### Fees
Fees for PancakeSwap Perpetuals on different chains are as follows:
<table><thead><tr><th width="201.33333333333331">Mode</th><th width="248">BSC, opBNB, Base</th><th>Arbitrum</th></tr></thead><tbody><tr><td>Perpetuals V2 opening position fee</td><td>0.08%</td><td>0.05%</td></tr><tr><td>Perpetuals V2 closing position fee</td><td>0.08%</td><td>0.05%</td></tr><tr><td>Perpetuals V2 FX fee</td><td>0.02%</td><td>0.02%</td></tr><tr><td><a href="/trade/perpetual-trading/perpetual-trading-v2/degen-mode">Degen Mode</a></td><td>Minimum 0.03%</td><td>Minimum 0.03%</td></tr><tr><td><a href="/trade/perpetual-trading/perpetual-trading-v2/dumb-mode">Dumb Mode</a></td><td>6% collateral on wins</td><td>6% collateral on wins</td></tr></tbody></table>
All trades are subject to an execution fee of 0.5 USD (BNB Chain)/ 0.2 USD (Arbitrum)/ 0.01 USD (opBNB)/ 0.3 USD (Base) when a position is opened.
# Arbitrum
### What are the fees for PancakeSwap Perpetuals V2 on Arbitrum?
For our launch on Arbitrum, fees will be **0.05% on opening and closing trades**. 50% of the fees collected will be shared with the ALP pool for providing liquidity. Other fees include execution, liquidation and funding fees. More information on fees can be found [here](https://blog.pancakeswap.finance/articles/ep-6-4-pancake-swap-perpetuals-v2-fee-structure-a-comprehensive-overview).
### What is ALP?
Perpetuals v2 on Arbitrum features a separate liquidity pool, the ALP Pool, powered by the Aster platform's liquidity provider token, $ALP. Comprising assets such as USDC, USDT, DAI, ETH, and BTC, the ALP Pool allows users to become a liquidity provider and earn significant yield by minting $ALP with any of the aforementioned assets. A remarkable 50% of the total platform fee revenues are distributed to ALP liquidity providers, encompassing various components like opening/closing position fees, execution fees, funding fees, and liquidation fees. A guide to staking ALP can be found [here.](/trade/perpetual-trading/perpetual-trading-v2/perpetual-trading-faq/arbitrum/alp-syrup-pool-arbitrum)
### What is the ALP Syrup Pool?
The new Aster ($ALP) Syrup Pool on Arbitrum allows users to earn a boosted yield. Users can stake $ALP tokens to earn rewards in $CAKE tokens with over 20% APY at launch. ALP syrup pool on PancakeSwap . For more details on the syrup pool, including emissions and start and end dates, please refer to the proposal [here](https://pancakeswap.finance/voting/proposal/0x52455da15b4f1ff4d324c1e7645163d6b78b2221a98a4782bff16b27de409ce9).
### What are the available tokens for Arbitrum?
Supported trading pairs on Arbitrum One are ARBUSD, XRPUSD, DOGEUSD, ETHUSD and BTCUSD. For Degen mode, ETHUSD and BTCUSD are supported. We will look to roll out more pairs in the coming weeks.
### I topped up my wallet with USDC on Arbitrum; why can't I see it?
It is most likely that you've topped up native USDC on Arbitrum ([0xaf88d065e77c8cC2239327C5EDb3A432268e5831](https://arbiscan.io/token/0xaf88d065e77c8cC2239327C5EDb3A432268e5831)). However, PancakeSwap Perpetuals supports Bridged USDC, USDC.e ([0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8](https://arbiscan.io/token/0xff970a61a04b1ca14834a43f5de4533ebddb5cc8)) as it has higher liquidity. You can swap USDC to USDC.e seamlessly [here](https://pancakeswap.finance/swap?chain=arb\&outputCurrency=0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8\&inputCurrency=0xaf88d065e77c8cC2239327C5EDb3A432268e5831). For more information on the difference between USDC and USDC.e, please refer to the [Circle USDC ](https://www.circle.com/blog/arbitrum-usdc-now-available)press release.
# ALP Syrup Pool (Arbitrum)
ALP is a token that powers liquidity on PancakeSwap Perpetuals V2. Users mint/buy ALP using collateral tokens such as USDC, USDT, DAI, ETH and BTC. These tokens supply liquidity to the PancakeSwap Perpetuals trade engine powered by ApolloX. ALP tokens **cannot be transferred between wallets** and can only be **minted/sold through ALP contract and staked in ALP pool**.
### Step-By-Step Guide
#### Buying/Minting ALP
1. Click to access the [PancakeSwap ALP Pool (V2)](https://perp.pancakeswap.finance/en/ALP) page and connect your wallet
2. After connecting your wallet, click **Buy ALP**. You can use any ALP pool asset to buy ALP.
3. After confirming the information, click **Buy ALP** to complete the transaction.
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FVhRvwDSF0WS8wbQB30m1%2FBuy%20ALP%20Module.png?alt=media&token=794fa3f2-56b5-4a3b-9e7a-ed0e3b4ab826" alt=""><figcaption></figcaption></figure>
**Staking ALP (Arbitrum)**
1. Click **Stake Now** on the Pancake ALP Dashboard Page, or click [here](https://pancakeswap.finance/pools?chain=arb)
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FHoamrqHdBnXWyCiQWsPy%2Fpng%20(4).png?alt=media&token=d2ed7b71-a8f4-469e-bc8f-a282d43e4414" alt=""><figcaption></figcaption></figure>
2. Select the CAKE-ALP syrup pool
3. **Enable** ALP and click **Stake**
4. Select amount of ALP to stake and click **confirm**
**Selling ALP**
1. Click to access the ALP Pool (V2) page and connect your wallet
2. After connecting your wallet, click on **Sell ALP**.
Selling ALP Conditions:
* User may sell ALP 48 hours from the time of buying
* Amount of ALP tokens that can be sold: min\[(Value of the liquidity pool - Value of user’s positions)\*50%]/ALP Market Price. For instance, the value of the liquidity pool is 10,000,000 USDT, the value of the user's position is 5,000,000 USDT and ALP Market Price is 2 USDT, the maximum amount the ALP user can sell is 1,250,000.
* At the same time, the amount of assets that users receive after selling their ALP tokens cannot exceed the ALP liquidity pool. For instance, if the liquidity pool only has 1000 USDT, the maximum amount of USDT users receive will be 1000 USDT and the remaining ALPs can be sold for other cryptocurrencies.
---
[Next Page](https://docs.pancakeswap.finance/llms-full.txt/2)
# ALP Buying & Selling Fees
## Buying fee:
Basic Rate Parameter 1: FeeBasisPoints,USDT is currently set at 0.25%
Basic Rate Parameter 2: TaxBasisPoints,USDT is currently set at 0.05%
The current asset value: InitialValue=AssetValueInPool+AssetUnrealizedpnl\_usd
The current asset value after minting: AfterMinValue=InitialValue+MinValue
Calculate the Asset value according to the target weight: TargetValue=(Total Value\_usd+totalUnrealizedpnl\_Usd)\*Target weight,Total Value=sum(InitialValue)
The current Asset value and the target value (absolute value): InitialDiff=InitialValue-TargetValue
After Minting, the asset value and target mechanism (absolute value): AfterDiff=AfterMintValue-TargetValue
* if AfterDiff\<InitialDiffValue
MintFee=Max(FeeBasisPoints-TaxBasisPoints\*InitialDiff/TargetValue,0)
* if AfterDiff>=InitialDiff
MintFee=FeeBasisPoints+TaxBasisPoints\*Min((InitialDiff+AfterDiff)/2,TargetValue)/TargetValue
## Selling fee:
Basic Rate Parameter 1: FeeBasisPoints,USDT is currently set at 0.25%
Max Base Rate Parameter 2: TaxBasisPoints,USDT is currently set at 0.05%
The current asset value: InitialValue=AssetValueInPool+AssetUnreliazedpnl\_usd
The current asset value after Burn: AfterMaxValue=InitialValue-MinValue
Calculating the Asset value according to the target weight: TargetValue=Total Value\*Target weight
The current asset value and target value (absolute value): InitialDiff=InitialValue-TargetValue
After Burn, the asset value and target mechanism (absolute value): AfterMaxDiff=AfterBurnValue-TargetValue
* if AfterDiff\<InitialDiffValue
BurnFee=Max(FeeBasisPoints-MTaxBasisPoints\*InitialDiff/TargetValue,0)
* if AfterDiff>=InitialDiff
BurnFee=FeeBasisPoints+TaxBasisPoints\*Min((InitialDiff+AfterDiff)/2,TargetValue)/TargetValue<br>
For example:
If the value of the ALP pool is $10,000,000, the unrealized PnL is $+10,000, the value of BTC in the liquidity pool is $1,000;
The BTC target weight is 2%, and the current weight is 0.01%. The base rate parameter 1 of BTC is 0.25%, and the base rate parameter 2 is 0.45%.
According to the calculation, the rate of buying ALP with 1 BTC at this time is 0% = 0 BTC. The transaction fee for selling ALP to get 1 BTC is 0.7% = 0.007BTC.
# Trading Rewards Program
ApolloX will launch Trading Rewards Program on V2
### Reward Program Overview
The details are as follows:
Activity period: Dates vary from cycle to cycle and for different chains
Rewards Distribution Time: Each cycle is 00:00 (UTC) to 23:59 (UTC) daily. Rewards are issued on the next day at around 03:00 (UTC). Users have to claim their rewards within 30 days after the rewards are issued. If they do not, the platform will revoke the rewards.
Reward amount: Capped at $15,000 USD worth of APX per day
Activity rules: Users who trade on V2 earn from a reward prize pool. Those who stake APX in DAO to obtain veNFT will enjoy boosting multipliers corresponding to the Power value calculated from the veNFT.
| Power Value | Boosting Multiplier |
| ------------------------- | ------------------- |
| 50,000 < Power =<100,000 | 1.5 |
| 100,000 < Power =<300,000 | 2 |
| Power > 300,000 | 2.5 |
Trading Rewards calculation formula:
At the end of each trading reward cycle, the user’s effective trading fees and staking amount in that cycle will be calculated to determine the weightage and amount of APX rewards. The formula is as follows:
r = R\*W / sum(Wi)
Parameters:
| r | User’s APX reward for this cycle |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| R | Determined by the user’s V2 trading fee contribution on the previous day and latest APX token price |
| W | <p>Individual total weight score W=f\*w, where;</p><p>f refers to the effective trading fees contributed by the user in this cycle, which will be converted into USD.</p><p>w is the Boosting Multiplier obtained by the user in this cycle from staking APX in DAO. (Refer to the above table for more information)</p> |
| sum(Wi) | The total score of all users. Wi represents any individual user’s score, and sum(Wi) represents the sum of all user scores |
The calculation formula for R is as follows:
R=Min(Dollar value multiplier \* Trading Fee, Dollar value Cap)/ Max(APX Last Price,APX Price Floor)
* Dollar value multiplier: 0.70 this epoch
* Trading Fee: Value of previous day’s V2 fee income converted into USD
* Dollar value Cap: 15,000 based on system configuration
* APX Last Price: Based on latest APX token price
* APX Price Floor: 0.04 this epoch
Terms and Conditions
* After the end of each cycle, ApolloX may adju프로젝트로 돌아가기