base for a C++ trading client