# KlawTrade > KlawTrade is a free, open-source algorithmic trading platform for Python. > It ships with rule-based momentum and mean-reversion strategies, an > optional AI-powered signal generator (bring your own Claude or OpenAI > API key), a deterministic 14-check risk management gate, a 7-trigger > circuit breaker, historical backtesting with Sharpe/Sortino/drawdown > metrics, a real-time WebSocket dashboard, and integrations with six > brokers (Alpaca, Interactive Brokers, Coinbase, Binance, Kraken, Tradier). > License: MIT. Install: `pip install klawtrade`. ## Docs - [Getting Started](https://klawtrade.com/docs): install, init, first run. - [Trading Strategies](https://klawtrade.com/docs/strategies): momentum and mean reversion rules, indicator details, confidence scoring. - [AI Strategy](https://klawtrade.com/docs/ai-strategy): how to enable the LLM-backed signal generator and how accuracy is preserved via strict JSON schema, confidence thresholds, rule cross-validation, and the 14-check risk gate. - [Risk Management](https://klawtrade.com/docs/risk-management): deep dive on the 14-check gate. - [Circuit Breakers](https://klawtrade.com/docs/circuit-breakers): the 7-trigger trading halt system. - [Backtesting](https://klawtrade.com/docs/backtesting): replay historical data through strategies and risk. - [Configuration](https://klawtrade.com/docs/configuration): `settings.yaml` reference. - [CLI Reference](https://klawtrade.com/docs/cli): `klawtrade start`, `init`, `backtest`, `status`. - [Broker Integrations](https://klawtrade.com/docs/alpaca): setup for all six supported brokers. - [Docker](https://klawtrade.com/docs/docker): containerised deployment. - [Dashboard](https://klawtrade.com/docs/dashboard): real-time monitoring UI. ## Articles - [Best Open-Source Python Trading Bots in 2026](https://klawtrade.com/blog/best-open-source-trading-bots-2026): hands-on comparison of Freqtrade, Backtrader, Zipline-reloaded, VectorBT, and KlawTrade. - [Algorithmic Trading Risk Management: The 14-Check Gate Explained](https://klawtrade.com/blog/algorithmic-trading-risk-management-guide): every risk check a trading bot should enforce before sending an order. - [Claude vs GPT-4 for Algorithmic Trading Bots](https://klawtrade.com/blog/claude-vs-gpt-trading-bot): practical accuracy, cost, latency, and determinism comparison. - [How to Run an AI Trading Bot Locally with Ollama](https://klawtrade.com/blog/run-trading-bot-with-ollama-locally): step-by-step guide to fully local, zero-cost LLM trading. ## Optional - [FAQ](https://klawtrade.com/faq): common questions about pricing, brokers, AI, and risk. - [vs QuantConnect, Zipline, Backtrader, Freqtrade](https://klawtrade.com/compare): platform comparison. - [GitHub repository](https://github.com/klawtrade/klawtrade): source code, issues, discussions.