Hudson River Trading Interview Question

Probabilities, algorithm