RGM Advisors Order Book Programming Problem