Product

  • Dashboard
  • Signals
  • Backtest
  • Pricing
  • Live demo

Resources

  • Blog
  • Docs
  • API reference
  • How it works
  • Glossary

Community

  • Discord
  • Weekly digest
  • Contribute
  • Contributors
  • Sponsors

Open source

  • GitHub repo
  • Star history
  • Self-host guide
  • Security
  • Data freshness
  • Roadmap

© 2026 TradeClaw. MIT licensed.

Terms|Privacy|Trading involves risk. Signals are informational only and are not financial advice.
DashboardSignalsCopilotTrack Record
Copy & Run

5-Minute Trading Bot

Pick a language, paste the code, set two env vars, and you have a live Telegram trading alert bot powered by TradeClaw's public API.

Python

Python Signal Poller

Poll TradeClaw every 5 minutes and send BUY/SELL alerts to Telegram with emoji badges.

Python 3.8+pip install requests
import requests
import time
import os

API_URL = "https://tradeclaw.win/api/signals"
TG_TOKEN = os.environ["TG_BOT_TOKEN"]
TG_CHAT  = os.environ["TG_CHAT_ID"]

seen = set()

def send_telegram(text: str):
    url = f"https://api.telegram.org/bot{TG_TOKEN}/sendMessage"
...
Node.js

Node.js Signal Poller

Zero-dependency Node 18+ bot using built-in fetch. Polls signals and sends Telegram alerts.

Node.js 18+No external packages needed
const API_URL = "https://tradeclaw.win/api/signals";
const TG_TOKEN = process.env.TG_BOT_TOKEN;
const TG_CHAT  = process.env.TG_CHAT_ID;

const seen = new Set();

async function sendTelegram(text) {
  await fetch(`https://api.telegram.org/bot${TG_TOKEN}/sendMessage`, {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({ chat_id: TG_CHAT, text, parse_mode: "HTML" }),
  });
...
Bash

Bash Signal Watcher

Lightweight shell script using curl and jq. Tracks seen IDs in a temp file to avoid duplicates.

curljqbash 4+
#!/usr/bin/env bash
set -euo pipefail

API_URL="https://tradeclaw.win/api/signals"
TG_TOKEN="${TG_BOT_TOKEN:?Set TG_BOT_TOKEN}"
TG_CHAT="${TG_CHAT_ID:?Set TG_CHAT_ID}"
SEEN_FILE="/tmp/tradeclaw_seen_ids.txt"

touch "$SEEN_FILE"

send_tg() {
  curl -s -X POST "https://api.telegram.org/bot$TG_TOKEN/sendMessage" \
...
cURL

cURL One-Liners

Five quick one-liners for testing the API from your terminal. No script needed.

curljq (optional, for formatting)
# 1. Fetch latest signals
curl -s https://tradeclaw.win/api/signals | jq .

# 2. Get direction of the top signal
curl -s https://tradeclaw.win/api/signals | jq '.data[0].direction'

# 3. Send a signal to Telegram
curl -s -X POST "https://api.telegram.org/bot$TG_BOT_TOKEN/sendMessage" \
  -H "Content-Type: application/json" \
  -d '{"chat_id":"'$TG_CHAT_ID'","text":"New signal from TradeClaw!"}'

# 4. Check the leaderboard
...
Go

Go Signal Poller

Zero-dependency Go bot using net/http. Polls every 5 minutes, sends Telegram alerts.

Go 1.21+No external modules needed
package main

import (
	"encoding/json"
	"fmt"
	"net/http"
	"os"
	"strings"
	"time"
)

var (
...

Ready to build?

Star the repo, explore the API, or set up webhooks for live alerts.

Star on GitHubAPI DocsWebhook Docs