Xpersona
A

Agent Trading Bot

CLAWHUB · Unverified

AI-powered trading bot framework for OpenClaw. Connects to crypto exchanges (Binance, Hyperliquid, Bluefin) and prediction markets (Polymarket, Kalshi) via A... Skill: Agent Trading Bot Owner: stevojarvisai-star Summary: AI-powered trading bot framework for OpenClaw. Connects to crypto exchanges (Binance, Hyperliquid, Bluefin) and prediction markets (Polymarket, Kalshi) via A... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-05T09:39:11.202Z | user Initial release — AI-powered trading bot framework for crypto exchanges and prediction markets Archive index: Archive v1.0

62
Rank
84
Safety
975
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 975 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s173pxzh64yzvzx98c87q8qcxn83v8gw:agent-trading-bot
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-stevojarvisai-star-agent-trading-bot/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

11,263 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: agent-trading-bot
description: AI-powered trading bot framework for OpenClaw. Connects to crypto exchanges (Binance, Hyperliquid, Bluefin) and prediction markets (Polymarket, Kalshi) via API. Provides strategy templating, risk management (position sizing, stop-losses, max drawdown), paper trading mode, and live execution with kill-switch. Use when asked to "set up trading bot", "trade crypto", "connect to Binance", "prediction market bot", "automated trading", "trading strategy", "position sizing", "risk management for trading", "paper trading", "backtest strategy", "DCA bot", "grid trading", "funding rate arbitrage", or when building autonomous trading agents on OpenClaw.
---

# Agent Trading Bot

AI-powered trading framework for OpenClaw. Connect to exchanges, manage risk, execute strategies.

## Quick Start

```bash
# Check exchange connectivity (no trades)
python3 scripts/agent-trading-bot.py status

# Paper trade (simulated) with a strategy
python3 scripts/agent-trading-bot.py paper --strategy dca --pair BTC/USDT

# Live trade (requires API keys configured)
python3 scripts/agent-trading-bot.py trade --strategy dca --pair BTC/USDT --amount 100

# Risk dashboard — current positions, exposure, P&L
python3 scripts/agent-trading-bot.py risk

# Kill switch — close all positions immediately
python3 scripts/agent-trading-bot.py kill
```

## ⚠️ Safety First

**This skill includes multiple safety layers:**
1. Paper trading mode by default — no real money until explicitly enabled
2. Maximum position size limits (configurable)
3. Stop-loss on every position (default: 5%)
4. Maximum drawdown circuit breaker (default: 10% of portfolio)
5. Kill switch to close all positions instantly
6. API keys never stored in skill files — environment variables only

**The agent never trades without explicit user approval for live mode.**

## Commands

### `status` — Exchange Connectivity Check
Tests API connections without trading:
- Verifies API key validity
- Checks account balances
- Reports exchange status (maintenance, rate limits)
- Shows available trading pairs

### `paper` — Paper Trading (Simulated)
Runs strategy with fake money to test before going live:
- Simulates order execution at market prices
- Tracks P&L, win rate, Sharpe ratio
- Logs every trade decision with reasoning
- Options: `--strategy`, `--pair`, `--duration`, `--capital`

### `trade` — Live Trading
Executes strategy with real funds:
- Requires explicit `--live` flag (double confirmation)
- All safety limits enforced
- Every trade logged with timestamp, reasoning, and fills
- Options: `--strategy`, `--pair`, `--amount`, `--live`

### `risk` — Risk Dashboard
Real-time risk overview:
- Open positions with unrealized P&L
- Portfolio exposure by asset
- Current drawdown vs maximum allowed
- Margin utilization (for futures)
- Daily/weekly/monthly P&L

### `kill` — Emergency Kill Switch
Immediately closes all open positions:
- Market sells all spot positions
- Closes all futures positions
- 

_meta.json

{
  "ownerId": "kn73twx1jk9r68jj31vxfhtdgn82c3t9",
  "slug": "agent-trading-bot",
  "version": "1.0.0",
  "publishedAt": 1775381951202
}

references/strategies.md

# Built-in Trading Strategies

## DCA (Dollar-Cost Averaging)
**Risk Level:** Low
**Description:** Buy a fixed dollar amount at regular intervals regardless of price. Reduces impact of volatility.

### Parameters
- `amount`: USD amount per buy (default: $100)
- `interval_hours`: Time between buys (default: 24)
- `pair`: Trading pair (default: BTC/USDT)

### When to Use
- Long-term accumulation (weeks to months)
- High-conviction assets (BTC, ETH)
- When you can't/don't want to time the market

### Risk Profile
- Max drawdown: Market-dependent (no stop-loss — accumulation strategy)
- Best for: Bear markets, range-bound markets
- Worst for: Sharp crashes (still buys on the way down)

---

## Momentum (Trend Following)
**Risk Level:** Medium
**Description:** Uses SMA crossover + RSI to identify trends. Buys when short-term momentum exceeds long-term, sells when overbought or trend reverses.

### Indicators
- SMA(20) vs SMA(50) crossover
- RSI(14) overbought/oversold filter

### Signals
- **BUY:** SMA20 > SMA50 AND RSI < 70
- **SELL:** SMA20 < SMA50 OR RSI > 80
- **HOLD:** No clear signal

### When to Use
- Trending markets (strong up or down moves)
- Medium timeframes (4h to daily candles)
- Assets with clear trend patterns

### Risk Profile
- Stop-loss: 5% below entry (configurable)
- Win rate: Typically 40-50% (profits come from big winners)
- Best for: Trending markets
- Worst for: Choppy/sideways markets (many false signals)

---

## Mean Reversion (RSI-Based)
**Risk Level:** High
**Description:** Buys when RSI indicates oversold, sells when overbought. Assumes prices revert to mean.

### Indicators
- RSI(14)

### Signals
- **BUY:** RSI < 30 (oversold)
- **SELL:** RSI > 70 (overbought)
- **HOLD:** RSI between 30-70

### When to Use
- Range-bound markets
- High-liquidity pairs
- Short timeframes (1h to 4h)

### Risk Profile
- Stop-loss: 3% below entry (tight)
- Win rate: 55-65% (small, frequent profits)
- Best for: Sideways/range-bound markets
- Worst for: Strong trends (catches falling knives)

---

## Grid Trading
**Risk Level:** Medium
**Description:** Places buy and sell orders at regular price intervals within a range. Profits from price oscillation.

### Parameters
- `lower_price`: Bottom of grid range
- `upper_price`: Top of grid range
- `grid_count`: Number of grid levels (default: 10)
- `amount_per_grid`: USD per grid order

### When to Use
- Sideways markets with clear support/resistance
- High-volume pairs with tight spreads
- When you expect oscillation within a range

### Risk Profile
- Max loss: Price breaks below grid (all buys filled, no sells)
- Best for: Ranging markets
- Worst for: Breakout moves

---

## Funding Rate Arbitrage
**Risk Level:** Medium
**Description:** Exploits funding rate differences between perpetual futures and spot. When funding is negative, long perp + short spot. When positive, short perp + long spot.

### When to Use
- When funding rates are significantly positive or negative (>0.05%)
- Pairs with good fu

skill-card.md

## Description:

AI-powered trading bot framework for OpenClaw that connects to crypto exchanges and prediction markets, provides strategy templates and risk management configuration, and supports paper-trading workflows.

This skill is ready for commercial/non-commercial use.

## Publisher:

[stevojarvisai-star](https://clawhub.ai/user/stevojarvisai-star)

### License/Terms of Use:

MIT-0

## Use Case:

External developers and agent builders use this skill to configure trading-bot workflows, run paper trades, inspect risk status, and evaluate built-in strategies for OpenClaw. Treat live-trading behavior as requiring independent review before use with real funds.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The security review says the skill overstates live-trading safety features and kill-switch behavior.

Mitigation: Use it as a paper-trading or educational helper only until live behavior, stop-loss protection, drawdown protection, backtesting, multi-exchange automation, and emergency position closure are corrected and independently verified.

Risk: Live trading or trading-capable credentials could expose real funds to incorrect automation or incomplete safeguards.

Mitigation: Do not provide trading-capable API keys for live use; when testing connectivity, use least-privilege keys, disable withdrawals, and prefer sandbox or paper-trading accounts.

Risk: Strategy outputs and risk dashboards can produce incorrect or misleading financial guidance.

Mitigation: Require human review of strategy decisions and risk output before any financial action, and do not rely on the skill as financial advice.

## Reference(s):

- [Built-in Trading Strategies](artifact/references/strategies.md)
- [ClawHub Skill Page](https://clawhub.ai/stevojarvisai-star/skills/agent-trading-bot)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with shell commands, JSON configuration examples, and command-line text output]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May reference exchange API keys, local OpenClaw configuration files, paper-trading state, and trading logs.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Agent Trading Bot and adjacent AI workflows.