Testing and Tuning Market Trading Systems Algorithms in C++