Smart Order Routing (SOR) (DeFi)
Optimized Trade Execution: Aims to find the trading path that maximizes the amount of the desired output token received or minimizes the amount of input token spent for a given trade size.
Accesses and Aggregates Multiple Liquidity Sources: Scans and routes trades across various DEX protocols (e.g., Uniswap, SushiSwap, Curve, Balancer) and their respective liquidity pools, including different versions or fee tiers.
Considers All Relevant Costs: Factors in not only token prices but also estimated transaction fees (gas costs on the underlying blockchain) and potential price slippage due to trade size relative to pool liquidity.
May Split Trades Across Pools/Paths: Can divide a single large order into smaller pieces and route them through several different pools or multi-hop paths simultaneously to minimize overall price impact and achieve a better blended price.