In Derify protocol, the index price is the actual price you trade.
Assuming that there is a short position of ETH/USD, with 10x leverage and liquidation price of 1000 USD/ETH. If the index price is at 990 USD, the position still opened; however, if an irrelevant transactions changed the index price to 1000 USD/ETH, then the position will be liquidated by accident.It is apparent that these situations are not allowed to happen, otherwise the system would be exposed to significant risks.
The Derify Protocol directly adopts the median from multiple Oracles as the index price. Therefore, we can ensure that the index price we used is consistently synchronized with the external hedging markets, so any trades do not affect the transaction price, with 0 slippages.