Pricing (Oracles)
Robust, Fair, Transparent and Tamper Proof Pricing
Robust, Fair, Transparent and Tamper Proof Pricing
Pricing is one of the most critical components of any derivative protocol. To achieve our vision, we have implemented additional measures to ensure fair, transparent and tamper-proof pricing for all the end-users irrespective of role: Liquidity Provider or Traders.
The protocol adapts intent-based design to compute, validate and submit prices on-chain for intent execution. Upon user's request submission to the smart contract, a series of on-chain and off-chain events occur to submit the pricing required for executing the request.
The final price ‘ ’ of an asset at time ‘t’ on the protocol can be represented as
where can be defined as the price of the asset from decentralized sources, represents the respective pricing and weight of the decentralized sources while is a black box function to ensure tamper-proof pseudo-deterministic price for fair trade execution,
and can be defined as the price of the asset from real-world sources and represents the respective pricing and weight of the real-world sources in form of a time-series function as
where
The liquidation price for an asset for all active positions will differ, but considering rest of the parameters constant, it can be defined as
The liquidation price of the position is not computed as general pricing formula to ensure fair and transparent liquidation, especially in the event of volatile market conditions.
Depending on direction,
And the final price to close such positions can be defined as
Depending on direction,
This page is being updated.
For simulation, we will plug in and define then
Hence, at any given time ,
Based on the volatility of the market and asset, the protocol deploys additional parameters to safeguard LPs and prevent systematic risk to the protocol. One such factor is Spread Factor. If Spread Factor, is defined for an asset in a market by market creator, the final price to open/execute a trade in any direction will be