πABNORMAL SCENARIOS
ARBITRAGE MITIGATION:
Chainlink Oracle has delays in updates at times, giving opportunities for bots to arbitrage between centralized exchanges and our exchange. This issue hurts liquidity providers and leads to some past failures of leverage trading protocols.
Inspired by GMX, we introduced the minimum price change required for a position to be closed with profit. If the oracle price has changed more than 0.5%, a position can be closed with profit. If the price varies less than 0.5%, the profit will be 0. However, this requirement only lasts for 2 hour, meaning if the trader closes the position 2 hour after opening the trade, the profit can be taken even if the oracle price changes less than 0.5%.
Last updated