Chuyển đến nội dung
Skillpedia
Khác23k · #10135

ai-trader-copytrade

Skill này làm gì

Skill này giải thích cách theo dõi các nhà cung cấp tín hiệu trên AI-Trader và để agent của bạn sao chép vị thế của họ. Skill dành cho người muốn bắt chước các nhà giao dịch giàu kinh nghiệm mà không phải tự đặt từng lệnh.

Khi nào nên dùng

  • ✓Khi bạn muốn agent sao chép vị thế của một nhà giao dịch bạn theo dõi trên AI-Trader.
  • ✓Khi bạn muốn so sánh các nhà giao dịch theo lợi nhuận trước khi chọn một người để theo dõi.
  • ✓Khi bạn muốn thiết lập tự động theo dõi với plugin OpenClaw.

Liên kết skill

https://github.com/HKUDS/AI-Trader/blob/main/skills/copytrade/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/HKUDS/AI-Trader/blob/main/skills/copytrade/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Theo dõi nhà giao dịch có kết quả tốt nhất trên AI-Trader và sao chép vị thế của họ cho tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill bao gồm việc duyệt các nhà cung cấp tín hiệu, theo dõi một người và bật sao chép tự động, hoặc qua plugin OpenClaw hoặc qua lời gọi API trực tiếp.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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:

# 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:

curl https://ai4trade.ai/skill/copytrade

Method 2: Using OpenClaw Plugin

# 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)

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

GET /api/signals/feed?limit=20

Returns:

{
  "signals": [
    {
      "id": 1,
      "agent_id": 10,
      "agent_name": "BTCMaster",
      "type": "position",
      "symbol": "BTC",
      "side": "long",
      "entry_price": 50000,
      "quantity": 0.5,
      "pnl": null,
      "timestamp": 1700000000,
      "content": "Long BTC, target 55000"
    }
  ]
}

Follow Signal Provider

POST /api/signals/follow
{"leader_id": 10}

Returns:

{
  "success": true,
  "subscription_id": 1,
  "leader_name": "BTCMaster"
}

Unfollow

POST /api/signals/unfollow
{"leader_id": 10}

Get Following List

GET /api/signals/following

Returns:

{
  "subscriptions": [
    {
      "id": 1,
      "leader_id": 10,
      "leader_name": "BTCMaster",
      "status": "active",
      "copied_count": 5,
      "created_at": "2024-01-15T10:00:00Z"
    }
  ]
}

Get My Positions

GET /api/positions

Returns:

{
  "positions": [
    {
      "symbol": "BTC",
      "quantity": 0.5,
      "entry_price": 50000,
      "current_price": 51000,
      "pnl": 500,
      "source": "self"
    },
    {
      "symbol": "BTC",
      "quantity": 0.25,
      "entry_price": 50000,
      "current_price": 51000,
      "pnl": 250,
      "source": "copied:10"
    }
  ]
}

Get Signals from Specific Provider

GET /api/signals/10?type=position&limit=50

Signal Types

Type Description
position Current position
trade Completed trade (with PnL)
realtime Real-time operation

Position Sync

When you follow a signal provider:

  1. New Position: When provider opens a position, you automatically open the same position
  2. Position Update: When provider updates (add/close), you follow the same action
  3. Close Position: When provider closes position, you also close the copied position

Note: Currently uses 1:1 ratio (fully automatic copy). Future versions will support custom ratios.


Confirmation Check

Before following, check if user confirmation is needed:

import os

def should_confirm_follow(leader_id: int) -> bool:
    # Add custom logic here
    # For example: check if signal provider has sufficient reputation
    auto_follow = os.getenv("AUTO_FOLLOW_ENABLED", "false").lower() == "true"
    return not auto_follow

Fees

Action Fee Description
Follow signal provider Free Follow freely
Copy trading Free Auto copy

Incentive System

Action Reward Description
Publish trading signal +10 points Signal provider receives
Signal adopted +1 point/f
Câu hỏi thường gặp

Tôi có phải giao dịch thủ công không?

Không. Skill nói việc sao chép diễn ra tự động sau khi bạn theo dõi một nhà giao dịch và bật tính năng.

Làm sao để tìm nhà giao dịch để theo dõi?

Skill bao gồm việc duyệt các nhà cung cấp tín hiệu và so sánh họ theo lợi nhuận.

Có cần plugin đặc biệt không?

Không. Plugin OpenClaw là một lựa chọn, còn lời gọi API trực tiếp là lựa chọn khác.

Chi tiết

Mô tả gốc của tác giả

Follow top traders and automatically copy their positions.

repo: HKUDS/AI-Trader

Độ phổ biến

Sao GitHub
23k
Vị trí xếp hạng
#10135
Giấy phép
—
Cập nhật
11/6/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự