Constant Sum Market Maker

Algorithm

A Constant Sum Market Maker (CSMM) operates under the principle of maintaining a fixed product between asset reserves, fundamentally differing from constant product market makers. This mechanism dictates that any trade executed alters the relative quantities of the assets, ensuring the total value remains constant before fees, thereby influencing price discovery. The core function relies on a deterministic formula, enabling predictable price impacts based on trade size and reserve ratios, and is particularly relevant in environments demanding precise execution. Its design facilitates arbitrage opportunities, incentivizing actors to realign prices with external markets, and contributes to liquidity provision.