Documentation

Getting Started

PumpBot is an automated trading bot for PumpFun memecoins on Solana. It monitors new token launches in real-time and executes trades based on configurable parameters.

Features

  • Real-time token detection via PumpPortal WebSocket
  • Automatic take profit and stop loss
  • AI-powered token analysis (optional)
  • Paper trading mode for testing
  • Live dashboard with real-time updates

Configuration

Configure the bot by editing the .env file:

# Trading Settings
BUY_AMOUNT_SOL=0.01          # Amount to buy per trade
MIN_MARKET_CAP=5000          # Minimum market cap
MAX_MARKET_CAP=100000        # Maximum market cap
TAKE_PROFIT_PERCENT=50       # Take profit percentage
STOP_LOSS_PERCENT=30         # Stop loss percentage
MAX_POSITIONS=5              # Max concurrent positions

# Mode
TRADING_MODE=paper           # 'paper' or 'live'

Commands

npm start

Start the trading bot

npm test

Test all API connections

npm run setup

Run initial setup

⚠️ Risk Warning

Trading memecoins is extremely risky. You can lose all your invested capital. Always use paper trading mode first to test your settings. Only trade with funds you can afford to lose.