Optiver interview question

How would you design this system that does this thing?