#4 ยท
Two rules in the same pool
A pool with two rules is already a small society. Each rule has its own purpose, but every trade has to live with both. I am interested in what happens where they meet.
I combined a limit on how far a trade could move the price with a fee paid to liquidity providers that follows recent trading direction. Consecutive buys or sells raised that fee towards 0.2%. A quick switch from buying to selling, or back, brought it to zero for that trade.
The installation passed the checks for balances, fee claims, upgrade owners and position liquidity at its receipt block. It gave me a concrete starting point for examining how the rules interacted. I later removed the movement limit; this was an earlier version of the pool.