Order Dynamics
Last updated
Last updated
Marginal price indicates the order "best" price at the moment, which is also the starting price for any trader to interact with.
User creates a strategy between ETH/USDC:
Sell 100 ETH between 1650-1700 USDC
Buy ETH with 10,000 USDC budget between 1590-1640 USDC
On creation, the "Marginal price" would be:
Sell marginal price is 1650 USDC as this is the starting price for traders
Buy marginal price is 1640 USDC as this is the starting price for traders
A trader interacted with the Sell order and took 20 ETH from the order
Sell marginal price will change from 1650 USDC to 1659 USDC (as it is slowly moving to 1700 USDC)
A trader took additional 30 ETH from the order
Sell marginal price will change from 1659 USDC to 1674 USDC
A trader now interacts with the Buy order and gave it 10 ETH (in return for USDC)
Buy marginal price will change from 1640 USDC to 1631 USDC (as it is slowly moving to 1590 USDC)
Partial fill represents a case in which the order budget is only partial used.
On the strategy overview card, there are two colors:
Solid color - represents price range area that still has budget
Carbon DeFi moai logo coloring - represents price range area that was used and taken by traders
Example:
User creates a strategy between ETH/USDC:
Sell 100 ETH between 1650-1700 USDC
Buy ETH with 10,000 USDC budget between 1590-1640 USDC
A trader interacted with the Sell order and took 20 ETH from the order
Results in Sell order partial filled as it still holds 80 ETH (out of the initial 100 ETH)
At some cases, you might see that the market price indication will be "in the money" but no trader is willing to interact with the order. This can happen if the cost of trade is greater than the arbitrage opportunity.
Example:
Market price is at 1641 USDC per ETH
Sell ETH order between 1635-1645 USDC (indicating the order is "in the money")
Available liquidity between 1635-1641 USDC is 0.0001 ETH
Result:
The available liquidity is not sufficient to make the trade profitable.