Astros
  • Astros - Dex Aggregator
    • šŸ™ŒIntroduction
    • šŸ’”Contact Page
    • āš’ļøAstros UI SDK
      • ⭐Getting Started
      • šŸ…°ļøAggregator Components
    • 🧰Aggregator SDK
    • āš™ļøAggregator API
    • Cross-Chain Swaps SDK
      • šŸš€Quick Start
      • 🪜Dive into
  • Astros - Perpetual
    • šŸ™ŒIntroduction
    • šŸ“šTutorial
      • Deposits and Withdrawals
      • Trading
    • šŸ“ˆPerpetual Trading
      • Funding
      • Margin
      • Index and Mark Price
      • Liquidation Process
      • Insurance Funds
      • ADL
      • Trading Fees
    • šŸ‘¬Referral
Powered by GitBook
On this page
  • Perpetual Contract Pricing Mechanism
  • Funding Rates
  • Hourly Funding Fee Rate (FR)
  • Funding Rate Cap
  1. Astros - Perpetual
  2. Perpetual Trading

Funding

Perpetual Contract Pricing Mechanism

Perpetual contract prices are anchored to the spot index price via the funding fee mechanism.

  • Long positions pay funding fees to short positions when contracts trade at a premium to the spot price.

  • Short positions pay funding fees to long positions when contracts trade at a discount to the spot price. The platform retains none of these fees.

Funding Rates

Funding fees are charged hourly and determined by two components:

  1. Interest Rate (IR) Daily rate: 0.03% (Variable).

    Hourly rate:

    HourlyĀ InterestĀ Rate=0.03%24\text{Hourly Interest Rate} = \frac{0.03\%}{24}HourlyĀ InterestĀ Rate=240.03%​

  2. Premium Index (P) Calculated at randomized intervals within each minute for each market:

    PremiumĀ Index=max⁔(0, Bāˆ’I)āˆ’max⁔(0, Iāˆ’A)I\text{Premium Index} = \frac{\max(0,\,B - I) - \max(0,\,I - A)}{I}PremiumĀ Index=Imax(0,Bāˆ’I)āˆ’max(0,Iāˆ’A)​

  • B: Impact bid price (average execution price to close a long via market sell)

  • A: Impact ask price (average execution price to close a short via market buy)

  • I: Spot index price

  • Impact Notional Value:

    ImpactĀ NotionalĀ Value=800 USDTInitialĀ MarginĀ Ratio\text{Impact Notional Value} = \frac{800\,\text{USDT}}{\text{Initial Margin Ratio}}ImpactĀ NotionalĀ Value=InitialĀ MarginĀ Ratio800USDT​

The hourly Premium Index is the average of all premium indices calculated within the hour.

Hourly Funding Fee Rate (FR)

IF \left|\text{Premium Index} - \text{Hourly Interest Rate}\right| \leq 0.05\%\then:

FundingĀ FeeĀ Rate=HourlyĀ InterestĀ Rate\text{Funding Fee Rate} = \text{Hourly Interest Rate}FundingĀ FeeĀ Rate=HourlyĀ InterestĀ Rate

Otherwise:

FundingĀ FeeĀ Rate=HourlyĀ InterestĀ Rate+PremiumĀ Index\text{Funding Fee Rate} = \text{Hourly Interest Rate} + \text{Premium Index}FundingĀ FeeĀ Rate=HourlyĀ InterestĀ Rate+PremiumĀ Index

Funding Rate Cap

The absolute value of the funding rate is bounded by:

∣FRāˆ£ā‰¤0.75%|FR| \leq 0.75\%∣FRāˆ£ā‰¤0.75%
PreviousPerpetual TradingNextMargin

Last updated 1 month ago

šŸ“ˆ