https://github.com/roq-trading/roq-cpp-json-publisher-template
C++ JSON publisher template project.
https://github.com/roq-trading/roq-cpp-json-publisher-template
cpp26 json publisher rest template
Last synced: about 2 months ago
JSON representation
C++ JSON publisher template project.
- Host: GitHub
- URL: https://github.com/roq-trading/roq-cpp-json-publisher-template
- Owner: roq-trading
- License: mit
- Created: 2025-03-08T04:54:27.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2026-04-15T01:41:15.000Z (2 months ago)
- Last Synced: 2026-04-15T03:23:15.439Z (2 months ago)
- Topics: cpp26, json, publisher, rest, template
- Language: C++
- Homepage: https://roq-trading.com/
- Size: 59.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
A template project to help you get started with building a JSON publisher using Roq's C++ API.
The project includes
* Bare-minimum implementation of a JSON publisher
* Test target
* Using Catch2
* Benchmark target
* Using Google benchmark
* Conda build recipe
## Prerequisites
> Use `stable` for (the approx. monthly) release build.
> Use `unstable` for the more regularly updated development builds.
### Initialize sub-modules
```bash
git submodule update --init --recursive
```
### Create development environment
```bash
scripts/create_conda_env unstable debug
```
### Activate environment
```bash
source opt/conda/bin/activate dev
```
## Build the project
> Sometimes you may have to delete CMakeCache.txt if CMake has already cached an incorrect configuration.
```bash
cmake . && make -j4
```
## License
The project is released under the terms of the MIT license.