IMC Trading interview question

How would you design a c++ program that does this "blank"