Skip to content

Tutorials

Learning-oriented walkthroughs that teach qkt by building. Each tutorial holds your hand from the first command to a working result — explaining why at every step, not just how.

Read these in order if you're new. Skip to specific recipes if you already know the basics.

How tutorials differ from recipes

  • Recipes are task-focused. "I need to add a stop-loss." They solve one problem.
  • Tutorials are model-focused. "Teach me how qkt works." They build understanding.

If you're not sure which to read, start with Tutorial 1 — it covers everything a recipe would assume you already know.

The three tutorials

  • Tutorial 1 — Your first strategy


    From zero: install qkt, write a tiny strategy, backtest it, read the result. About 20 minutes.

    Start tutorial 1

  • Tutorial 2 — Backtest to live


    Take the strategy from Tutorial 1 through paper-trading to an MT5 demo broker. About 30 minutes.

    Start tutorial 2

  • Tutorial 3 — Composing strategies


    Build a portfolio of two strategies that switch based on market regime. About 40 minutes.

    Start tutorial 3

What you'll need

Same prerequisites for all three:

  • A computer with JDK 21 (Temurin recommended) and Git installed
  • ~1 GB of disk for the codebase + data
  • Tutorial 2 also needs Docker + a free Exness demo account for the live segment

No paid accounts, no cloud services, no credit cards.