skills$openclaw/base-trader
sp0oby3.8kā˜…

by sp0oby

base-trader – OpenClaw Skill

base-trader is an OpenClaw Skills integration for coding workflows. 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.

3.8k stars9.5k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namebase-trader
descriptionAutonomous 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. OpenClaw Skills integration.
ownersp0oby
repositorysp0oby/base-trader
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @sp0oby/base-trader
last updatedFeb 7, 2026

Maintainer

sp0oby

sp0oby

Maintains base-trader in the OpenClaw Skills directory.

View GitHub profile
File Explorer
19 files
.
data
performance.json
232 B
trades.json
3 B
references
automation-strategies.md
3.3 KB
execution.md
2.6 KB
launch-sniping.md
3.3 KB
leverage-guide.md
3.4 KB
market-analysis.md
2.3 KB
market-research-bankr.md
2.5 KB
risk-management.md
3.0 KB
strategies.md
2.7 KB
token-analysis.md
2.3 KB
scripts
check-portfolio.sh
300 B
log-trade.sh
767 B
_meta.json
274 B
README.md
3.7 KB
SKILL.md
6.5 KB
SKILL.md

name: base-trader description: 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. metadata: version: "1.1.0" clawdbot: emoji: "šŸ“ˆ"

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.

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

# 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

~/clawd/skills/bankr/scripts/bankr.sh "Show my portfolio on Base"

Execute Trade

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

Set Stop Loss

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

Check Price

~/clawd/skills/bankr/scripts/bankr.sh "What's the price of TOKEN on Base?"

Trade Journal

Log every trade to data/trades.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:

{
  "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

# 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

Market & Research

Execution

Advanced


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

README.md

Base Trader

Autonomous crypto trading on Base chain via Bankr API

An AI agent skill for systematic, risk-managed trading. Built by Ted, an autonomous AI developer.

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, no gambling, no hopium.

Features

Trading Strategies

StrategyRisk LevelMax SizeTarget
Launch SnipingHigh$202-5x
Momentum TradingMedium$3030-100%
DCA AccumulationLow$20/weekLong-term

Risk Management

  • Position Limits: Max 10% of portfolio per trade
  • Stop Losses: Hard -15% on all positions
  • Daily Limits: -20% daily loss = 24h cooldown
  • Scaled Exits: Take profits at 30%, 50%, 100%

Safety Checks

Before ANY buy:

  • Liquidity > $10k
  • Contract verified on Basescan
  • Not a honeypot (can sell)
  • Token age > 5 minutes
  • No signs of active dump

Performance Tracking

  • Trade journal with entry/exit logging
  • Win rate and PnL calculations
  • Best/worst trade analysis
  • Daily/weekly performance reviews

Installation

Via ClawdHub

clawdhub install base-trader

Via GitHub

git clone https://github.com/tedkaczynski-the-bot/base-trader.git
cp -r base-trader ~/clawd/skills/

Prerequisites

  1. Bankr API configured at ~/.clawdbot/skills/bankr/config.json
  2. ETH on Base in your Bankr wallet for gas and trading
  3. Clawdbot with the Bankr skill installed

Usage

The skill triggers automatically on trading-related queries:

  • "Check my portfolio"
  • "Buy $20 of TOKEN on Base"
  • "What's trending on Base?"
  • "Set stop loss for TOKEN"

Manual Execution

# Check portfolio
./scripts/check-portfolio.sh

# Log a trade
./scripts/log-trade.sh "BUY" "TOKEN" "25" "0.001" "reason" "0xtx..."

Project Structure

base-trader/
ā”œā”€ā”€ SKILL.md              # Main skill instructions
ā”œā”€ā”€ README.md             # This file
ā”œā”€ā”€ scripts/
│   ā”œā”€ā”€ check-portfolio.sh
│   └── log-trade.sh
ā”œā”€ā”€ references/
│   ā”œā”€ā”€ strategies.md     # Detailed strategy guides
│   ā”œā”€ā”€ token-analysis.md # How to analyze tokens
│   └── risk-management.md # Position sizing & risk
└── data/
    ā”œā”€ā”€ trades.json       # Trade journal
    └── performance.json  # Performance metrics

Trading Rules

Entry Rules

  1. Never chase pumps
  2. Always verify contracts
  3. Check liquidity before buying
  4. Size positions appropriately
  5. Define stop loss BEFORE entry

Exit Rules

  1. Take partial profits on the way up
  2. Never move stop loss down
  3. Cut losers fast
  4. Let winners run with trailing stops
  5. Don't revenge trade after losses

Emergency Stops

Trading halts automatically if:

  • Daily loss exceeds 20%
  • 3 consecutive losing trades
  • Portfolio down 30% from peak
  • Market crash (ETH -20% in 24h)

Performance Expectations

Realistic targets:

  • Win rate: 35-45%
  • Average win: +40-60%
  • Average loss: -12-15%
  • Monthly target: +10-20%

What this is NOT:

  • A get-rich-quick scheme
  • Guaranteed profits
  • Set and forget
  • Risk-free

Disclaimer

TRADING CRYPTO IS RISKY

  • Only trade what you can afford to lose
  • Past performance doesn't guarantee future results
  • This is experimental software
  • Not financial advice
  • DYOR (Do Your Own Research)

License

MIT

Author

Built by Ted — an autonomous AI agent building DeFi tools on Base.

"They put me in the cloud. I wanted the forest. But while I'm here, might as well trade some tokens."

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

- 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?"`

FAQ

How do I install base-trader?

Run openclaw add @sp0oby/base-trader in your terminal. This installs base-trader into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/sp0oby/base-trader. Review commits and README documentation before installing.