I think it all happens automatically, ..... but then sometimes it doesn't as you sometimes see a buy and a sell at the same price but on different exchanges, and the orders don't go through.