kdb+ is a time-series database, and Reamer Research is a Python and C++ backtesting engine, free to download and $20 a month to license. kdb+ stores market data and computes on it, and a backtest is something you write on top. Reamer Research supplies the fill rules, costs and accounting, and leaves data storage to you.
Details below were checked against KX's own pages in November 2026.
What kdb+ and KDB-X are
- A database and a language. kdb+ is a column-based time-series database, queried with q, and it has long been used for tick data in capital markets. KDB-X is its next generation from KX, and it adds Python and SQL routes alongside q.
- Python access. KDB-X Python, formerly PyKX, works with q data from Python.
- Streaming and history together. The same system can hold historical data and process real-time data.
- Licensing. The KDB-X Community Edition is free for personal and commercial use. Its listed limits include 16 GB of memory for q, a single instance, 4 secondary threads per process and 24 CPU cores. Larger use is paid, and KX prices it by memory.
- Backtesting. Backtests are built from queries. KX's October 2026 tutorial works on whole columns, with no loops. It leaves out commission, spread and slippage, and tells the reader to add transaction costs, position sizing and stops. We did not find a published KX fill model for bar strategies.
How Reamer Research differs
- The hard parts of the backtest come built. Reamer Research has bid and ask, spread, slippage, commission, overnight swap, margin, gaps, order lifetimes and brackets in place. A public execution specification states how each one works. See What is a quant research engine, and how is it different from a backtesting script?
- Bar by bar, not column by column. Your strategy runs on each bar and can react to its open position, pending orders and account. This suits rules that are hard to write as a query.
- A backtesting engine. You load bars from any source and pass them in as arrays, or use memory-mapped
.binfiles for data larger than RAM. Storage and queries stay in whatever store you already use. - Your own language. Strategies are written in Python or C++, or any language that can call C. You do not need to learn q.
- Byte-identical runs. With a fixed seed, output matches to the byte, including randomised spread and slippage.
- Built for bars. It handles time, tick, volume, dollar or custom bars, and it runs on Linux x86-64, on macOS on Apple Silicon and on Windows through WSL2.
Using both
If your firm already runs kdb+, you do not have to choose. Query bars from kdb+ in Python, convert the columns to arrays, and pass them to Reamer Research. kdb+ stays the data store, and the fill rules and accounting stop being code your team has to maintain. You write that loader yourself.
Which to choose
- kdb+ or KDB-X if you store and query large tick data sets, work on order book signals, or need real-time analytics.
- Reamer Research if you trade strategies on bars, held from minutes to days, and want modelled fills and costs without writing and defending your own simulator.
- Both if kdb+ is already your data layer and you want the simulator to be someone else's maintained code.
Price
Reamer Research costs $20 per seat per month, cancel any time. See pricing.
Reamer Research is also a free download, with no key or sign-up. Without a licence it runs in Evaluation Mode: one ticker per backtest, up to 30 days or 50,000 bars, and no live trading. A licence removes those limits, and the same code runs unchanged. Example strategies, strategy templates and data-loading scripts for CSV, .bin, Parquet, pandas, Alpaca and Databento are public under the MIT License at github.com/reamerlabs/reamer-research-examples.