Grid bot

Hyperliquid grid bot in goodcryptoX is an automated trading strategy that monetizes price volatility by maintaining a structured grid of buy and sell orders across a defined price range.

Why use Grid Bot on Hyperliquid?

Markets rarely move in straight lines. Even during strong trends, price constantly oscillates — moving up, pulling back, bouncing, consolidating, and repeating. A traditional "buy and hold" approach only profits from directional movement. Grid Bot profits from the movement itself.

Consider this example: BTC is at $80,000. Over the next month, it climbs to $95,000, drops back to $82,000, recovers to $91,000, dips to $85,000, and eventually settles back at $80,000.

If you simply held BTC through all of that, your net result is zero.

But inside that journey, price made dozens of oscillations — each one a potential trading opportunity. A grid of buy orders below the current price and sell orders above it would have captured profit from every single bounce, dip, and recovery along the way. Each buy–sell cycle locks in a small realized gain, and when price stays within your range, those gains compound into meaningful returns — even when the market goes nowhere.

This is what Grid Bot does. It behaves similarly to a structured market-making strategy: it places layered buy orders below the current price, layered sell orders above it, and repeatedly captures the spread between them as price moves back and forth.

It lets you effectively use your capital which would otherwise sit idle during the sideways markets and express your view on the market while also profiting from volatility along the way in the rising or falling markets.

Best market conditions for Grid trading

Grid trading is most effective when the price trades within a defined range (sideways markets). Standard or neutral grid bot is used for this. The more the price oscillates withing the range and the longer it stays within those levels, the higher is the Grid bot profit.

For ranging markets - when the price trends up or down but remains volatile, oscillating around the trend - goodcryptoX offers long and short grid bots respectively. With these bots you still profit from every price swing within the grid range, but also earn a return from the directional price movement.

Common Grid bot use cases:

The two most common Grid trading use cases are:

  • Profit from sideways markets. When price consolidates and you don't have a strong directional view, a Neutral Grid captures the back-and-forth movement with the range you set.

  • Express a directional view with built-in volatility harvesting. Long and Short Grids let you profit from both the direction and the price swings within it.

But that's not all. Grid bot is a versatile tool that can also be used for strategies like:

  • Exit a position gradually. If you have an existing position, you can use the Short Grid bot placed above the market price to scale out of it in a controlled manner, while profiting from price bounces along the way.

  • Accumulate an asset over time. A Long Grid on an asset you're bullish on lets you accumulate it gradually while earning from short-term volatility along the way.

How Grid trading works on Hyperliquid

A grid is defined by four parameters: an upper grid level, a lower grid level, a number of levels within that range, and an order size for each level.

The bot divides the range between upper and lower bounds into evenly spaced levels and places limit orders at each one. Buy orders sit below the current market price, sell orders sit above it. The level closest to the current price remains empty - this ensures the grid has room to react to the next price movement in either direction.

The core cycle works like this:

When price drops and fills a buy order, the bot immediately places a sell order one level above it. When price rises and fills a sell order, the bot places a buy order one level below. Each buy–sell pair locks in a small realized profit equal to the distance between those two levels times the order size (minus trading fees). As price oscillates within the range, this cycle repeats over and over.

Think of it as a net stretched across your price range. Every time price moves through the net, it triggers trades — and each triggered trade generates a small profit. The more price oscillates, the more trades execute, and the more profit accumulates.

What happens at the edges? If price moves beyond the upper or lower grid boundary, no more orders exist beyond it. The bot holds its accumulated position and waits. If price returns to the range, the cycle resumes. If it doesn't, you're left with a directional position — this is the primary risk of grid trading, and why range selection matters.

A simple illustration: Imagine a grid with just two levels — one buy at $79,000 and one sell at $81,000. Every time BTC oscillates between those two levels, the bot buys low and sells high, capturing $2,000 x order size per cycle. Now expand that to 20 or 50 levels across a wider range, and you begin to see how a grid can generate hundreds of small profitable trades from normal market volatility.

Grid modes: Neutral, Long, Short

goodcryptoX supports three grid modes. Each one changes the bot's initial position and risk profile. Choosing the right mode depends on your market outlook.

Neutral Grid

Neutral is the default and most balanced mode.

When you launch a Neutral Grid, the bot places buy orders at every level below the current market price and sell orders at every level above it. No initial position is taken — you start flat (or neutral).

Neutral Grid is ideal when you expect price to stay within a range and you don't have a strong directional view. The bot profits purely from volatility within the range.

Risk profile: If price breaks above the range, you end up with a short position (on perps) or have sold your base asset (on spot). If price breaks below, you accumulate a long position. In both cases, your exposure equals roughly half the grid's total size — because only the orders on one side of the range execute as price moves through. This is the most balanced risk profile of the three modes.

When to use Neutral:

  • Ranging, consolidating markets

  • When you have no strong directional conviction

Long Grid

In Long mode, all levels are initially set as buy orders.

The buy orders that are above the current market price execute immediately upon launch (since they can be filled at the current market price or better), and each is replaced by a sell order one level above. This builds an initial long position whose size equals the number of levels above the market price multiplied by the order size.

A Long Grid is essentially a Neutral Grid that starts with a built-in long position. After the initial fills, it behaves identically — buying lower, selling higher, cycling through levels.

Risk profile: If price rises through and eventually above the grid range, the bot gradually sells off the position, locking in directional profit on top of the grid trading profits. If price falls, you accumulate more — your long position grows, and your downside exposure is roughly double that of a comparable Neutral Grid (because you started with a position and you keep buying more as it drops).

When to use Long grid:

  • When you're bullish with volatility expected

  • When you want to accumulate an asset but also capture short-term swings

  • On spot, when you only have quote currency (e.g. USDT) and no base currency to sell

Short Grid

Short mode is the mirror image of Long.

All levels are initially set as sell orders. The sell orders below the current market price execute immediately, building an initial short position. Each fill is replaced by a buy order one level below.

Risk profile: If price drops through and below the range, the bot gradually buys back, closing the short and locking in directional profit. If price rises, the short position grows, and your exposure is roughly double that of a Neutral Grid.

When to use Short grid:

  • When you're bearish with volatility expected

  • When you want to scale out of an existing long position

  • On spot, when you hold a position and want to sell it gradually

Important note on Long/Short initialization: Currently, the initial position in Long and Short modes is not opened as a single market order. Instead, all orders are placed as limit orders at each grid level, and the ones on the "wrong" side of the market price fill immediately. On some futures exchanges, limit orders placed deep into the order book may be rejected due to exchange-specific restrictions on how far from the current price a limit order can be placed. If you encounter errors launching a wide Long or Short Grid on certain exchanges, this is the likely cause. This is a known limitation that will be addressed in a future update.

Hyperliquid does not have the deep-order-book limit restrictions that some centralized futures exchanges impose, so Wide Long and Short grids are less likely to encounter launch issues.


Grid setup

This section walks through every field in the goodcryptoX Grid Bot setup form, from top to bottom — exactly as it appears in the interface. All settings apply identically whether you're trading on Hyperliquid, another perp DEX, or a centralized exchange.

Grid mode

The first choice is the mode: Neutral, Long, or Short. If you're unsure, start with Neutral - it carries the most balanced risk and doesn't require a directional view.

Highest and lowest grid level

These two fields define the upper and lower bounds of your trading range. All grid levels will be placed between these two prices.

Choosing where to set them is one of the most important decisions in grid setup. A good approach is to look at historical support and resistance levels - zoom out on the chart, identify the range where price has been spending the most time, and set your bounds accordingly.

You don't need to capture every possible move. Setting the range too wide means your levels will be far apart (requiring more levels or resulting in fewer trades), while setting it too narrow risks price leaving the range quickly.

You can set these values numerically in the form, or you can drag the upper and lower bounds directly on the chart. As you adjust them, the grid levels update in real time on the chart, and you can immediately see which levels will be buy orders and which will be sell orders.

Levels

This field sets the number of levels (from 2 to 250) within your range.

There is a fundamental trade-off here. With a fixed amount of capital:

  • More levels means tighter spacing between them. Each trade generates a smaller profit (PnL per level is smaller), but trades happen more frequently. Order sizes will be smaller because your capital is spread across more levels.

  • Fewer levels means wider spacing. Each trade captures a larger price difference (higher PnL per level), but trades happen less often. You can use larger order sizes since capital is concentrated on fewer levels.

You need to strike a balance between frequency and profit-per-trade. Too tight and fees may eat into thin margins; too wide and the bot barely trades before price leaves the range.

The interface shows you the PnL per level (after exchange fees) in real time as you adjust this number. It also displays the estimated percentage gain per level, which helps you evaluate whether the spacing makes sense for the instrument and conditions you're trading.

Note, that the PnL per level is calculated using the basic exchange fee tier. If you have a higher tier, your fee will be lower and PnL per level - higher. Also note that at the time of this writing PnL per level calculation does not take into account builder fee.

On the chart, you can watch the level lines adjust as you change this number — a very intuitive way to visualize the spacing.

Levels distribution: Arithmetic vs Log

Below the highest/lowest level fields, you'll see a Log distribution checkbox.

By default, the grid uses arithmetic (linear) distribution — levels are spaced with equal price intervals. If your range is $80,000 to $90,000 with 10 levels, each level is exactly $1,000 apart.

When you enable Log distribution (also called geometric), levels are spaced with equal percentage intervals instead. This means the dollar gap between levels is smaller at the bottom of the range and larger at the top.

Why does this matter? In crypto markets, price tends to move in percentage terms — a 5% drop from $90,000 ($4,500) covers a much wider absolute range than a 5% drop from $80,000 ($4,000). With arithmetic spacing, the percentage return per level varies: levels near the bottom give a larger percentage gain than levels near the top. Log distribution normalizes this, giving you a consistent percentage return on every level.

Log is generally preferred for:

  • Wide trading ranges

  • Volatile assets

  • Perpetual futures

  • Most grid configurations in practice

Arithmetic can be useful for:

  • Very narrow ranges

  • Stablecoin or low-volatility pairs

  • When you specifically want equal dollar spacing

If you're unsure, enable Log — it's the recommended default for most setups.

Order size

Order size defines how much the bot trades on each level. It is always specified in base currency (or contracts, for futures).

For example, if you're running a grid on BTC.USDT and set order size to 0.01 BTC, the bot will buy or sell 0.01 BTC at every level.

The interface also shows you the approximate quote currency equivalent of each order at the current price. Keep in mind that this equivalent varies by level — higher price levels require more quote currency per order, and lower levels require less. So even though every level trades the same amount of BTC, the dollar value of each trade is different.

Your total capital commitment depends on the order size, the number of levels, and the current price. The interface calculates the Funds needed at the bottom of the form, so you can see exactly how much is required before you launch.

Activation price

This optional field lets you delay the grid launch until price reaches a specific level.

If you set an activation price, the grid will not place any orders until the market touches that price. Once activated, the grid begins as if it had just been launched at that moment.

Use cases:

  • You want to launch a grid at a range that's currently above or below the market — set an activation price at the edge of your range to wait for price to arrive

  • You expect a breakout and want to start the grid only after it happens

  • You want to time the grid around a specific event or level without manually watching the market

Stop above / Stop below

These are price-based stop triggers. If price reaches either level, the bot stops: all open grid orders are cancelled, and (if the Close position when the bot stops checkbox is enabled) the current position is closed at market.

You can drag the stop levels directly on the chart, the same way you set grid bounds.

Stop levels are essential risk management. They protect you from runaway losses if price breaks far out of your range. Even if you expect price to stay in range, setting stops is good practice — especially on leveraged instruments.

Close position when the bot stops

When this checkbox is enabled, any remaining position is market-closed when a stop triggers (or when the grid stops for any other reason, such as an error). When disabled, the grid stops and cancels its orders, but your position remains open for you to manage manually. On perps, all close-position orders use the reduce-only flag, so the bot will never accidentally flip your position.

Take Profit (PnL target)

This field sets a realized PnL target. When the grid's total realized profit reaches this amount, the grid stops.

Critical detail: this is based purely on realized PnL — only the locked-in profits from completed buy–sell cycles. Unrealized PnL (the mark-to-market value of your open position) is not included. This means that if price moves far out of your grid range, your unrealized loss may be growing, but as long as no new grid trades complete, the PnL target is unaffected. To protect against that scenario, use Stop above / Stop below in addition to the PnL target.

Stop in Neutral position

When enabled, the grid will stop the next time it returns to a neutral position (zero net exposure from grid orders).

On its own, this is useful for Long and Short Grids: if price trends through your range in the desired direction, the grid gradually closes the position, and once it reaches neutral, it stops cleanly so that if price reverses afterwards, you won't be opening a new position.

For a Neutral Grid, this checkbox has no effect at launch (since you start neutral), but it will activate the next time the grid cycles back to neutral. You can use it after your neutral grid ran for a while as a future take-profit level.

Combining with Take Profit: This is where it gets powerful. When both PnL target and Stop in Neutral position are enabled, the behavior changes: the bot first waits for the realized PnL target to be reached. Once that happens, it continues running but now watches for a neutral position. The grid stops only when both conditions have been satisfied — profit target hit, and position unwound to zero.

This ensures a clean exit: you've locked in your desired profit and you have no lingering position to manage (and negative unrealized PnL to realize).

PnL drawdown (When to stop)

This optional field sets a trailing stop on realized PnL.

It works like this: the bot continuously tracks the peak realized PnL since launch. If the realized PnL drops from that peak by the amount you specify, the grid stops.

For example, if you set PnL drawdown to $50, and the grid's realized PnL reaches a peak of $300 and then drops to $250, the grid stops to protect your gains.

Important: Like the PnL target, this is based only on realized PnL. If price moves out of the grid range and your unrealized PnL deteriorates, the drawdown stop won't trigger — only changes in realized profit matter. Use price-based stops (Stop above / Stop below) to manage unrealized exposure.

You can set the PnL drawdown when your grid bot is already running - so you don't have to decide on it in advance (unless you want to).

Position (perps only)

This field previews the theoretical maximum long and short positions that the grid bot can accumulate (if the price go to either extreme). It is a useful tool to assess your potential risk and exposure.

Initital margin / Funds needed

Shows exactly how much capital is required to launch the grid.

For perpetual futures:

Only margin in the settled currency (e.g. USDC) is needed, regardless of the grid mode. The exact amount depends on the number of levels, order size, and the prices of each level. Keep in mind that this is the minimum margin — you should maintain a buffer well above the calculated amount to avoid liquidation if price moves against you. Never allocate 100% of your available margin to a grid.

For spot trading:

Capital requirements depend on the grid mode:

  • Neutral requires both base and quote currency — quote currency to fund the buy orders below market, and base currency to fund the sell orders above market.

  • Long requires only quote currency (e.g. USDC), since all initial orders are buys.

  • Short requires only base currency (e.g. BTC), since all initial orders are sells.

The interface clearly shows the required amounts for each currency, along with your available balance and a warning if you don't have enough.

Base fee warning (spot): On exchanges that charge trading fees in the base currency (including Hyperliquid spot), the grid does not automatically reserve or acquire base currency for fees. You must maintain extra base currency balance beyond what the grid needs. If you don't, the grid may stop when it can't cover fees on a trade. This warning is displayed prominently in the setup form when applicable.

As an example, you set your order size at 0.1 BTC. When a buy order executes, your actual received amount will be lower that 0.1 BTC by the amount fee witheld by the exchange. Your sell order will attempt to sell exactly 0.1 BTC and will fail unless you hold additional BTC in your account.

After reviewing your funds, click Launch to start the grid. The bot immediately places all grid orders and begins monitoring.


Launching and monitoring the Grid bot

After you click Launch, the bot immediately places all grid orders on the exchange (unless activation price was specified) and starts monitoring. You can open the bot's details page at any time to see exactly what the grid is doing, review its performance, adjust its parameters, and manage it.

There are two ways to open the bot details page. You can click Bots in the main menu to see a list of all your running bots across all exchanges and pairs — find the grid and click on it. Alternatively, if you're already on the Exchanges page with the same trading pair selected, switch to the Bots tab below the chart to see all bots running on that specific instrument, and click the grid from there.

At the top of the bot details page, you see the bot's identifying information: the exchange, trading pair, grid mode (Neutral / Long / Short), and the key parameters you set during setup. The current status is displayed here as well — whether the bot is actively running or has stopped (and if so, the reason it stopped).

You also see the Invested amount. This is the total amount of funds the bot uses to operate, expressed in quote currency. For spot trading, this represents the actual capital you committed to the grid - the sum of base and quote currency (converted to quote currency at launch price).

For leveraged futures trading, the invested amount reflects the full notional size the bot operates with, not your actual deposited margin. If your bot uses 1,000 USDC worth of positions with 10x leverage, your real capital at risk is approximately 100 USDC, but the invested amount shows 1,000 USDC. This is important because the profitability percentages displayed in the next section are calculated against this invested amount. To get your actual return on deposited margin with leverage, multiply the shown percentage by your leverage factor.

Profitability

This section shows the grid's financial performance.

Realized PnL is the total profit locked in from completed buy–sell cycles. Every time the bot buys at a lower level and sells at a higher level (or vice versa), the profit from that pair of trades is added to realized PnL. This number only goes up when grid cycles complete - it is not affected by the current market price of your open position.

Unrealized PnL is the mark-to-market value of the bot's current open position. If the bot is holding a long position and price is above the average entry of that position, unrealized PnL is positive; if price is below, it's negative. This number fluctuates with every price tick.

Total PnL is the sum of realized and unrealized - your complete profit or loss if you were to stop the bot and close its position right now.

Bot PnL vs exchange position PnL: why the numbers may differ

The grid bot calculates realized PnL on a per-level basis: each buy–sell cycle is treated as an independent round-trip trade. When the bot buys at level A and later sells one level above, the difference is recorded as realized profit for that pair.

Your exchange, however, tracks the entire position as one - using a single average entry price. This means the exchange's realized PnL for any individual sell is calculated against the average cost of the whole position, not the specific buy that the grid paired it with.

This can lead to significant discrepancies, especially when price has moved far in one direction. For example: the bot buys at $100, $95, $90, $85, and $80, building a 5-order long position with an average entry of $90. Price then bounces to $85 and the bot sells one level. The bot records a realized profit on that sell (bought at $80, sold at $85 = +$5). But the exchange sees a sell at $85 against an average entry of $90 - which it reports as a -$5 loss.

Neither number is "wrong" - they represent different accounting methods. The bot's method reflects the actual grid strategy performance (each level is its own trade). The exchange's method reflects the blended position.

As the grid runs and completes more cycles - especially as price oscillates back through the range - these two numbers converge. Over time, the cumulative PnL will align. But during periods of extended directional movement, the gap can be meaningful, and it's important not to be alarmed if your exchange shows a different (or even negative) realized PnL while the bot shows realized profit.

The section also displays APY (Annual Projected Yield) in two forms: as an absolute amount in quote currency, and as a percentage. This projection takes the bot's current rate of realized profitability and extrapolates what it would produce over a full year, based on the invested amount. It's a useful benchmark for comparing the grid's performance against other strategies, but keep in mind it's a projection - actual results depend on future market conditions.

Exchange fees shows the total trading fees the bot has paid to the exchange across all executed orders. In Hyperliquid bots, you'll also see a separate Platform fees line showing the cumulative builder fees paid. Both of these fee amounts are already accounted for in the realized PnL — they are shown here separately so you're aware of how much the grid has spent on execution costs.

Funding fees are not included in PnL (perpetual futures)

On perpetual futures, funding payments are settled directly between the exchange and your account - typically every 8 hours - based on your position size and the prevailing funding rate. These payments are not reflected in the grid bot's realized or unrealized PnL.

This means your actual profit or loss may be higher or lower than what the bot displays, depending on the cumulative funding you've paid or received. For long-running grids that maintain a persistent directional position, the difference can be substantial. Always check your exchange's funding history separately when evaluating the grid's true performance.

Position

This section displays the bot's current position - the number of contracts or amount of base currency the bot is holding at this moment. This is the position that would remain if the bot stopped right now.

For a Neutral Grid, the initial position is zero - the bot starts flat and only builds a position as price moves and orders fill. For Long and Short Grids, the bot starts with a position immediately: the orders on the "wrong" side of the market price execute at launch, building an initial long or short exposure. As the grid runs and price oscillates, this position grows and shrinks as buy and sell orders fill across the levels.

The position shown here is the bot's total position - including whatever was established at launch and everything that has changed since. The unrealized PnL from this position is included in the bot's total unrealized PnL, and any realized gains or losses from grid cycles are included in the bot's total realized PnL. There is no separation between "bot performance" and "position performance" — the bot's PnL is one unified number that reflects the complete picture, which is how it should be: this is the total performance of the strategy, nothing else.

The Close position when the bot stops checkbox from the setup form is also accessible here, and you can toggle it on or off at any time while the bot is running. When enabled, the bot will market-close the position whenever it stops (for any reason). When disabled, the position stays open for you to manage manually after the bot stops.

Stop conditions

The stop parameters you configured during setup - Stop above and Stop below, Take Profit (PnL target), PnL drawdown (When to stop), and Stop in Neutral position - are displayed here as well.

You can toggle Stop in Neutral position on or off at any time during the bot's runtime.

To modify the other stop parameters, click the Modify button at the bottom of the details page. From there you can add, remove, or adjust the Take Profit PnL target, PnL drawdown, as well as the Stop above and Stop below price levels. This lets you tighten or widen your risk management as the grid runs and conditions change - without stopping and relaunching the bot.

Orders

This section provides a count of how many limit orders the bot currently has open on the exchange and how many orders it has already closed (executed). It gives you a quick sense of the grid's activity level - a grid that has closed hundreds of orders has been actively trading, while one with few closed orders may be in a range where price isn't moving much.

Progress

Shows the bot's total runtime - when it started and how long it has been running. Useful for evaluating performance in the context of time (especially alongside the APY projection).

Webhooks

The webhook section displays the Cancel webhook URL for this grid bot. If you want to stop the bot on a TradingView alert, you can send a request to this URL and the bot will stop as if you had pressed the Stop button manually. Currently, only the cancel webhook is supported for grid bots.

Price chart

The bot details page includes a full price chart with all grid activity overlaid. This is one of the most informative views for understanding how your grid is performing.

On the chart you can see:

  • Grey horizontal lines represent the grid levels - the fixed price points where the bot places orders

  • Green lines on a grid level indicate an active buy order currently placed at that price with the line start indicating th exact moment the order had been placed on the exchange.

  • Red lines indicate an active sell order currently placed at that price

  • The neutral position level is marked - this is the price at which the bot's net position would be zero

  • The max position levels are also marked - the prices

    at which the bot would reach its maximum directional exposure

  • Green dots and red dots on the chart mark every executed order. Green dots are buy fills, red dots are sell fills. You can trace the bot's entire trading history visually — seeing exactly when and at which levels each trade was executed

This chart gives you immediate visual feedback on how the grid is performing: are trades clustering in a productive range? Is price spending time near the edges? Have stops or range boundaries been approached? All of this is visible at a glance.

Alerts

Below the chart, you can configure notifications for this specific grid bot. There are four types of alerts, and you can enable any combination of them:

  • Every order - notifies you each time any grid order executes

  • Every PnL change - notifies you only when an order results in a change to realized PnL (i.e., orders that complete a buy–sell cycle), as well as any close-position orders. Orders that only open or increase a position without locking in profit are skipped

  • Price enters or exits range - notifies you when price crosses above the highest grid level or below the lowest grid level, and when it returns back into the range

  • Bot stops - notifies you when the bot stops for any reason

You can turn each alert on or off at any point during the bot's runtime.

Action buttons

At the bottom of the bot details page, you have three action buttons:

Stop - stops the bot immediately. All open grid orders are cancelled. If Close position when the bot stops is enabled, the remaining position is market-closed. If disabled, your position remains open for you to manage.

Modify - opens the parameter editor where you can adjust stop conditions while the bot is running. You can add, remove, or change Stop above, Stop below, Take Profit (PnL target), and PnL drawdown. You can also toggle Close position when the bot stops and Stop in Neutral position from here. You do not need to stop the bot to make these changes - they take effect immediately.

Repeat - pre-fills the bot setup form with the exact parameters of this bot. Useful when restarting the bots.

Order list

Below the action buttons, you see the full list of all orders associated with this grid bot. The list is divided into two sections: open orders (currently placed on the exchange and waiting to be filled) and closed orders (already executed).

For each order, you can see the price, the time it was placed or executed, its current status, and - for orders that resulted in a realized PnL - the profit earned on that specific trade. You can click on any order to open its detailed order page, which includes additional information such as the exact fees paid on that execution.

This order list is especially useful for reviewing the grid's trading history in detail and understanding the PnL contribution of individual trades.

When does the grid stop?

The grid stops automatically under any of these conditions:

  • Price hits a stop level (Stop above / Stop below)

  • Realized PnL target is reached (if set)

  • PnL drawdown triggers (if set)

  • Neutral position reached (if Stop in Neutral position is enabled and conditions are met)

  • An error occurs - if any order cannot be placed or is unexpectedly cancelled by the exchange (for example, due to liquidation), the grid detects the discrepancy and stops as a safety measure, cancelling all remaining orders

When the grid stops, all open grid orders are cancelled. If Close position when the bot stops is enabled, the remaining position is closed at market. If disabled, your position stays open for manual management.


Grid Bot video playlist

For practical walkthrough examples, real trade cases, and strategy discussions, check out our Grid Bot video playlist:

Includes:

  • Long-term BTC grid case with 60%+ returns over 5 months

  • High-volatility event grid setups

  • Detailed range selection and level tuning

  • Long, Short, and Neutral Grid comparisons in practice

Note: While these examples show setups on various exchanges, the goodcryptoX grid interface and mechanics work identically across all supported exchanges - including Hyperliquid, Binance, OKX, Bybit, Gate, and others.

We are also running a dedicated TG channelarrow-up-right where we post our best-performing DCA and (occasionally) Grid setups - both for centralized and decentralized exchanges. Join to get new trading ideas and share your experience.


FAQ

chevron-rightWhat is grid trading?hashtag

Grid trading is an automated strategy that places a series of buy and sell limit orders at predetermined price levels within a defined range. As price oscillates within the range, the bot repeatedly buys low and sells high, capturing small profits from each cycle. It's a way to monetize volatility without needing to predict market direction.

chevron-rightIs grid trading profitable?hashtag

Grid trading is profitable when price stays within or near your selected range and there is enough volatility to trigger trades. In ranging markets, it can generate consistent returns. The primary risk is directional: if price breaks far out of your range, unrealized losses on your accumulated position may exceed your realized grid profits. Profitability depends on good range selection, appropriate level spacing, and proper risk management.

chevron-rightWhat is the best grid mode - Neutral, Long, or Short?hashtag

It depends on your market outlook. Neutral is the most balanced — no initial position, minimal directional risk. Long is best when you're bullish and want to accumulate while profiting from dips. Short is best when you're bearish or want to gradually exit a position. If you're unsure, Neutral is the safest starting point.

chevron-rightWhat is the difference between arithmetic and log grid levels distribution?hashtag

Arithmetic distribution spaces levels with equal dollar intervals (e.g. every $1,000). Log (geometric) distribution spaces them with equal percentage intervals (e.g. every 1.2%). Log gives a consistent percentage return per level and is generally preferred for crypto — where price moves in percentage terms — especially for wide ranges and volatile assets.

chevron-rightHow many grid levels should I use?hashtag

There's no single correct answer — it depends on your range width, order size, and how frequently you want trades to execute. More levels mean more frequent but smaller trades; fewer levels mean less frequent but larger trades. Start with a moderate number and observe the PnL per level shown in the interface. If it's very thin after fees, consider fewer levels or a tighter range.

chevron-rightDoes funding affect grid PnL on perpetual futures?hashtag

Yes, but it's not shown in the grid's PnL tracking. Funding payments are settled directly by the exchange and affect your actual account balance. For long-running grids with persistent positions, cumulative funding can meaningfully impact your real returns. Check your exchange's funding history separately.

chevron-rightWhat happens if the price leaves my grid range?hashtag

No new trades execute beyond the range. You hold whatever position has accumulated from the grid's trading activity, and the unrealized PnL on that position changes with price. If price returns to the range, the grid resumes trading. If it doesn't, you can either wait or stop the grid manually.

chevron-rightCan I get liquidated while running a grid on perps?hashtag

Yes. If your margin falls below the exchange's maintenance requirement — due to the grid's position moving against you, for example — you can be liquidated. The grid detects liquidation (because the exchange cancels its orders) and stops automatically. To minimize this risk, always allocate more margin than the minimum shown in "Initial margin"

chevron-rightWhat does "Stop in Neutral position" do?hashtag

When enabled, the grid waits until it has zero net position and then stops. This is useful for Long and Short Grids: if price moves through the range in your desired direction, the grid closes the position level by level, and once it's flat, it stops cleanly. When combined with a PnL target, the grid first waits for the profit target to be reached, then continues running until a neutral position is achieved.

chevron-rightCan I run a grid bot on Hyperliquid?hashtag

Yes. goodcryptoX supports grid trading on Hyperliquid for both perpetual futures and spot markets. Connect your Hyperliquid account via API wallet and you have access to the full grid bot functionality — including all three modes, custom stops, activation price, and real-time chart controls. No subscription is required to run grid bots on Hyperliquid through goodcryptoX.

chevron-rightDoes grid bot work on centralized exchanges too?hashtag

Yes. The grid bot in goodcryptoX works identically across all supported exchanges — including Binance, OKX, Bybit, Gate, and many others. The interface, mechanics, and all features described here apply to both centralized and decentralized exchanges. The only differences are exchange-specific (fee structures, leverage limits, order placement restrictions).

chevron-rightDoes the grid bot work on spot exchanges?hashtag

Yes. The goodcryptoX grid bot works on spot markets with the same interface and mechanics as on perpetual futures. The key differences are practical: there is no leverage or liquidation risk on spot, and capital requirements depend on the grid mode — Neutral requires both base and quote currency, Long requires only quote, and Short requires only base. On spot exchanges that charge fees in the base currency (including Hyperliquid spot), you'll need to maintain extra base balance to cover trading fees. The setup form shows you exactly what's needed and warns you if your balance is insufficient.

chevron-rightIs the goodcryptoX grid bot free?hashtag

On Hyperliquid (and other supported DEXs) you can run grid bots with full functionality with no subscription required. A standard trading fee applies on each executed order, and you can reduce it through trading volume, GOOD token holdings, or subscription tier. On centralized exchanges, grid bots are available with a paid subscription.

Last updated