> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aiusd.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Trading

> Complete guide to all supported trading operations.

## Spot Trading

Trade tokens across multiple chains with natural language.

### Basic Commands

```
Buy $100 of SOL
Sell all my ETH
Swap TRUMP for USDC
```

### Supported Chains

| Chain | Tokens | DEXs |
| - | - | - |
| Solana | All SPL tokens | Jupiter, Raydium |
| Base | All ERC-20 tokens | Uniswap, Aerodrome |
| Ethereum | All ERC-20 tokens | Uniswap, Sushiswap |

### Specify Chain

```
Buy ETH on Base
Buy SOL on Solana
```

If chain not specified, AIUSD auto-selects based on liquidity and fees.

### Advanced

```
Buy $500 of ETH with 1% slippage
Sell 10 SOL at market price
Swap all my USDC for BTC
```

***

## Perpetual Futures

Trade with leverage on HyperLiquid.

### Open Position

```
Long ETH 10x
Short BTC 5x with $1000
Long SOL 20x at $45
```

**Leverage:** Up to 50x

### Close Position

```
Close my ETH position
Close all positions
Take profit on BTC position
```

### Check Positions

```
Show my open positions
What's my PnL on ETH?
```

***

## Prediction Markets

Bet on real-world outcomes via Polymarket.

### Place Bet

```
Bet $10 on Yes for Bitcoin 100k
Bet $50 on No for Trump wins 2024
```

### Search Markets

```
Search election markets
Find Bitcoin price markets
Show trending prediction markets
```

### Check Positions

```
Show my prediction positions
What's my PnL on predictions?
```

***

## Staking & Yield

Earn yield on idle AIUSD.

### Stake

```
Stake 500 AIUSD
Stake all my AIUSD
```

**Returns:** \~20% APY on sAIUSD

### Unstake

```
Unstake my AIUSD
Unstake 100 AIUSD
```

### Check Yield

```
How much am I earning?
Show my staking balance
```

***

## Conditional Execution

Set up automated trades based on conditions.

### Price Triggers

```
If BTC drops below $60k, sell all my BTC
If ETH goes above $3k, buy $500 of ETH
When SOL hits $50, close my SOL position
```

### Time-Based

```
Every Monday at 10am, buy $100 of BTC
Every day at 9am, check my portfolio
```

### Portfolio-Based

```
If BTC > 60% of portfolio, sell 10%
If ETH < 30% of portfolio, buy $500
```

***

## Social Trading

Auto-execute trades based on Twitter signals.

### Monitor Influencer

```
Monitor @elonmusk with $100 budget
Monitor @trader_alpha with $500 budget
```

### Check Monitors

```
List my active monitors
Stop monitoring @elonmusk
```

### How It Works

1. Bot monitors Twitter account
2. When they mention a token
3. Bot checks if tradeable
4. Auto-executes trade with your budget

***

## Portfolio Management

### Check Balance

```
What's my balance?
Show my portfolio
How much AIUSD do I have?
```

### View Positions

```
Show my open positions
What tokens do I own?
Show my trading history
```

### Addresses

```
Show my trading addresses
What's my Solana address?
What's my Base address?
```

### Transactions

```
Show my recent transactions
Show my last 10 trades
```

***

## Market Data

### Trending Tokens

```
What tokens are trending?
Show top gainers today
```

### Prices

```
What's the price of SOL?
Show xStock prices
```

### Market Cap

```
Show top 10 tokens by market cap
```

***

## Deposits & Withdrawals

### Deposit

```
How do I deposit?
What are my deposit addresses?
Show deposit instructions
```

**Supported:**

* USDC (Solana, Base, Ethereum)
* USDT (Solana, Base, Ethereum)
* Native tokens (SOL, ETH)

### Withdraw

```
Withdraw 100 AIUSD to my wallet
Send 50 USDC to [address]
```

***

## Tips & Best Practices

> [accordion] Start Small
>
> Test with small amounts first. Gradually increase position sizes as you get comfortable.

> [accordion] Use Stop Losses
>
> Always set stop losses for leveraged positions:
>
> ```
> Long ETH 10x with stop loss at $2500
> ```

> [accordion] Monitor Conditions
>
> Check your conditional orders regularly:
>
> ```
> List my active monitors
> Show my pending orders
> ```

> [accordion] Diversify
>
> Don't put all capital in one position. Spread across multiple assets and strategies.

> [accordion] Check Fees
>
> Different chains have different fees. Solana is typically cheapest for small trades.

> [card] [Examples](https://docs.aiusd.ai/examples.md)
>
> See real bot strategies


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.