I've been trying to understand smart order routers used by brokerages which do algorithmic trading.
As I understand it, you simply watch the best bids/offers of various ECNs, market makers, etc. When you need to rout an order, you simply send it to the one with the best price.
However...