Skip to main content

Cross Margin Futures Grids Bot

What are the Cross Margin Futures Grids? Cross Margin Futures Grids is a new type of grid bot launched on Pionex. In this bot you can crea...

What are the Cross Margin Futures Grids?

Cross Margin Futures Grids is a new type of grid bot launched on Pionex. In this bot you can create both a short grid and a long grid, and the two grids will share the margin. As the margin is shared, the profits from one grid will effectively compensate for any margin deficiencies in the other grid, reducing your total required margin and increasing your capital utilization.

Which scenarios are suitable for the bot?

It is suitable for most scenarios because the creation and closing are quite flexible, and you can do it according to your needs: When creating, you can choose to create a grid first, run it for a while, and then create a reverse grid. And you can also create two grids at the same time; When closing, you can also close grids separately or at the same time.

How to Create Cross Margin Futures Grids?

In APP:

Step 1: Download/update and log in to the latest version of the Pionex app to access the “Cross Margin Futures Grids”.

Step 2: Click on [Bot] in the bottom menu bar, then click on [Create] - [Futures], where you will find the "Cross Margin Futures Grids" option.

Cross Margin Futures Grids Bot - 1.png

Step 3: Once you are in the “Cross Margin Futures Grid” section, click the [+ Add] button on either the Long or Short grid. Then, click the [AI Strategy] button, and the system will recommend suitable AI strategies. You can choose your preferred strategy and select it by clicking the [Select It] button.

Cross Margin Futures Grids Bot - 2.png

Step 4: After copying the strategy, enter your investment amount, adjust the leverage if necessary, and click [Add Grid]. The copied long or short directional grid order will then be added to the bot. You can repeat the same process for the other directional grid order and add it. Once both are set, click [Create] - [Submit] to finalize and create your bot order.

Cross Margin Futures Grids Bot - 3.png

On Web:

Step 1: Open the Pionex website, log in to your account, click on [Futures] in the top menu bar, then click on [Futures Bot], where you will find the Cross Margin Futures Grids" option.

Cross Margin Futures Grids Bot - 4.png

Step 2: Once you are in the “Cross Margin Futures Grid” section, click the [+ Add] button on either the Long or Short grid. Then, click the [AI Strategy] button, and the system will recommend suitable AI strategies. You can choose your preferred strategy and select it by clicking the [Select It] button.

Cross Margin Futures Grids Bot - 5.png

Step 3: After copying the strategy, enter your investment amount, adjust the leverage if necessary, and click [Add Grid]. The copied long or short directional grid order will then be added to the bot. You can repeat the same process for the other directional grid order and add it. Once both are set, click [Create the bot] - [OK] to finalize and create your bot order.

Cross Margin Futures Grids Bot - 6.png


Where Do Funds Go After Closing One Direction?

The Cross Margin Futures Grid manages both long and short directions under the same shared futures account margin pool.

When you close one direction (for example, closing only the short side):

  • That direction's positions are closed at market price

  • The returned funds (principal ± realized P&L) go back into your futures account margin balance

  • This balance may still be supporting your remaining open direction, so the increase in "available balance" may not equal the exact amount closed

To transfer funds back to your spot wallet, first ensure the remaining open direction has sufficient margin coverage, then manually transfer from your futures account to your spot account.


What Happens When Price Goes Outside the Range?

When the market price moves beyond your upper or lower bound, the bot suspends placing new grid orders but does not automatically close positions.

Specific behavior:

  • Long bot: Price drops below lower bound → all capital is held as a long position, waiting for price to return before resuming grid orders; price rises above upper bound → all capital is converted to quote currency (no open position)

  • Short bot: Price rises above upper bound → all capital is held as a short position, waiting for price to fall before resuming; price drops below lower bound → all capital is converted to base currency (no open position)

Going outside the range does not close the bot or trigger automatic liquidation. If you want to limit losses when price moves against you, set a Stop Loss when creating the bot. When price returns within range, the bot resumes automatically.


Why Is the Floating P&L Different for Long and Short Directions?

The Cross Margin Futures Grid runs both long and short directions simultaneously. However, the position size allocated to each direction is not equal at any given moment — it changes dynamically with price. This is why the floating profit/loss figures for each side differ, sometimes significantly.

How the position sizes are calculated:

  • Long position size = Investment × (Current Price − Lower Bound) ÷ (Upper Bound − Lower Bound)

  • Short position size = Investment × (Upper Bound − Current Price) ÷ (Upper Bound − Lower Bound)

When price rises, the long position grows and the short position shrinks. When price falls, the reverse happens. This means the overall position is not perfectly market-neutral when price deviates from the center of the range, resulting in a "Trend P&L" — the net directional paper gain or loss.

Trend P&L reflects the unrealized directional exposure of the overall position. It does not reduce the Grid Profit you have already earned. Grid profit accumulates from every completed buy-sell cycle within the range, regardless of price direction.


Investment Amount and Extra Margin

When you start a Cross Margin Futures Grid bot, your total investment is not fully placed as open grid orders. The system distributes funds across each grid slot, but each slot has a minimum order size. When the remaining funds after filling slots are not enough to fill another slot, that remainder is automatically converted into "Extra Margin" to reduce liquidation risk.

Example:

  • Invest 500 USDT, each grid requires ~300 USDT minimum → after filling 1 slot, ~200 USDT becomes Extra Margin

  • Invest 1,000 USDT, same number of grids → after filling multiple slots, ~130 USDT becomes Extra Margin

The more Extra Margin you have, the further your liquidation price is from the current price, making the bot more resilient. This is why the "Actual Investment" displayed in your order details may be lower than your total deposit — the difference is the Extra Margin, which is actively protecting your position.


Cross Margin Futures Grid FAQ

Q: Do both grids have to be one long and one short, and trade the same futures?
A: Yes, the Cross Margin Futures Grids only support creation of a long grid and a short grid on the same futures now.

Q: Why does my long grid have two estimated liquidation prices?
A: The Cross Margin futures grids has “shared” liquidation price due to shared margin. This means that if any one of the liquidation prices is triggered, both of your grids will be liquidated.

Q: If I close one grid and keep the other running, will the funds return to my wallet?
A: No, if you still have one grid running, your bot will continue to run, and all funds will remain in your bot. Only when you close the bot will the funds return to your wallet.

Q: If I set ‘Take profit of both grids’ and ‘Take profit of long grid’ at the same time, will they conflict with each other?
A: No, there will be no conflict. Whichever take-profit condition is met first, will trigger first. The same applies to the stop-loss setting.

Q: Why does my order show a lower "actual investment" than the amount I deposited?
A: Each grid slot has a minimum order size. When your total investment cannot fill another complete grid slot, the leftover amount is automatically converted to "Extra Margin." This extra margin pushes your liquidation price further away, reducing the risk of forced liquidation. The funds are not lost — they are actively protecting your position.

Q: Why is there a large difference between the floating P&L shown for the long and short sides?
A: As price moves, the position sizes for the long and short directions automatically adjust at different rates. This creates an asymmetry in floating profit/loss between the two sides, which is called "Trend P&L." It represents the net directional paper exposure — not a reduction in Grid Profit. Your actual grid earnings accumulate from completed trades and are shown separately as "Grid Profit."

Q: The price has gone outside my range. Why wasn't the position automatically closed?
A: Going outside the range only pauses new order placement — the bot does not auto-close positions. This is the intended behavior. To limit losses when price exits the range, enable the Stop Loss setting when creating the bot. Once price returns within the range, the bot resumes placing orders automatically.

Q: I closed the short/long direction. Why didn't my available balance increase by the amount I expected?
A: When you close one direction, the returned funds go into your trading bot margin balance — not directly into your available balance.

Please get in touch with Pionex Support if you have any other questions.

Did this answer your question?