Perpetual swaps, as the name suggests, are futures contracts without an expiry date. Unlike traditional futures that settle weekly, perpetual swaps use a daily settlement mechanism. Depending on the exchange, this can occur two or three times a day. This guide focuses on the fees associated with trading perpetual swaps on the OKX exchange, a critical factor for any trader to consider before entering the market.
Understanding OKX Perpetual Swap Fees
The trading fees for OKX perpetual swaps are typically structured as follows:
- Maker Fee: Ranges between 0.02% and 0.015%.
- Taker Fee: Ranges between 0.05% and 0.03%.
These fees are incurred every time you execute a trade. Maker fees apply when you provide liquidity by placing an order that is not immediately matched with an existing order (e.g., a limit order placed away from the current market price). Taker fees apply when you remove liquidity by placing an order that executes immediately against an existing order (e.g., a market order).
The Impact of Funding Rates
A unique feature of perpetual swaps is the funding rate mechanism, which helps tether the contract price to the spot market index price. On OKX, this funding fee is exchanged between traders every 12 hours, specifically at 10:00 and 22:00 UTC, right after the daily contract settlement.
You will only pay or receive a funding fee if you hold a position at one of these exact settlement times.
The formula to calculate the funding fee (in USD) is:Funding Fee = Position Notional Value * Funding Rate
- A positive funding rate means long position holders pay short position holders.
- A negative funding rate means short position holders pay long position holders.
The funding rate itself is calculated based on the premium of the perpetual swap price over the spot index price and a fixed interest rate component. It is clamped within a band of -0.25% to +0.25% to prevent excessive costs.
👉 Explore real-time funding rate data and tools
How to Calculate Your P&L on OKX
Understanding your potential profit and loss (P&L) is fundamental. P&L is categorized into realized and unrealized.
Realized P&L
This is the actual profit or loss you lock in when you close a position.
For Buy/Long Positions:
Realized P&L = (Contract Face Value / Entry Price) - (Contract Face Value / Exit Price) * Number of Contracts ClosedExample:
You buy 2 BTC contracts with an entry price of $500. Later, you sell 1 contract at $1000.
P&L = (100 / 500 - 100 / 1000) * 1 = 0.2 - 0.1 = 0.1 BTCFor Sell/Short Positions:
Realized P&L = (Contract Face Value / Exit Price) - (Contract Face Value / Entry Price) * Number of Contracts ClosedExample:
You sell short 10 BTC contracts at $500. Later, you buy back 8 contracts at $1000 to close part of the position.
P&L = (100 / 1000 - 100 / 500) 8 = (0.1 - 0.2) 8 = -0.8 BTC (a loss)
Unrealized P&L
This represents the current profit or loss on your open,尚未平仓的仓位 positions, which fluctuates with the market price.
- For Buy/Long Positions:
Unrealized P&L = (Contract Face Value / Entry Price) - (Contract Face Value / Current Mark Price) * Open Position Size For Sell/Short Positions:
Unrealized P&L = (Contract Face Value / Current Mark Price) - (Contract Face Value / Entry Price) * Open Position SizeExample:
You bought 6 BTC contracts at $500. The current mark price is $600.
P&L = (100 / 500 - 100 / 600) 6 = (0.2 - ~0.1667) 6 = ~0.2 BTC
Key Trading Considerations
OKX's funding rate mechanism is relatively straightforward and reacts sensitively to short-term market sentiment. However, it's important to note that the predicted funding rate can be highly volatile immediately after a settlement. For a more reliable gauge, it's often better to wait for the rate to stabilize before making decisions based on it.
Ultimately, your choice of exchange and trading strategy should align with your goals. Consider your expected trading frequency (which affects taker/maker fees), intended holding period (which affects how many funding fees you'll pay/receive), and risk tolerance.
👉 Get advanced trading strategies and insights
Frequently Asked Questions
Q1: How often are funding fees paid on OKX perpetual swaps?
A: Funding fees are exchanged every 8 hours on many exchanges, but on OKX, this process occurs every 12 hours. The specific times are at 10:00 and 22:00 UTC, immediately following the daily settlement.
Q2: As a maker, will I always get the lowest fee rate?
A: While maker fees are generally lower than taker fees, the exact rate you receive can vary. It often depends on your 30-day trading volume and the amount of OKB token (the exchange's native token) you hold in your account. Higher tiers yield better fee rates.
Q3: Can the funding rate ever be too high?
A: Yes, to protect traders, the funding rate on OKX has a maximum ceiling and a minimum floor. It is clamped between -0.25% and +0.25%, ensuring that the cost of holding a position never becomes prohibitively expensive in a single session.
Q4: What's the difference between mark price and last price?
A: The last price is the price of the most recent trade. The mark price is a more stable reference price, often based on the spot index price, used to calculate unrealized P&L and avoid unnecessary liquidations due to market manipulation or low liquidity.
Q5: Do I need to pay fees on unrealized P&L?
A: No. Fees are only charged on executed trades (taker/maker fees) and on open positions during funding time (funding fees). You are not taxed on your floating, unrealized gains or losses.
Q6: Is there a fee for opening a position?
A: Yes, a fee is charged when you open a position. If you open with a market order, you pay the taker fee. If you open with a limit order that doesn't fill immediately, you will pay the maker fee when it is eventually filled.