Futures Grid bot for OrangeX
GridCryptoBot places a grid of BUY/SELL limit orders inside the price range you choose on OrangeX USDT perpetual contracts. You preview the orders, quantity and margin before running; try it as Paper with real market prices, or run Live with your own API key.
What is grid trading
Grid trading splits a price range into many levels. The bot places BUY orders below the price and SELL orders above it; when an order fills, it places the counter order at the next level to capture the difference while price oscillates inside the range.
Grids suit sideways markets. If price leaves the range or trends one way for long, the position can lose money and, with leverage, can be liquidated. A grid does not guarantee profit.
Moving midpoint and grid count
N grids means N price intervals between the two bounds, i.e. N+1 price levels. The initial midpoint is the level nearest the mark price at activation: levels below it are BUY, levels above it are SELL. Each time an order fills the midpoint moves one step and the bot places the counter order.
Margin is always Cross and the account must be in One-way mode. The bot handles partial fills, reconciles with the exchange and avoids duplicate orders.
Three modes: Normal, Long, Short
The mode name is only the direction of the initial Market order; the net position afterwards depends on any existing position and on fills.
- Normal: only resting orders on both sides of the midpoint, no initial Market order.
- Long: opens one BUY Market order with the calculated quantity and then places the grid; the grid's SELL orders are reduce-only.
- Short: opens one SELL Market order and then places the grid; the grid's BUY orders are reduce-only.
Automatic and Manual setup
Automatic: you pick the pair and direction, then enter the investment amount and the quantity per order. The system computes the bounds from the pair's current price with 30 grids: Normal −5% to +5%, Long −6.5% to +3.5%, Short −3.5% to +6.5%. The bounds and grid count are locked; leverage comes from your OrangeX account settings and is shown read-only.
Manual: you choose the lower bound, upper bound and grid count. Advanced settings include leverage, a trigger price, and TP/SL by price or by percentage of the investment amount.
Budget check before you run
The preview shows the price range, quantity per order, initial Market quantity (Long/Short), maximum expected margin and the budget status. If capital is not enough, the system explains why and states the minimum capital; it does not silently reduce the grid count or raise capital. The quantity must match the contract's step size and minimum.
Supported pairs, Paper and Live
Paper mode runs on all six USDT perpetual pairs (BTC, ETH, XAG, XAUT, SOL, DOGE) with real market prices and no real money. Live mode sends orders to your own OrangeX account; Live availability per pair is shown inside the app and capital per Live bot may be capped.
TP/SL and stopping the bot
TP/SL by price or by percentage of the investment amount is monitored by the system; no STOP order is placed on the exchange. You can stop the bot at any time.
Frequently asked questions
How is Grid Long different from Grid Normal?
Normal does not open an initial Market order; it only places resting orders on both sides. Long and Short first open a Market order (BUY or SELL) with the calculated quantity, then place the grid.
How much capital do 30 grids need?
It depends on the pair, price and quantity per order. The preview calculates the maximum expected margin and, if capital is short, states the minimum capital required.
Does a grid guarantee profit?
No. Price can leave the grid range or trend one way, causing losses and, with leverage, liquidation.
Related
- Futures DCA bot for OrangeX — Futures DCA bot, Long or Short: an initial order, safety steps by price deviation, take profit on the real average cost and a total stop. Currently simulated (Paper) on OrangeX.
- Liquidation Heatmap DCA (BTC, ETH) — A DCA bot driven by a BTC/ETH liquidation map: enter only a budget, the bot waits for a qualifying setup and then follows a 3-level plan. Data sources and limits are stated.
- Get started with GridCryptoBot — Steps to sign up on OrangeX, create a GridCryptoBot account, connect the API, verify your UID and run a Paper or Live bot, plus FAQs about fees, risk and signals.
Leveraged futures trading can lose your capital and lead to liquidation. This content is informational only, not investment advice, and does not guarantee profit.