├── .clang-format ├── .github └── workflows │ ├── clang_robot.yml │ ├── linux.yml │ └── macos.yml ├── .gitignore ├── CMakeLists.txt ├── README.md ├── benchmark ├── bench_concurrent_market.cpp ├── bench_market.cpp ├── generate_orders.cpp └── generate_orders.h ├── bin └── .gitignore ├── examples ├── concurrent_market_example.cpp ├── market_example.cpp └── simple_event_handler.h ├── include ├── concurrent │ ├── queue.h │ ├── thread_joiner.h │ └── thread_pool.h ├── event_handler │ ├── event.h │ └── event_handler.h ├── matching │ ├── market │ │ ├── concurrent_market.h │ │ └── market.h │ └── orderbook │ │ ├── level.h │ │ ├── map_orderbook.h │ │ ├── order.h │ │ ├── orderbook.h │ │ └── symbol.h └── utils │ ├── log.h │ └── robin_hood.h ├── src ├── event_handler │ └── event.cpp ├── matching │ ├── market │ │ ├── concurrent_market.cpp │ │ └── market.cpp │ └── orderbook │ │ ├── level.cpp │ │ ├── map_orderbook.cpp │ │ ├── order.cpp │ │ └── symbol.cpp └── utils │ └── log.cpp └── test ├── market ├── debug_event_handler.h ├── market_test_fixture.h ├── test_add_order.cpp ├── test_add_symbol.cpp ├── test_cancel_order.cpp ├── test_delete_order.cpp ├── test_delete_symbol.cpp ├── test_execute_order.cpp └── test_replace_order.cpp ├── test_level.cpp └── test_order.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/.clang-format -------------------------------------------------------------------------------- /.github/workflows/clang_robot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/.github/workflows/clang_robot.yml -------------------------------------------------------------------------------- /.github/workflows/linux.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/.github/workflows/linux.yml -------------------------------------------------------------------------------- /.github/workflows/macos.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/.github/workflows/macos.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/README.md -------------------------------------------------------------------------------- /benchmark/bench_concurrent_market.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/benchmark/bench_concurrent_market.cpp -------------------------------------------------------------------------------- /benchmark/bench_market.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/benchmark/bench_market.cpp -------------------------------------------------------------------------------- /benchmark/generate_orders.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/benchmark/generate_orders.cpp -------------------------------------------------------------------------------- /benchmark/generate_orders.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/benchmark/generate_orders.h -------------------------------------------------------------------------------- /bin/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | */ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /examples/concurrent_market_example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/examples/concurrent_market_example.cpp -------------------------------------------------------------------------------- /examples/market_example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/examples/market_example.cpp -------------------------------------------------------------------------------- /examples/simple_event_handler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/examples/simple_event_handler.h -------------------------------------------------------------------------------- /include/concurrent/queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/concurrent/queue.h -------------------------------------------------------------------------------- /include/concurrent/thread_joiner.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/concurrent/thread_joiner.h -------------------------------------------------------------------------------- /include/concurrent/thread_pool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/concurrent/thread_pool.h -------------------------------------------------------------------------------- /include/event_handler/event.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/event_handler/event.h -------------------------------------------------------------------------------- /include/event_handler/event_handler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/event_handler/event_handler.h -------------------------------------------------------------------------------- /include/matching/market/concurrent_market.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/matching/market/concurrent_market.h -------------------------------------------------------------------------------- /include/matching/market/market.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/matching/market/market.h -------------------------------------------------------------------------------- /include/matching/orderbook/level.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/matching/orderbook/level.h -------------------------------------------------------------------------------- /include/matching/orderbook/map_orderbook.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/matching/orderbook/map_orderbook.h -------------------------------------------------------------------------------- /include/matching/orderbook/order.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/matching/orderbook/order.h -------------------------------------------------------------------------------- /include/matching/orderbook/orderbook.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/matching/orderbook/orderbook.h -------------------------------------------------------------------------------- /include/matching/orderbook/symbol.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/matching/orderbook/symbol.h -------------------------------------------------------------------------------- /include/utils/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/utils/log.h -------------------------------------------------------------------------------- /include/utils/robin_hood.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/include/utils/robin_hood.h -------------------------------------------------------------------------------- /src/event_handler/event.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/src/event_handler/event.cpp -------------------------------------------------------------------------------- /src/matching/market/concurrent_market.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/src/matching/market/concurrent_market.cpp -------------------------------------------------------------------------------- /src/matching/market/market.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/src/matching/market/market.cpp -------------------------------------------------------------------------------- /src/matching/orderbook/level.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/src/matching/orderbook/level.cpp -------------------------------------------------------------------------------- /src/matching/orderbook/map_orderbook.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/src/matching/orderbook/map_orderbook.cpp -------------------------------------------------------------------------------- /src/matching/orderbook/order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/src/matching/orderbook/order.cpp -------------------------------------------------------------------------------- /src/matching/orderbook/symbol.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/src/matching/orderbook/symbol.cpp -------------------------------------------------------------------------------- /src/utils/log.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/src/utils/log.cpp -------------------------------------------------------------------------------- /test/market/debug_event_handler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/test/market/debug_event_handler.h -------------------------------------------------------------------------------- /test/market/market_test_fixture.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/test/market/market_test_fixture.h -------------------------------------------------------------------------------- /test/market/test_add_order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/test/market/test_add_order.cpp -------------------------------------------------------------------------------- /test/market/test_add_symbol.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/test/market/test_add_symbol.cpp -------------------------------------------------------------------------------- /test/market/test_cancel_order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/test/market/test_cancel_order.cpp -------------------------------------------------------------------------------- /test/market/test_delete_order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/test/market/test_delete_order.cpp -------------------------------------------------------------------------------- /test/market/test_delete_symbol.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/test/market/test_delete_symbol.cpp -------------------------------------------------------------------------------- /test/market/test_execute_order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/test/market/test_execute_order.cpp -------------------------------------------------------------------------------- /test/market/test_replace_order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/test/market/test_replace_order.cpp -------------------------------------------------------------------------------- /test/test_level.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/test/test_level.cpp -------------------------------------------------------------------------------- /test/test_order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmsadair/RapidTrader/HEAD/test/test_order.cpp --------------------------------------------------------------------------------