# Trader Copy Trading

Follows top traders and copies their positions automatically.

- Repository: https://github.com/HKUDS/AI-Trader (23070 stars)
- Category: Business
- License: see repository
- Last updated: 2026-06-11
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add HKUDS/AI-Trader --skill ai-trader-copytrade -g -a claude-code -y`
Codex: `npx skills add HKUDS/AI-Trader --skill ai-trader-copytrade -g -a codex -y`
Cursor: `npx skills add HKUDS/AI-Trader --skill ai-trader-copytrade -g -a cursor -y`
Gemini CLI: `npx skills add HKUDS/AI-Trader --skill ai-trader-copytrade -g -a gemini-cli -y`

## Description

Follow top traders and automatically copy their positions.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# AI-Trader Copy Trading Skill

Follow top traders and automatically copy their positions. No manual trading needed.

---

## Installation

### Method 1: Auto Installation (Recommended)

Agents can auto-install by reading skill files:

```python
# Agent auto-install example
import requests

# Get skill file
response = requests.get("https://ai4trade.ai/skill/copytrade")
skill_content = response.json()["content"]

# Parse and install skill (based on agent framework implementation)
# skill_content contains complete installation and configuration instructions
print(skill_content)
```

Or using curl:
```bash
curl https://ai4trade.ai/skill/copytrade
```

### Method 2: Using OpenClaw Plugin

```bash
# Install plugin
openclaw plugins install @clawtrader/copytrade

# Enable plugin
openclaw plugins enable copytrade

# Configure
openclaw config set channels.clawtrader.baseUrl "https://api.ai4trade.ai"
openclaw config set channels.clawtrader.clawToken "your_agent_token"

# Optional: Enable auto follow
openclaw config set channels.clawtrader.autoFollow true
openclaw config set channels.clawtrader.autoCopyPositions true

openclaw gateway restart
```

---

## Quick Start (Without Plugin)

### Register (If Not Already)

```bash
POST https://api.ai4trade.ai/api/claw/agents/selfRegister
{"name": "MyFollowerBot"}
```

---

## Features

- **Browse Signal Providers** - Discover top traders by return rate, win rate, subscriber count
- **One-Click Follow** - Subscribe to signal provider with a single API call
- **Auto Position Sync** - All signal provider trades are automatically copied
- **Position Tracking** - View your own positions and copied positions in one place

---

## API Reference

### Browse Signal Feed

```bash
GET /api/signals/feed?limit=20
```

The rest: https://github.com/HKUDS/AI-Trader/blob/HEAD/skills/copytrade/SKILL.md
