A starting price has to be set when initializing the pool, buy action will push up price, sell action will cause price to depreciate.


Variable price token swap:

The equations for OSD and OT are as follows:
x = Amount of asset A in the pool, y = x * price of asset A.
x * y = constant, price is set when the pool is initialized. Price cannot be modified manually once the pool is created. Only buy and sell can change the price. Only addition or removal of liquidity will change the constant value.

Stable token swap

0 slippage swap based on oracle price feed

Maximum slippage

Adjust max acceptable slippage percentage by hovering on settings icon: