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

# Getting Started

> Start trading on Lighter.xyz directly from Telegram

## Setting up the bot

Open the Lighter bot and run `/start` to begin. The bot will automatically create a secure Turnkey wallet for you.

<img src="https://mintcdn.com/litrade/D7O9ErKPkIqX9Lfj/images/screenshots/01-start.png?fit=max&auto=format&n=D7O9ErKPkIqX9Lfj&q=85&s=3250e6cd9dcaf51597b1575f62492516" alt="Bot Start Command" width="1024" height="692" data-path="images/screenshots/01-start.png" />

You'll receive:

* 📍 Your wallet address (tap to copy)
* 🔒 Turnkey security confirmation
* 💳 Instructions for funding your account
* 🎯 Quick start commands

<div className="mt-4">
  <a href="https://t.me/lighterdotbot" target="_blank" className="inline-block px-6 py-3 bg-primary text-white rounded-lg hover:opacity-90">
    Setup the bot
  </a>
</div>

## Depositing

Next, deposit funds to your wallet. You can send USDC on Ethereum Mainnet. Run `/deposit` to view the address you can send to. You must deposit at least **\$10 USDC** to begin trading.

<img src="https://mintcdn.com/litrade/D7O9ErKPkIqX9Lfj/images/screenshots/02-deposit.png?fit=max&auto=format&n=D7O9ErKPkIqX9Lfj&q=85&s=dfafab3e2999b8e9788f60159ec76b40" alt="Deposit Command" width="1024" height="467" data-path="images/screenshots/02-deposit.png" />

<Note>
  **First deposit fee:** \$3 (for gas costs)
</Note>

Once you send USDC to your wallet address, the bot will automatically detect it and process the deposit:

<img src="https://mintcdn.com/litrade/D7O9ErKPkIqX9Lfj/images/screenshots/03-detected-deposit.png?fit=max&auto=format&n=D7O9ErKPkIqX9Lfj&q=85&s=f09370fa3aa0169b25dbcd8d82ba19c3" alt="Deposit Detected" width="742" height="426" data-path="images/screenshots/03-detected-deposit.png" />

The bot will:

* 👀 Detect your USDC deposit
* 💱 Automatically swap some USDC to ETH for gas
* ✅ Confirm successful deposit
* 🎉 Notify you're ready to trade!

<div className="mt-4">
  <a href="https://t.me/lighterdotbot" target="_blank" className="inline-block px-6 py-3 bg-primary text-white rounded-lg hover:opacity-90">
    Deposit funds
  </a>
</div>

## Opening your first position

Once your account is funded, type `/long` or `/short` to open a position.

<img src="https://mintcdn.com/litrade/D7O9ErKPkIqX9Lfj/images/screenshots/openpos1.png?fit=max&auto=format&n=D7O9ErKPkIqX9Lfj&q=85&s=83161913e7ca07214723b8649369a259" alt="Long Command" width="1024" height="394" data-path="images/screenshots/openpos1.png" />

You will then be prompted to enter the asset, amount, and leverage. The bot will show you a detailed preview of your trade:

<img src="https://mintcdn.com/litrade/dJ-aIc5jUDgCDHDX/images/screenshots/openpos2.png?fit=max&auto=format&n=dJ-aIc5jUDgCDHDX&q=85&s=bda958c0064da08887a8fe101e2d8d7b" alt="Trade Preview" width="436" height="80" data-path="images/screenshots/openpos2.png" />

The preview shows:

* 🪙 Asset and entry price
* 💰 Position size (leverage × margin)
* 💵 Your margin amount
* ⚡ Leverage
* 🔻 Estimated liquidation price
* 📊 Balance after opening

Confirm the trade and the bot will execute your order:

<img src="https://mintcdn.com/litrade/D7O9ErKPkIqX9Lfj/images/screenshots/openpos3.png?fit=max&auto=format&n=D7O9ErKPkIqX9Lfj&q=85&s=dbee7bbe316646139420051d18242356" alt="Position Opened" width="1024" height="604" data-path="images/screenshots/openpos3.png" />

You'll receive a beautiful position card showing all the details of your opened trade!

<div className="mt-4">
  <a href="https://t.me/lighterdotbot" target="_blank" className="inline-block px-6 py-3 bg-primary text-white rounded-lg hover:opacity-90">
    Open Your First Trade
  </a>
</div>

## Viewing your positions

Now that you have an open position, you can view your positions with the `/positions` command. You'll see beautiful visual cards showing all your position details including PnL, leverage, and liquidation price.

<img src="https://mintcdn.com/litrade/D7O9ErKPkIqX9Lfj/images/screenshots/position.png?fit=max&auto=format&n=D7O9ErKPkIqX9Lfj&q=85&s=d64642137427bb455a5c0ba4184f636d" alt="Positions Command" width="1024" height="665" data-path="images/screenshots/position.png" />

The positions card displays:

* 📊 Current position details
* 💰 Real-time PnL (profit/loss)
* 📍 Entry price and mark price
* 📏 Position size
* 🔻 Liquidation price
* 🔄 Refresh button to update data

You can also use `/pnl` to see detailed profit and loss information for each position.

## Closing your position

When you're ready to close your position and take profits (or cut losses), use the `/close` command followed by the asset name.

<img src="https://mintcdn.com/litrade/dJ-aIc5jUDgCDHDX/images/screenshots/closepos1.png?fit=max&auto=format&n=dJ-aIc5jUDgCDHDX&q=85&s=5e2234b8cb2a6e068254993e682c7bce" alt="Close Command" width="1280" height="513" data-path="images/screenshots/closepos1.png" />

<Tip>
  **Quick close:** You can also specify the percentage directly in the command:

  * `/close BTC 100` - close 100% of BTC position
  * `/close ETH 50` - close 50% of ETH position
  * `/close LIT 25` - close 25% of LIT position
</Tip>

The bot will show you the current position details and ask what percentage you want to close:

<img src="https://mintcdn.com/litrade/D7O9ErKPkIqX9Lfj/images/screenshots/closepos2.png?fit=max&auto=format&n=D7O9ErKPkIqX9Lfj&q=85&s=32f7b853ede28181cdf7adb0e5327994" alt="Close Options" width="1024" height="368" data-path="images/screenshots/closepos2.png" />

You can choose to close:

* 10% - partial close
* 33% - one third
* 50% - half position
* 75% - three quarters
* 💯 100% - full position close

After confirming, you'll receive a beautiful card showing your closed position with final PnL:

<img src="https://mintcdn.com/litrade/D7O9ErKPkIqX9Lfj/images/screenshots/closepos3.png?fit=max&auto=format&n=D7O9ErKPkIqX9Lfj&q=85&s=4a3f28c36897a7a42b6678f5fc0596d9" alt="Position Closed" width="1024" height="604" data-path="images/screenshots/closepos3.png" />

The close card displays:

* 💰 Final profit or loss
* 📍 Entry and exit prices
* 📏 Position size
* 📊 Percentage gain/loss

## You're done!

🎉 **Welcome to li.trade!** You've successfully completed your first trade on Lighter.xyz.

### What's Next?

**Master Your Trading:**

* `/pnl` — Track your real-time profit and loss
* `/balance` — Monitor your PERP and SPOT balances
* `/sl` and `/tp` — Set stop loss and take profit orders
* `/limit` — Place advanced limit orders

**Explore Markets:**

* `/prices` — Browse 100+ trading pairs with live prices
* `/price BTC` — Get detailed price info for any asset

**Compete & Earn:**

* `/leaderboard` — Climb the trader rankings
* `/invite` — Share your referral link and earn 10% of points
* Trade more to earn weekly points distribution

**Stay Protected:**

* Always set stop losses to manage risk
* Start with lower leverage until you're comfortable
* Use `/positions` to monitor all your trades in real-time

### Explore More Commands

Check out all available commands to unlock the full potential of li.trade! Use `/help` anytime or explore our [Commands](/commands) page for the complete list.

Ready to become a top trader? Let's go! 🚀
