Event-driven trading engine in Kotlin — write strategies in a SQL-like DSL, backtest deterministically, then run the same code live (MT5).
https://docs.tryqkt.com ↗// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 99/100 with only 8 stars
- Accepts sponsorship (github)
// how to help
// readme
What it is
qkt is an event-driven trading engine in Kotlin. A strategy is a single .qkt file of symbols, indicators and
WHEN ... THEN ... rules. The same file, through the same pipeline, runs in backtest, on a paper broker and
live. Time, ids and randomness are injected, so identical inputs give identical trades.
.qkt file ──▶ qkt ──▶ mt5-gateway ──────▶ MT5 brokers
├──▶ qkt-venue-gateway ─▶ futures, options
├──▶ qkt-guardrails (risk halts)
└──▶ qkt-insights (dashboard)
It trades CFDs, futures, perpetuals and options. Backtest and live differences are listed, not hidden, in the parity register.
Quick start
Ten minutes from download to your first report, with no account. qkt fetches a month of real Bitcoin prices to practise on.
1. Install
Download the Linux build from the latest release. It bundles Java, so you need nothing else. Windows, Docker and source are in the install guide.