# Overview

Manual Trading lets you buy and sell tokens directly without creating automated strategies. You're in complete control, choose which tokens to trade, when to enter, how much to buy or sell, and when to exit. Think of it like traditional trading, but with the option to attach automated exit strategies to your positions later.

**Why use Manual Trading?**

* **Quick entry** - Buy tokens immediately without writing strategy code
* **Full control** - You decide when to buy, sell, and how much
* **Learn by doing** - Get comfortable with trading before automating
* **Test tokens** - Try out new tokens manually before committing to automation
* **Hybrid approach** - Buy manually, then attach an automated exit strategy

<figure><img src="https://3175477167-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCh2t4HDhRRiAIqY93vK%2Fuploads%2FXbpt2E1P2whXqqxc0ypE%2Fimage.png?alt=media&#x26;token=bd2c3120-cdcf-4b9f-a652-ede07cdd962f" alt="" width="563"><figcaption><p>The manual trading page.</p></figcaption></figure>

### How Manual Trading Works

Manual Trading is **position-based**. Each token you buy creates a **position**:

1. **Buy a token** → Creates a new position
2. **Position tracks** → Your token balance, invested amount, current value, profit/loss
3. **Add more** → Buy more of the same token to increase your position
4. **Sell some** → Sell a portion to take profits or cut losses
5. **Close position** → Sell all remaining tokens

#### Manual vs. Strategy Trading

<table data-header-hidden><thead><tr><th width="112.03033447265625"></th><th width="259.42431640625"></th><th></th></tr></thead><tbody><tr><td></td><td><strong>Manual Trading</strong></td><td><strong>Strategy Trading</strong></td></tr><tr><td><strong>Control</strong></td><td>You make all decisions</td><td>Strategy executes automatically</td></tr><tr><td><strong>Entry</strong></td><td>You manually buy tokens</td><td>Strategy buys based on signals</td></tr><tr><td><strong>Exit</strong></td><td>You manually sell</td><td>Strategy sells based on code logic</td></tr><tr><td><strong>Speed</strong></td><td>Immediate when you decide</td><td>Automated, 24/7 monitoring</td></tr><tr><td><strong>Use Case</strong></td><td>Hands-on trading, learning</td><td>Passive trading, consistent rules</td></tr></tbody></table>

**Pro Tip:** You can combine both! Buy tokens manually, then attach an automated exit strategy to manage the exit without constant monitoring.

### Getting Started

#### Step 1: Navigate to Manual Trading

1. Click **"Manual Trading"** in the main navigation menu
2. You'll see the Manual Trading dashboard with three main sections:
   * **Buy New Token** (top) - Start new positions
   * **Open Positions** (middle) - Your active trades
   * **Trade History** (bottom) - Past buy/sell trades

#### Step 2: Select Your Wallet

Before trading, select which wallet to use:

1. Find the **"Select Wallet"** dropdown at the top
2. Choose from your trading-enabled wallets
3. You'll see the wallet balance displayed
4. Only wallets with **trading enabled** appear in the list (configure in Wallet Management)

**Note:** Your selected wallet is remembered for next time, so you don't need to select it every visit.

#### Step 3: Buy Your First Token

**Enter Token Details:**

1. **Token Address** - Paste the Solana token contract address
   * Find this on DexScreener, pump.fun, or other token sites
   * Example: `So11111111111111111111111111111111111111112`
2. **Buy Amount (SOL)** - How much SOL to spend
   * Example: `1.5` to buy with 1.5 SOL
   * Must have sufficient balance in your selected wallet

**Optional: Trading Parameters** Click **"Show Trading Parameters"** to configure:

* **Priority Fee** - Gas fee for faster transaction confirmation
  * **Dynamic Mode** (recommended): Automatically adjusts based on network (Low/Medium/High)
  * **Manual Mode**: Set exact microlamports amount
* **Slippage Tolerance** - Maximum acceptable price movement (default: 5%)
  * Higher slippage = more likely to execute, but worse price
  * Lower slippage = better price, but may fail in volatile markets
* **Lightspeed Mode** - Use Lightspeed for faster execution (if available)

**Execute the Buy:**

1. Review your settings
2. Click **"Buy Token"**
3. Wait for transaction confirmation (usually 10-30 seconds)
4. New position appears in **Open Positions** table

**What happens:**

* Transaction executes on Solana blockchain
* Position is created with your initial buy
* You receive tokens in your wallet
* Real-time price updates begin

### Managing Your Positions

#### Positions Table

Each position shows:

* **Token** - Token name and link to DexScreener
* **Strategy** - Attached automated strategy (if any)
* **Wallet** - Which wallet holds this position
* **Tokens** - Number of tokens you own
* **Invested** - Total SOL you've spent buying this token
* **Value** - Current position value in SOL
* **P\&L** - Profit or Loss
  * **Unrealized P\&L** - Profit from tokens you still hold
  * **Realized P\&L** - Profit from tokens you've already sold
* **Actions** - Buy more, sell, manage

#### Position Actions

**Buy More:**

1. Click **Buy** button on the position row
2. Enter SOL amount to add to position
3. Click **Execute Buy**
4. Your position increases - invested amount and token balance go up

**Sell Partial:**

1. Click **Sell** button on the position row
2. Choose how much to sell:
   * Use quick buttons: **25%**, **50%**, **75%**, **100%**
   * Or enter custom SOL amount
3. Click **Execute Sell**
4. Tokens are sold, SOL goes back to your wallet
5. Position remains open with reduced token balance

**Sell All (Close Position):**

1. Click **Sell** → Select **100%**
2. Click **Execute Sell**
3. All tokens sold, position closes
4. Final realized P\&L is recorded

**Copy Token Address:**

* Click the **copy icon** next to the token address
* Quickly share or look up the token elsewhere

#### Viewing Position Details

Click on any position row to expand and see:

* **Full token address**
* **Average entry price** - Your average buy price per token
* **Current price** - Latest market price
* **Multiple** - How many times your investment has multiplied (e.g., 3.5x = 250% gain)
* **Attached strategy** - If you have an automated exit strategy attached

### Attaching Automated Exit Strategies

Once you've manually bought a token, you can attach an automated strategy to handle the exit:

#### Why Attach a Strategy?

* **Automated exits** - Let strategy sell at your target price while you sleep
* **Consistent rules** - Remove emotion from exit decisions
* **Multiple conditions** - Sell at 5x OR stop-loss at -20%, whichever comes first
* **No constant monitoring** - Strategy watches the market 24/7

#### How to Attach a Strategy

**Method 1: From Position Actions**

1. Find your position in the Open Positions table
2. Click the **Actions** dropdown (three dots)
3. Select **"Attach Strategy"**
4. Choose from existing strategies or create new
5. Confirm attachment

**Method 2: From Strategy Column**

1. Look at the **Strategy** column for your position
2. If it shows **"No Strategy"**, click it
3. Follow the same selection process

#### Creating a Position Strategy

When attaching a strategy, you can:

**Use Existing Strategy:**

* Select from strategies you've created previously
* These strategies are shared across positions
* Edit the strategy to fine-tune it

**Create New Strategy:**

1. Click **"Create New Strategy"**
2. Use **Easy Mode** or **Advanced Mode**:

**Easy Mode (Visual Editor):**

* Set profit targets (e.g., "Sell 50% at 3x")
* Set stop-loss (e.g., "Sell all if down 20%")
* No code required

**Advanced Mode (JavaScript):**

* Write custom JavaScript logic
* Full access to price data and context
* For complex multi-step exits

3. Name your strategy
4. Save and attach to position

#### Managing Strategies

**Edit Strategy:**

1. Click **"Manage Strategy"** in position actions
2. Modify conditions, targets, or logic
3. Save changes
4. Strategy immediately updates for this position

**Switch Strategy:**

1. Click **"Attach Strategy"** on a position that already has one
2. Select a different strategy
3. Old strategy detaches, new one applies

**Detach Strategy:**

1. Click **"Detach Strategy"** in position actions
2. Confirm detachment
3. Position returns to fully manual control

**Important:** Strategies only control **selling**. You still buy manually. The strategy watches your position and executes sell orders when conditions are met.

### Trade History

The **Trade History** table shows all your past buy and sell transactions:

* **Date/Time** - When the trade executed
* **Action** - Buy or Sell
* **Token** - Which token was traded
* **Tokens** - Amount of tokens bought or sold
* **Price** - Price per token in USD
* **SOL Amount** - Total SOL spent (buy) or received (sell)
* **P\&L** - Profit or loss on sell trades
* **Wallet** - Which wallet executed the trade

**Filtering:**

* Filter by action (Buy/Sell)
* View trades for specific tokens
* Analyze your trading patterns

#### Using Strategies Effectively

**Attach strategies for:**

* Overnight positions (you can't watch 24/7)
* Profit targets (automatically lock in gains)
* Stop-losses (cut losses without watching)
* Complex exit plans (sell in stages at different multiples)

**Stay manual for:**

* Very short-term trades (< 1 hour)
* When you're actively watching the chart
* Learning - manual trading helps you understand price action

Manual Trading is perfect for learning, testing new tokens, or maintaining full control over your trades. As you gain experience, consider automating your exits with strategies while keeping manual control of entries.

Happy trading!
