A C++ library of rules and conventions on financial markets