Open-source AI trading signal platform. Self-hosted. Free forever.
π Live Demo Β· β‘ Get Started Β· π‘ API Β· π Docs Β· π€ Contribute
RSI Β· MACD Β· EMA Β· Bollinger Β· Stochastic β 5-indicator confluence. Live signals for BTC, ETH, Gold, Forex. Deploy in 60 seconds, no subscription required.
npx @naimkatiman/tradeclaw-demoOpens a full live demo at http://localhost:3001 β signals, leaderboard, backtest, all running locally.
π Interactive Setup Guide β
docker run -p 3000:3000 tradeclaw/tradeclawOpen http://localhost:3000 β done.
Supabase Setup Guide β upgrade from JSON to Postgres with one command.
Or with Docker Compose (adds persistent data):
git clone https://github.com/naimkatiman/tradeclaw
cd tradeclaw && cp .env.example .env
docker compose up -d| TradeClaw | TradingView | 3Commas | |
|---|---|---|---|
| Self-hosted | β | β | β |
| Open source | β | β | β |
| Free forever | β | β ($15/mo+) | β ($29/mo+) |
| REST API | β | β paid | β |
| Telegram bot | β built-in | β | β paid |
| Custom plugins | β JS | Pine Script | β |
| MCP / AI native | β | β | β |
Features: Dashboard Β· Backtest Β· Screener Β· Paper trading Β· Telegram bot Β· Webhooks Β· Discord bot Β· Signal replay Β· Multi-timeframe Β· AI explanations Β· CLI Β· MCP server Β· Plugin system Β· PWA Β· RSS feeds Β· 190+ pages
Five named entry strategies, swappable via SIGNAL_ENGINE_PRESET env var. Every signal is tagged with strategyId so you can audit which logic fired it.
| Preset | Logic |
|---|---|
classic |
Baseline RSI + MACD + EMA scoring β no regime filter, no risk breakers |
regime-aware |
Classic signals filtered by HMM regime, rejects counter-trend trades |
hmm-top3 |
Regime-aware signals ranked by confidence, top 3 only β current production |
vwap-ema-bb |
Mean-reversion at BB extremes with VWAP + EMA trend confirmation |
full-risk |
HMM top-3 with risk-weighted allocation and full circuit-breaker pipeline |
Compare them side-by-side β multi-select any presets in the backtest UI to see metrics tables and equity-curve overlay charts. Sharpe, drawdown, win-rate, and overlapping-trade handling are all computed correctly (#57, #58).
import { runBacktest } from '@tradeclaw/strategies';
const result = await runBacktest({
preset: 'hmm-top3',
candles,
allocation: { perTrade: 0.02 },
risk: { maxConcurrent: 3 },
});Rate-limited public API tier β no auth, no key, just fetch:
curl https://tradeclaw.win/api/feed/public
curl https://tradeclaw.win/api/signal-of-the-dayEmbed live BTC/ETH/Gold signals in any README β auto-refresh every 5 min, no API key:
[](https://tradeclaw.win)
[](https://tradeclaw.win)All packages are published to GitHub Packages.
Setup β add to your project's .npmrc:
@naimkatiman:registry=https://npm.pkg.github.com
Then install:
npm install @naimkatiman/tradeclaw # CLI
npm install @naimkatiman/tradeclaw-js # JS/TS SDK
npm install @naimkatiman/tradeclaw-agent # Self-hosted agent
npm install @naimkatiman/tradeclaw-mcp # MCP server for AI assistants
npm install @naimkatiman/tradeclaw-discord # Discord bot
npm install @naimkatiman/tradeclaw-demo # Local demo
npx @naimkatiman/create-tradeclaw # Scaffold a new instancenpx @naimkatiman/tradeclaw signals --pair BTCUSD --limit 5
npx @naimkatiman/tradeclaw leaderboard --period 30d
npx @naimkatiman/tradeclaw health{
"mcpServers": {
"tradeclaw": {
"command": "npx",
"args": ["@naimkatiman/tradeclaw-mcp"]
}
}
}- uses: naimkatiman/tradeclaw/packages/tradeclaw-action@main
with: { pair: BTCUSD, min_confidence: 70 }Action docs β Β· Marketplace β
Check good first issues and contribution guide.
Thanks to everyone who helps make TradeClaw better. If youβre looking to contribute, start with CONTRIBUTING.md.
β Star this repo to help others discover TradeClaw
