Tektii just went live. We're shipping fixes daily — spot a bug? Let us know

Getting Started with Tektii

Write your strategy once against the Trading API — backtest it on the Tektii platform, then run the same code live through the self-hosted Trading Gateway.

Build a strategy

Write your strategy in Python with the SDK (more languages coming). The SDK speaks the Trading API for you — the one contract your strategy needs to know, whether it's backtesting or trading live.

  1. Write a Strategy — Build a strategy in Python with the SDK — event loop, orders, and sizing
  2. Trading API — The protocol underneath the SDK, if you want to go deeper or bring your own language

Backtest it

Run your strategy against historical data on the hosted platform at api.tektii.com. The tektii CLI drives the platform from your terminal — or let Claude Code drive it for you via the MCP server. Create an account at app.tektii.com, then:

  1. Installation — Install the CLI on macOS, Linux, or Windows
  2. Authentication — Set up your API key against api.tektii.com
  3. Your First Backtest — Paste a complete strategy and go from zero to results
  4. Write Workflow — Package your strategy as a Docker image and upload it as a new version
  5. Read Workflow — List strategies and download scenario results

Reference: Commands.

Go live

Run the self-hosted Trading Gateway on your own infrastructure to point the same strategy at paper or live brokers (Alpaca, Binance, Oanda, Saxo). The Gateway exposes the same Trading API your strategy already speaks — nothing to rewrite between backtest and production.

  1. Trading Gateway Overview — What the Gateway is and which brokers it supports
  2. Install and run — Docker quickstart, environment variables, port 8080
  3. Setup — Provider config, feature flags, monitoring
  4. Going Live — Promote a strategy to paper then live

Need help?

If you run into issues, check the Troubleshooting guide for solutions to common problems.