Palmswap
HomeExchangePalm PadFeedback
English
English
  • Intro
  • Get Started
    • Create a Wallet
    • Get BEP20 USDT
  • Roadmap
  • Protocol
    • šŸ”„ Exchange
      • How to Trade
      • Ordertypes
      • Order Functionality
      • Leverage
      • Funding
      • Margin ratio
      • Liquidations
      • Fee
    • šŸ› Palm Pad
      • How to Participate in a CFL
    • 🌐 Referral Program
  • Ecosystem
    • šŸŽ Retroactive Trading
    • šŸŒ€ Trading Cycle
    • 🚜 Liquidity Farm
    • šŸ” Staking Pools
  • Expected Tokenomics
    • PALM
      • Tokenomics
  • Launch & Go Live
    • Alpha NFT Whitelisting
    • Community Fair Launch
  • Beginners
    • Trade on Testnet
  • Developers
    • Smart Contracts
    • Audit
  • Perpetual Contract Specs
  • Contact us
    • Brand & Logo
Powered by GitBook
On this page
  1. Protocol
  2. šŸ”„ Exchange

Funding

Palmswap Protocol calculates funding payments every hour.

PreviousLeverageNextMargin ratio

Last updated 3 years ago

While futures expire quarterly for price settlement, perpetual futures have hourly funding payments. Periodic funding payments are the most common mechanism used by exchanges for perpetual swaps. Financing payments cause the mark price (the price on the Palmswap Protocol) and the index price (the average price of major exchanges) to converge.

Palmswap follows of calculating financing payments, which is based on the following formula:

FundingPayment=positionsizeāˆ—fundingrateFundingPayment = positionsize * fundingrateFundingPayment=positionsizeāˆ—fundingrate

The Funding Rate in the formula above is calculated by first subtracting the hourly time weighted average price (TWAP) of the index price from the hourly TWAP of the market price and second dividing the result from the previous step by 24. ( Note: FTX's formula results in funding in position size, while our calculation expresses funding in quote assets , i.e. USDT).

FundingRate=TWAPpāˆ’TWAPi24FundingRate=\frac{TW AP_p - TW AP_i}{24}FundingRate=24TWAPpā€‹āˆ’TWAPi​​

If the funding rate is positive, long position holders must pay the funding payment while short position holders receive the payment, and vice versa if the rate is negative. If the funding rate is positive, long position holders must pay the funding payment while short position holders receive the payment, and vice versa if the rate is negative.

The funding payment is made at the end of each hour of the Palmswap Protocol.

We use Chainlink's price feed as the data source for the index price, as it is currently the most widely used Oracle solution on the market.

FTX's method