Tektii Documentation

This documentation covers the tools you need to interact with the Tektii platform programmatically:

  • Tektii CLI - Command-line interface for managing strategies, versions, and scenarios
  • Trading API - WebSocket and REST interface for building trading strategies
  • Trading Gateway - Open-source proxy for deploying strategies to paper and live trading

Tektii CLI

The tektii CLI lets you manage your trading strategies and backtest results from the command line. Use it to:

  • List and inspect strategies
  • Push Docker images as new strategy versions
  • Download scenario results for analysis
  • Manage API keys and configuration

Get Started with the CLI

  1. Installation - Install the CLI on macOS, Linux, or Windows/WSL
  2. Authentication - Set up your API key
  3. Read Workflow - List strategies and download results
  4. Write Workflow - Push Docker images as versions

CLI Reference

See the Commands Reference for a complete list of available commands.

Trading API

The Trading API is a unified interface for building trading strategies. Your strategy connects via WebSocket to receive market events and uses REST endpoints to place orders. The same code works in both backtest and live modes.

Get Started with the Trading API

  1. Concepts - Understand the unified interface and execution modes
  2. Connection Guide - Connect your strategy to the platform
  3. Hello World - Build your first strategy

API Reference

Trading Gateway

The Trading Gateway is an open-source trading proxy that lets you deploy your backtested strategies to paper and live trading. It implements the same Trading API protocol as the Tektii Engine, so your strategy code works without changes.

Get Started with the Trading Gateway

  1. Trading Gateway Overview - Install and configure the Gateway
  2. Setup - Feature-gated builds, verification, and monitoring
  3. Going Live - Deploy your strategy from backtest to live trading

Need Help?

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