Skip to main content

Your First Trading Bot

This guide will walk you through creating and launching your first automated trading bot on SuiSwarm. We'll start with the simplest strategy - Timed Buy.

Prerequisites

Before starting, ensure you have:

✅ Connected your Sui wallet
✅ Imported your private key
✅ Selected your trading pair
✅ Sufficient balance in your base token

Understanding Timed Buy Strategy

Timed Buy is perfect for beginners because it:

  • Executes at regular intervals
  • Requires minimal configuration
  • Includes automatic profit taking
  • Works well for accumulation

Step-by-Step Setup

Step 1: Navigate to Timed Buy

  1. Click on "Strategies" in the sidebar
  2. Select "Timed Buy" from the list
  3. You'll see the configuration panel

Step 2: Select Your Trading Pair

Choose your tokens:

  • Base Token: What you're spending (e.g., SUI)
  • Target Token: What you're buying (e.g., PUMPKIN)

Example pairs:

  • SUI → PUMPKIN (accumulate PUMPKIN)
  • USDC → SUI (accumulate SUI)
  • SUI → DEEP (accumulate DEEP)

Step 3: Configure Buy Parameters

Amount per Buy

How much to spend on each purchase.

Examples:
- Conservative: 10 SUI
- Moderate: 50 SUI
- Aggressive: 100+ SUI

Time Interval

How often to execute buys.

Options:
- 5 minutes (aggressive DCA)
- 30 minutes (moderate)
- 60 minutes (conservative)
- 240 minutes (very conservative)

Take Profit Percentage

When to automatically sell for profit.

Recommendations:
- Conservative: 10-20%
- Moderate: 30-50%
- Aggressive: 100%+

Step 4: Review Settings

Example configuration:

Base Token: SUI
Target Token: PUMPKIN
Amount: 25 SUI
Interval: 30 minutes
Take Profit: 35%

This means:

  • Buy 25 SUI worth of PUMPKIN every 30 minutes
  • Sell when position is 35% in profit

Step 5: Launch Your Bot

  1. Double-check all parameters
  2. Click "Start Timed Buy"
  3. Confirm the transaction in your wallet
  4. Bot will start immediately!

Monitoring Your Bot

Active Bots Panel

Shows real-time status:

  • Current state (buying/waiting/selling)
  • Next buy countdown
  • Total invested
  • Current P&L

Log Console

View detailed activity:

[2024-01-15 10:30:00] Bot started: SUI → PUMPKIN
[2024-01-15 10:30:05] Executing buy: 25 SUI
[2024-01-15 10:30:08] Buy complete: Received 1,250 PUMPKIN @ 0.02
[2024-01-15 10:30:10] Next buy in: 29m 50s

Performance Metrics

Track your success:

  • Total buys executed
  • Average entry price
  • Current profit/loss
  • ROI percentage

Managing Your Bot

Pause/Resume

Need to pause?

  1. Click pause button in Active Bots
  2. Bot stops after current operation
  3. Resume anytime to continue

Adjust Parameters

While running, you can:

  • Change take profit target
  • Modify buy amounts
  • Adjust intervals

Emergency Stop

To stop immediately:

  1. Click red stop button
  2. Confirm stop action
  3. Bot ceases all operations

Common Scenarios

Scenario 1: Accumulation

Goal: Build a large position over time

Settings:

  • Small amounts (10-20 SUI)
  • Frequent buys (5-15 min)
  • High take profit (100%+)

Scenario 2: Swing Trading

Goal: Capture medium-term moves

Settings:

  • Medium amounts (50-100 SUI)
  • Moderate frequency (30-60 min)
  • Moderate profit (20-40%)

Scenario 3: Conservative DCA

Goal: Long-term investment

Settings:

  • Larger amounts (100+ SUI)
  • Infrequent buys (4-24 hours)
  • Lower profit targets (10-20%)

Tips for Success

Start Small

  • Test with small amounts first
  • Understand the mechanics
  • Scale up gradually

Monitor Markets

  • Check volatility levels
  • Adjust during trends
  • Pause during uncertainty

Use Stop Losses

  • Set mental stop losses
  • Don't over-invest
  • Diversify strategies

Track Performance

  • Review trade history
  • Calculate actual ROI
  • Learn from patterns

Troubleshooting

Bot Not Buying?

Check:

  • Sufficient base token balance
  • Wallet still connected
  • No network issues
  • Correct parameters

Unexpected Behavior?

Verify:

  • Latest transactions on chain
  • Log console for errors
  • Bot status in panel
  • Contact support if needed

Performance Issues?

Consider:

  • Market conditions
  • Interval timing
  • Amount sizing
  • Take profit levels

Advanced Features

Once comfortable, explore:

Multi-Bot Setup

Run multiple bots simultaneously:

  • Different pairs
  • Varied strategies
  • Risk distribution

Custom Intervals

Fine-tune timing:

  • Market hours only
  • Specific time slots
  • Dynamic adjustments

Profit Reinvestment

Compound gains:

  • Auto-reinvest profits
  • Increase position size
  • Accelerate growth

Next Steps

Now that your first bot is running:

  1. Monitor for 24 hours - Understand the pattern
  2. Review performance - Check actual vs expected
  3. Try other strategies - Explore TWAP or Grid
  4. Join the community - Share experiences

Example Success Story

Trader: Alice
Strategy: Timed Buy
Pair: SUI → PUMPKIN
Settings: 20 SUI every 30 min, 40% TP

Results after 1 week:
- Total invested: 1,344 SUI
- PUMPKIN accumulated: 89,600
- Profits taken: 420 SUI
- Net ROI: 31.25%

Resources


🎉 Congratulations! You've launched your first trading bot. Happy automated trading!