https://github.com/gowthaman-01/matchium
order matching engine
https://github.com/gowthaman-01/matchium
cpp http socket-programming tcp
Last synced: 7 months ago
JSON representation
order matching engine
- Host: GitHub
- URL: https://github.com/gowthaman-01/matchium
- Owner: gowthaman-01
- Created: 2025-04-16T15:57:43.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-05-06T14:28:00.000Z (11 months ago)
- Last Synced: 2025-07-01T23:07:00.353Z (9 months ago)
- Topics: cpp, http, socket-programming, tcp
- Language: C++
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Matchium (in-progress)
Low-latency matching engine built in modern C++20, featuring a custom HTTP server and modular architecture.
## Project Status
- HTTP layer complete (custom server, parser, router).
- Matching engine with lock-free queues under active development.
## Build & Run
### 1. Install CMake
```bash
# macOS
brew install cmake
# Ubuntu/Debian
sudo apt install cmake
```
### 2. Build the Project
```bash
./scripts/build.sh
```
This creates a `build/` directory and compiles the project with CMake.
### 3. Run the Server
```bash
./scripts/run_server.sh
```
Default port: `4221`
## Test in Browser
Visit:
```bash
http://localhost:4221/snapshot
```
You should see a response:
`Top 5 bids/asks (mock)` — confirming the HTTP layer is working end-to-end.