Price Impact Fee
Price Impact is an adjustment based on a function of deviation in entry price from actual price reported by Pyth oracle feed corresponding to the asset at the instant when you open a position. It accounts for potential latency in landing oracle update transactions and the discrete nature of sampling frequency used in recording the price published by the oracle, preventing misuse of the implicit latency by malicious actors.
Key Points
Price Impact Fee is recorded at position opening based on the deviation between your execution price and the oracle price
The fee is charged when you close your position, irrespective of whether you are in profit or loss
It is deducted from your available margin upon closing
It affects your effective PnL in all scenarios
Example
You open a position with $50 Price Impact recorded
If you close with $200 profit → you receive $150 ($200 - $50)
If you close with $30 profit → you receive -$20 ($30 - $50)
If you close with $100 loss → you lose $150 ($100 loss + $50 Price Impact)
FAQs
Q1: Is Price Impact Fee always charged?
Yes. Price Impact Fee is charged irrespective of profit or loss when you close your position. It is deducted from your available margin at the time of closing.
Q2: Why does my position have Price Impact?
Latency in oracle updates at entry may result in execution that differs from the ideal price. Price Impact captures this difference and is settled when the position is closed.
Q3: Does Price Impact affect my liquidation price?
No. Maintenance margin calculation is exempt from Price Impact when computing liquidation price, which remains unaffected.
Q4: Does Price Impact reduce on partial close?
Yes. If you close 50% of your position, the remaining Price Impact also reduces by 50%.
Last updated
Was this helpful?

