Smart Order Router (SOR)
Last updated
Was this helpful?
Last updated
Was this helpful?
Dexible's Smart Order Router aggregates across 60+ ( and routes your trade to the best pools to maximize output. Our SOR algorithm considers estimated gas and DEX fees when calculating the best route.
Dexible operates an infrastructure that constantly monitors market conditions against a database on order criteria. Each order is evaluated continuously to determine if these criteria, essentially true/false statements, evaluate to meet the preconditions for execution. This is done on every round of an order.
When market conditions are satisfied, Dexible submits a portion of a large order to a settlement smart contract for execution using a bank of "relays" that monitor and manage active transactions.
These market conditions are evaluated on what would traditionally be considered the rules of a trading algorithm.
Dexible relies on a configured set of "policies" to determine when a round should be executed. These policies include things like GasCost
, LimitPrice
, StopPrice
, or BoundedDelay
. Each of these tells Dexible whether certain conditions are met and allows Dexible to evaluate a set of policies before executing the details of an order.
So when a trader tunes their gas price parameter to make it fixed, they're actually modifying a GasCost
policy. When you set a limit price, you are tuning the LimitPrice
policy. All these policies are added to the order and evaluated once the order is submitted to Dexible.
In this way, Dexible can remain extremely flexible. Every user order is effectively its own algo. Additionally, adding new algos just means either adding more policy types or combining them in more interest ways.
Dexible will soon introduce more policy configurations to its UI platform. Stay tuned as we add more algo types and eventually offer a more advanced algo editor for those that want to get way down in the weeds.