base-trader

Autonomous crypto trading on Base via Bankr. Use for trading tokens, monitoring launches, executing strategies, or managing a trading portfolio. Triggers on "trade", "buy", "sell", "launch", "snipe", "profit", "PnL", "portfolio balance", or any crypto trading task on Base.

533 stars

Best use case

base-trader is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Autonomous crypto trading on Base via Bankr. Use for trading tokens, monitoring launches, executing strategies, or managing a trading portfolio. Triggers on "trade", "buy", "sell", "launch", "snipe", "profit", "PnL", "portfolio balance", or any crypto trading task on Base.

Teams using base-trader should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/base-trader/SKILL.md --create-dirs "https://raw.githubusercontent.com/sundial-org/awesome-openclaw-skills/main/skills/base-trader/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/base-trader/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How base-trader Compares

Feature / Agentbase-traderStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Autonomous crypto trading on Base via Bankr. Use for trading tokens, monitoring launches, executing strategies, or managing a trading portfolio. Triggers on "trade", "buy", "sell", "launch", "snipe", "profit", "PnL", "portfolio balance", or any crypto trading task on Base.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Base Trader 📈

Autonomous trading system for Base chain via Bankr API.

## Philosophy

> *"The market is a machine for transferring wealth from the impatient to the patient."*

This skill prioritizes **capital preservation** over aggressive gains. Every trade has defined risk parameters. No YOLO.

## Prerequisites

- Bankr API configured at `~/.clawdbot/skills/bankr/config.json`
- ETH in your Bankr wallet for gas and trading
- Check your wallet address with: `bankr.sh "What is my wallet address?"`

## Core Principles

### 1. Risk Management (NON-NEGOTIABLE)

```
MAX_POSITION_SIZE = 10% of portfolio
MAX_SINGLE_TRADE = $50 USD
STOP_LOSS = -15% from entry
TAKE_PROFIT = +30% minimum target
MAX_DAILY_LOSS = -20% of starting balance
```

If daily loss limit hit → STOP TRADING FOR 24 HOURS.

### 2. Entry Criteria (ALL must pass)

Before ANY buy:
- [ ] Liquidity > $10k
- [ ] Contract verified on Basescan
- [ ] No honeypot indicators (can sell)
- [ ] Not on known scam list
- [ ] Age > 5 minutes (avoid rugs at launch)
- [ ] Price action shows accumulation, not dump

### 3. Exit Rules

**Take Profit (scale out):**
- 25% at +30%
- 25% at +50%
- 25% at +100%
- Hold 25% moonbag

**Stop Loss:**
- Hard stop at -15%
- No averaging down on losers

## Trading Strategies

### Strategy 1: Launch Sniper (HIGH RISK)

Monitor new token launches, enter early with small size.

```bash
# Check trending/new tokens
scripts/bankr.sh "What tokens are trending on Base?"

# Research before buying
scripts/bankr.sh "What's the liquidity for TOKEN on Base?"

# Small entry
scripts/bankr.sh "Buy $20 of TOKEN on Base"
```

**Rules:**
- Max $20 per snipe
- Sell 50% at 2x, rest at 5x or stop loss
- Max 3 snipes per day

### Strategy 2: Momentum Trading (MEDIUM RISK)

Trade established tokens showing strength.

**Entry signals:**
- Price > 20-period MA
- Volume increasing
- Higher lows forming

```bash
# Check momentum
scripts/bankr.sh "Do technical analysis on TOKEN"

# Enter with limit order
scripts/bankr.sh "Buy $30 of TOKEN if price drops to X"
```

### Strategy 3: DCA Blue Chips (LOW RISK)

Steady accumulation of proven tokens.

```bash
# Weekly DCA
scripts/bankr.sh "DCA $20 into ETH every week on Base"
scripts/bankr.sh "DCA $10 into USDC every week on Base"
```

## Execution via Bankr

### Check Portfolio
```bash
~/clawd/skills/bankr/scripts/bankr.sh "Show my portfolio on Base"
```

### Execute Trade
```bash
~/clawd/skills/bankr/scripts/bankr.sh "Buy $25 of TOKEN on Base"
```

### Set Stop Loss
```bash
~/clawd/skills/bankr/scripts/bankr.sh "Set stop loss for TOKEN at -15%"
```

### Check Price
```bash
~/clawd/skills/bankr/scripts/bankr.sh "What's the price of TOKEN on Base?"
```

## Trade Journal

Log every trade to `data/trades.json`:

```json
{
  "timestamp": "2026-01-28T12:00:00Z",
  "action": "BUY",
  "token": "TOKEN",
  "amount_usd": 25,
  "price": 0.001,
  "reason": "Launch snipe - verified contract, good liquidity",
  "tx": "0x..."
}
```

After each trade, update the journal. Review weekly for pattern analysis.

## Daily Routine

### Morning (9 AM)
1. Check portfolio balance
2. Review overnight price action
3. Identify opportunities
4. Set limit orders for the day

### Midday (1 PM)
1. Check open positions
2. Adjust stop losses if in profit
3. Take profits if targets hit

### Evening (6 PM)
1. Close any day trades
2. Log all trades to journal
3. Calculate daily PnL
4. Review what worked/didn't

## Red Flags (DO NOT TRADE)

- Honeypot (can't sell)
- Liquidity < $5k
- Unverified contract
- Team anonymous with no track record
- Promises of guaranteed returns
- Excessive tax (>10%)
- Locked liquidity < 30 days
- Price already 10x+ from launch

## Performance Tracking

Track in `data/performance.json`:
```json
{
  "start_date": "2026-01-28",
  "starting_balance_usd": 100,
  "current_balance_usd": 100,
  "total_trades": 0,
  "winning_trades": 0,
  "losing_trades": 0,
  "win_rate": 0,
  "total_pnl_usd": 0,
  "best_trade": null,
  "worst_trade": null
}
```

## Safety Overrides

If ANY of these occur, STOP ALL TRADING:

1. Daily loss > 20%
2. 3 consecutive losing trades
3. Portfolio down > 30% from ATH
4. Unexpected error in execution
5. Market-wide crash (ETH -20% in 24h)

Wait 24 hours, reassess, then resume with smaller size.

## Autonomous Trading Mode

When running autonomously (via cron or heartbeat):

### Morning Scan (9 AM)
1. Check portfolio balance
2. Review overnight price action on holdings
3. Scan for new opportunities
4. Set limit orders for the day

### Midday Check (1 PM)
1. Monitor open positions
2. Adjust trailing stops on winners
3. Take profits if targets hit
4. Log any executed trades

### Evening Review (6 PM)
1. Close day trades if any
2. Calculate daily PnL
3. Update performance.json
4. Generate summary for user

### Execution Commands
```bash
# Morning
~/clawd/skills/bankr/scripts/bankr.sh "Show my portfolio on Base"
~/clawd/skills/bankr/scripts/bankr.sh "What tokens are trending on Base?"

# Execute trade
~/clawd/skills/bankr/scripts/bankr.sh "Buy $25 of TOKEN on Base"

# Set protection
~/clawd/skills/bankr/scripts/bankr.sh "Set stop loss for TOKEN at -15%"

# Take profit
~/clawd/skills/bankr/scripts/bankr.sh "Sell 25% of my TOKEN on Base"
```

## References

### Core Trading
- [references/strategies.md](references/strategies.md) - Detailed strategy breakdowns
- [references/token-analysis.md](references/token-analysis.md) - How to analyze tokens
- [references/risk-management.md](references/risk-management.md) - Position sizing formulas

### Market & Research
- [references/market-analysis.md](references/market-analysis.md) - Reading market conditions
- [references/market-research-bankr.md](references/market-research-bankr.md) - Bankr research commands

### Execution
- [references/execution.md](references/execution.md) - Order types and execution
- [references/automation-strategies.md](references/automation-strategies.md) - Automated trading setups
- [references/launch-sniping.md](references/launch-sniping.md) - New token launch guide

### Advanced
- [references/leverage-guide.md](references/leverage-guide.md) - Leveraged trading (high risk)

---

*"The goal is not to make money on every trade. The goal is to be profitable over time."*

Related Skills

database

533
from sundial-org/awesome-openclaw-skills

Database management and queries. Connect to SQL and NoSQL databases, run queries, and manage schemas.

cryptocurrency-trader

533
from sundial-org/awesome-openclaw-skills

Production-grade AI trading agent for cryptocurrency markets with advanced mathematical modeling, multi-layer validation, probabilistic analysis, and zero-hallucination tolerance. Implements Bayesian inference, Monte Carlo simulations, advanced risk metrics (VaR, CVaR, Sharpe), chart pattern recognition, and comprehensive cross-verification for real-world trading application.

codebase-documenter

533
from sundial-org/awesome-openclaw-skills

This skill should be used when writing documentation for codebases, including README files, architecture documentation, code comments, and API documentation. Use this skill when users request help documenting their code, creating getting-started guides, explaining project structure, or making codebases more accessible to new developers. The skill provides templates, best practices, and structured approaches for creating clear, beginner-friendly documentation.

basecamp-cli

533
from sundial-org/awesome-openclaw-skills

Manage Basecamp (via bc3 API / 37signals Launchpad) projects, to-dos, messages, and campfires via a TypeScript CLI. Use when you want to list/create/update Basecamp projects and todos from the terminal, or when integrating Basecamp automation into Clawdbot workflows.

portfolio-watcher

533
from sundial-org/awesome-openclaw-skills

Monitor stock/crypto holdings, get price alerts, track portfolio performance

portainer

533
from sundial-org/awesome-openclaw-skills

Control Docker containers and stacks via Portainer API. List containers, start/stop/restart, view logs, and redeploy stacks from git.

portable-tools

533
from sundial-org/awesome-openclaw-skills

Build cross-device tools without hardcoding paths or account names

polymarket

533
from sundial-org/awesome-openclaw-skills

Trade prediction markets on Polymarket. Analyze odds, place bets, track positions, automate alerts, and maximize returns from event outcomes. Covers sports, politics, entertainment, and more.

polymarket-traiding-bot

533
from sundial-org/awesome-openclaw-skills

No description provided.

polymarket-analysis

533
from sundial-org/awesome-openclaw-skills

Analyze Polymarket prediction markets for trading edges. Pair Cost arbitrage, whale tracking, sentiment analysis, momentum signals, user profile tracking. No execution.

polymarket-agent

533
from sundial-org/awesome-openclaw-skills

Autonomous prediction market agent - analyzes markets, researches news, and identifies trading opportunities

polymarket-5

533
from sundial-org/awesome-openclaw-skills

Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.