💡Lighter Grid Bot
What is a Grid Bot?
A Grid Bot is an automated trading strategy that places multiple buy(Long) and sell(Short) orders at preset price intervals, creating a "grid" of orders. It profits from natural market volatility by buying low and selling high repeatedly — without requiring you to predict market direction.
How it works: The bot divides your chosen price range into equal levels (grids). When price drops to a grid level, it opens a long position. When price rises to the next level, it closes for profit. This cycle repeats automatically 24/7.
Prerequisites
Before you start, make sure you have:
A Lighter API Wallet — Add one through Dextrabot's Wallet Management. See the How to Get API Key documentation for detailed steps.
USDC Balance — Fund your Lighter wallet with USDC. Minimum depends on your leverage settings.

Quick Start Guide
Get your grid bot running in under 5 minutes:
Go to Terminal — Navigate to
app.dextrabot.com/terminal/BTC(or any trading pair)Switch to Lighter — Click the Lighter toggle in the top-left corner (next to Hyperliquid)
Select Grid Bot — On the right panel, click the Lighter Grid Bot tab
Choose Wallet — Select your funded Lighter wallet from the dropdown
Configure Settings — Set your price range, number of grids, and investment amount (or click Autofill for suggested values)
Start! — Click the green Start button and let the bot do its magic ✨

Configuration Parameters

Here's a detailed breakdown of each setting:
Lighter Wallet
Select the wallet you want the bot to trade with. Shows wallet address and current USDC balance.
Price Range
Lower & Upper: Define the price boundaries for your grid. The bot only operates within this range.
Number of Grids
How many grid levels to create (2-36, even numbers only). More grids = more frequent smaller trades. Fewer grids = less frequent larger trades.
Grid Type
Arithmetic: Equal dollar spacing between grids. Geometric: Equal percentage spacing. See next section for details.
Step
Auto-calculated price distance between each grid level. Depends on your price range and number of grids.
Investment
Amount in USDC to allocate to the bot. Use the slider (25%-100%) or type a custom amount.
Leverage
Multiplier for your position size (2x-50x depending on asset). Higher leverage = higher potential profit AND risk.
Margin Mode
Currently only Cross Margin is supported. Your entire account balance serves as collateral.
Est. Liq Long/Short
Estimated liquidation prices for long and short positions. If price reaches these levels, positions may be liquidated.
Supported Trading Pairs
The Grid Bot supports all perpetual trading pairs available on Lighter DEX, including:
BTC/USD
ETH/USD
ASTER/USD
BNB/USD
And more...
Simply navigate to the desired pair in the Terminal (e.g., /terminal/ETH) and the Grid Bot will automatically adjust to that market.
Bot Behavior
When You Click Start
The bot immediately places orders at each grid level based on your configuration. The number of orders equals the number of grids you selected.
During Operation
When price drops to a grid level → Bot opens a long position
When price rises to the next grid level → Bot closes for profit
This cycle repeats as price oscillates within your range
When You Click Stop
The bot stops placing new orders. Existing positions remain open until they hit their targets or you manually close them on Lighter.
Restarting the Bot
To restart: Click Stop → Wait for open orders/positions to close → Click Start again with your desired settings.
Monitoring Your Bot
Since the bot trades directly on Lighter, you can monitor your positions through:
Lighter DEX: Visit app.lighter.xyz to see your open positions, order history, and PnL
Dextrabot Terminal: The order book on the left shows current market depth
Fees
Dextrabot Fee
🎉 FREE during beta! (Will be included in subscription after launch)
Lighter Trading Fees
Standard Lighter DEX trading fees apply to each executed trade
Only invest what you can afford to lose. Consider starting with paper trading or small amounts to understand the strategy before committing larger capital.
Last updated