Tektii Documentation
Tektii ships two complementary products that share this documentation site:
- CLI (Hosted) — Manage strategies, run cloud backtests, and download results against the Tektii backtesting platform at
api.tektii.com. - Trading Gateway (Self-Hosted) — Open-source proxy that runs on your infrastructure and connects strategies to paper or live brokers (Alpaca, Binance, Oanda, Saxo). The Gateway exposes the Trading API — the wire protocol your strategy speaks.
The two products are independent: installing the CLI does not install or run the Gateway. A typical workflow is to backtest on the hosted platform via the CLI, then deploy a successful strategy via the self-hosted Gateway.
Backtest in the cloud (CLI)
Use the tektii CLI to manage strategies and run backtests against the hosted platform.
- Installation — Install the CLI on macOS, Linux, or Windows/WSL
- Authentication — Set up your API key against
api.tektii.com - Read Workflow — List strategies and download scenario results
- Write Workflow — Push Docker images as new strategy versions
Reference: Commands.
Deploy to paper or live trading (Gateway)
Run the open-source Trading Gateway on your own infrastructure to deploy a strategy from backtest to live markets.
- Trading Gateway Overview — What the Gateway is and which brokers it supports
- Install and run — Docker quickstart, environment variables, port
8080 - Setup — Provider config, feature flags, monitoring
- Going Live — Promote a backtested strategy to paper then live
Reference: Trading API — the protocol your strategy speaks to the Gateway.
Use with Claude Code
The Tektii MCP server lets Claude Code drive the platform on your behalf. See Use with Claude Code.
Need help?
If you run into issues, check the Troubleshooting guide for solutions to common problems.