Order Receive Amount Simulation
Instant Swap
Instant swap receive amount is calculated using Jupiter API.
TWAP
TWAP order receive amount is impossible to calculate. Therefore, the UI displays an estimate amount assuming the exchange rate (price) of the pair remains static during execution period.
The amount is estimated by dividing the order size by the time interval to get the suborder size per crank epoch which is calculated as follows.
The TWAP order receive amount is a metric to estimate reduction of price impact as the execution period increases. However, lack of arbitrage activities could result in price impact. It is important to select a conservative execution period for larger size.
Following is the assumptions fo the simulations
Price remains constant throughout the trade
No counterparty settlement (all orders via Jupiter)
Last updated