# Send Clap Trader to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clap-trader",
    "name": "Clap Trader",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/dymx101/clap-trader",
    "canonicalUrl": "https://clawhub.ai/dymx101/clap-trader",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/clap-trader",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clap-trader",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/trade.py",
      "scripts/logger.py",
      "scripts/market_data.py",
      "scripts/sentiment_data.py",
      "logs/analysis_journal.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "clap-trader",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T11:36:02.045Z",
      "expiresAt": "2026-05-08T11:36:02.045Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clap-trader",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clap-trader",
        "contentDisposition": "attachment; filename=\"clap-trader-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "clap-trader"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/clap-trader"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clap-trader",
    "downloadUrl": "https://openagent3.xyz/downloads/clap-trader",
    "agentUrl": "https://openagent3.xyz/skills/clap-trader/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clap-trader/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clap-trader/agent.md"
  }
}
```
## Documentation

### Crypto Trader & Analyst Skill

This skill allows OpenClaw to analyze the crypto market using technical indicators and news sentiment, record its findings, and execute trades on Binance.

### Dependencies

Ensure the following Python packages are installed:

pip install ccxt pandas pandas-ta requests TextBlob

Note: TextBlob is suggested for basic sentiment analysis if needed, though simple keyword matching might suffice.

### Environment Variables

You must set the following environment variables for trading:

BINANCE_API_KEY: Your Binance API Key.
BINANCE_API_SECRET: Your Binance API Secret.

WARNING: Never share these keys or commit them to version control.

### 1. Market Analysis

Technical Analysis
Run the market data script to get current indicators for a symbol (default ETH/USDT).

python skills/crypto_trader/scripts/market_data.py --symbol ETH/USDT

Output: JSON containing RSI, MACD, close price, etc.

Sentiment Analysis
Run the sentiment script to fetch latest news headers and forum buzz.

python skills/crypto_trader/scripts/sentiment_data.py

Output: Text/JSON summary of positive/negative news.

### 2. Decision Making & Logging

Analyze & Record
Based on the outputs from step 1, form a hypothesis. Is the market Bullish, Bearish, or Neutral?
Before trading, you MUST save your analysis.

python skills/crypto_trader/scripts/logger.py "Your detailed analysis here. E.g., RSI is 30 (oversold) and news is positive. Planning to BUY."

### 3. Execution

Trade
If the analysis supports a trade, execute it.

# Buy 0.01 ETH at Market Price
python skills/crypto_trader/scripts/trade.py --symbol ETH/USDT --side buy --amount 0.01 --type market

# Dry Run (Test without real money)
python skills/crypto_trader/scripts/trade.py --symbol ETH/USDT --side buy --amount 0.01 --dry-run

The trade script will automatically append the transaction to skills/crypto_trader/logs/trade_history.csv.

### Files structure

scripts/market_data.py: Fetches OHLCV and calculates indicators.
scripts/sentiment_data.py: Fetches news/forum data.
scripts/logger.py: Appends analysis to logs/analysis_journal.md.
scripts/trade.py: Executes trades and logs to logs/trade_history.csv.
logs/: Directory storing your analysis history and trade logs.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: dymx101
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T11:36:02.045Z
- Expires at: 2026-05-08T11:36:02.045Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/clap-trader)
- [Send to Agent page](https://openagent3.xyz/skills/clap-trader/agent)
- [JSON manifest](https://openagent3.xyz/skills/clap-trader/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/clap-trader/agent.md)
- [Download page](https://openagent3.xyz/downloads/clap-trader)