jev-quant is a C++ trading system leveraging Jev, a TypeSafe model good at making instant decisions, a trait that makes it especially good at live trading.
Now supporting simulated SHFE futures trading through SimNow and the official CTP SDK. See the SimNow operations guide.
- C++20 compatible compiler (GCC 11+, Clang 13+, or MSVC 19.29+; CI uses GCC 13 on Ubuntu 24.04)
- CMake 3.24 or newer
- Ninja 1.11 or newer
Install the build dependencies (Debian/Ubuntu):
sudo apt-get update
sudo apt-get install -y cmake g++ ninja-build libcurl4-openssl-dev nlohmann-json3-devConfigure and build:
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DJEV_ENABLE_SIMEX=OFF
cmake --build build --parallel
ctest --test-dir build --output-on-failureCopy .env.example to .env and set your OpenRouter API key:
cp .env.example .envFrom the repository root, run:
./build/jev_tradingThe process runs in the foreground and shuts down on Ctrl+C.
The optional simex adapter connects to a separate localhost venue process and uses the real OpenRouter Jev provider. It is enabled by default and expects the compatible simex checkout at ../simex; use -DJEV_ENABLE_SIMEX=OFF for a Binance-only build. See the simex integration guide for building both processes, configuration, live validation, and current limits.
src/
tests/
I am very, very early in this project. Expect bugs.
MIT