Cupid - a matching engine in modern C++ seeking performance and elegance.
This repo will implement a matching engine for finanical instruments, aka an exchange. It will support different matching algorithms and order types.
Part of the motivation for this repo is from my old pure C implementation of the quantcup contest. But this repo will place more emphasis on utilizing modern C++ features for elegance while maintaining the original high performance.
I use google's benchmark to conduct performance testing. To fully build the project, it requires to install benchmark on the build host. You may follow the "Installation" section there to install it.
- LimitOrderBook (https://github.com/YukunJ/LimitOrderBook)
- When Nanoseconds Matter: Ultrafast Trading Systems in C++ - David Gross - CppCon 2024 (https://www.youtube.com/watch?v=sX2nF1fW7kI)
- Google benchmark user guide (https://github.com/google/benchmark/blob/main/docs/user_guide.md)
