Quick Overview of Contract Grid Strategy

Quick Overview of Contract Grid Strategy

OKX Tutorial Team

Quick Overview of Contract Grid Strategy

I. What is Contract Grid Strategy?

Contract grid strategy is an automated strategy that trades contracts by buying low and selling high within a specific price range. Users only need to set the upper and lower price limits, determine the number of grids to divide, and can start running the strategy. If needed, trigger conditions can be set in advance, and the strategy will automatically start running when market conditions reach the trigger conditions. The strategy will calculate the buy-low and sell-high prices for each small grid, automatically place orders, and continuously buy low and sell high or sell high and buy low with market fluctuations to earn returns from volatility.

Contract Grid Quick Entry

II. Scenarios Where Contract Grid is Applicable

The core of contract grid is "volatility arbitrage," so it is suitable to use contract grid when you expect a long period of sideways market. At the same time, contract grid can also have a certain long/short bias: long grid will only open and close long positions, suitable for sideways upward markets; short grid will only open and close short positions, suitable for sideways downward markets. Neutral grid opens/closes short positions above the market price when the strategy starts, and opens/closes long positions below the market price. Users can choose the appropriate grid type based on their judgment of specific market conditions.

III. Contract Grid Creation Steps, Related Parameters, and Tutorial Examples

3.1 Creation Steps

(1) After entering OKX's PC or app, select "Strategy Trading Mode" in the "Trading" page (top left corner on PC, top right corner on app), then select contract grid.

(2) Enter parameters or use smart parameters in the trading page, then confirm the investment amount to create a grid. (After grid creation, the invested funds will be isolated from the trading account and used independently in the grid strategy)

(3) After creation is complete, you can view and manage grid strategies under "Strategy" at the bottom of the trading page.

(4) During strategy operation, grid profits generated from grid arbitrage will automatically serve as strategy margin. Users can stop the strategy at any time, and all returns will be automatically transferred back to the trading account when the strategy stops.

3.2 Related Terms and Parameters of Grid Strategy

Two Creation Modes:

**Manual Creation: **Set parameters and trigger conditions based on your own judgment of the volatility range. Currently, OKX contract grid strategy supports two trigger types: price trigger and RSI technical indicator trigger. For trigger condition settings, you can view the article 《Introduction to Grid Strategy Trigger Conditions》 for details.

**Smart Creation: **Directly use system-recommended grid strategy parameters. (The logic for recommended parameters is: after backtesting 7 days of market data, combine with intelligent algorithms to recommend parameters suitable for recent market conditions)

Explanation of Parameters When Placing Grid Orders:

Range Lower Price: When the market price is below the range lower price, the strategy will no longer execute order placement operations.

Range Upper Price: When the market price is above the range upper price, the strategy will no longer execute order placement operations.

Grid Number: Grid number represents the number of small order placement intervals divided in the volatility range. For example, range 100-400, arithmetic progression, grid number 3, then it's divided into 3 small intervals: 100-200, 200-300, 300-400.

Leverage: The leverage multiple used for contract trading in the strategy. The currently allowed maximum leverage is 50x.

Invested Margin: The quantity of currency invested in the grid strategy. Among them, maximum available equals the maximum transferable quantity of that currency in the trading account.

Arithmetic Grid: The difference between every two adjacent order prices is equal (e.g., 1, 2, 3, 4).

Geometric Grid: The ratio between every two adjacent order prices is equal (e.g., 1, 2, 4, 8).

Take Profit/Stop Loss Price: When the market price reaches this price level, the strategy automatically stops and closes positions at market price.

Option to Build Position Immediately When Strategy Starts: When the strategy starts, you can choose whether to build positions immediately. For example: if this option is checked for a long grid, long positions will be opened at market price when the strategy starts, and can be closed for profit when prices rise. The same applies to short grids.

Total Amount: Available fund size after using leverage, total amount = invested margin * leverage.

Estimated Long Liquidation Price: Assuming all long orders in the grid are filled, the estimated liquidation price when opening the maximum number of long positions.

Estimated Short Liquidation Price: Assuming all short orders in the grid are filled, the estimated liquidation price when opening the maximum number of short positions.

(Order parameter) Estimated Liquidation Price: The actual estimated liquidation price of currently held positions.

(Order parameter) Actual Leverage: Measures the actual leverage risk of currently held positions, actual leverage = held position value / strategy account equity.

3.3 Tutorial Example (Using BTCUSDT Contract as Example)

Setting Parameters

Grid Type: Long Grid

Range Lower Price: 50,000 USDT

Range Upper Price: 100,000 USDT

Grid Number: 50

Grid Mode: Arithmetic

Leverage: 2x

Investment Amount: 5000 USDT

Open Base Position: Yes

BTC/USDT Price at Strategy Creation: 60,100 USDT

Strategy Operation

First Stage - Initial Orders: The system will calculate each price level of the strategy as 50,000, 51,000, 52,000...98,000, 99,000, 100,000, then place 2x leverage opening buy orders at these prices. If market depth is good, buy orders above market price will be filled to open positions, then place closing sell orders at the next higher level. Therefore, after the strategy starts, orders are placed as follows: opening buy orders at each price level from 50,000-60,000, and closing sell orders at each price level from 62,000-100,000.

Second Stage - Strategy Running: If the market price falls below 60,000, the buy order at that position is filled, and the program automatically places a sell order at the corresponding upper position of this small grid (i.e., 61,000 price level). If the price rises, after the sell order is filled, a buy order is placed at the corresponding lower position.

In this way, continuously placing orders and filling with market fluctuations allows you to continuously earn volatility returns in sideways markets.

IV. Important Notes

4.1 If the current price/indicator already triggers the stop condition when creating the strategy, the strategy creation will fail. You need to adjust current settings and recreate; strategies that have been created but not yet started can be manually started or stopped.

4.2 Regarding modification of trigger condition parameters: Price trigger conditions can have price parameters modified after strategy creation but before triggering; RSI trigger conditions do not allow parameter modification. If you need to adjust parameters, you can stop the strategy and recreate.

4.3 After the market price exceeds the grid's range upper/lower price, the program will no longer continue operations. If the price continues to move unilaterally without returning to the grid range, currently held positions may suffer floating losses or even face liquidation risk. Therefore, it is recommended to set stop loss prices at reasonable positions above and below the grid to stop losses in time.

4.4 After grid creation, invested funds will be isolated from the trading account and used independently in the grid strategy. Therefore, users need to pay attention to the risk that funds being transferred out bring to the overall positions in the trading account.

4.5 If during grid strategy operation, the currency encounters unpredictable abnormal situations such as trading suspension or delisting, the grid strategy will automatically stop.

Disclaimer

This article may contain product-related content not applicable to your region. This article is only intended to provide general information and assumes no responsibility for any factual errors or omissions herein. This article represents only the author's personal views and does not represent the views of OKX. This article is not intended to provide any of the following advice, including but not limited to: (i) investment advice or investment recommendations; (ii) offers or solicitations to purchase, sell, or hold digital assets; or (iii) financial, accounting, legal, or tax advice. Holding digital assets (including stablecoins) involves high risk, may fluctuate significantly, and even become worthless. You should carefully consider whether trading or holding digital assets is suitable for you based on your financial situation. For questions about your specific situation, please consult your legal/tax/investment professional. The information appearing in this article (including market data and statistics, if any) is for general reference only. Although we have taken all reasonable precautions in preparing these data and charts, we assume no responsibility for any factual errors or omissions expressed herein. © 2025 OKX. This article may be reproduced or distributed in full, or excerpts of 100 words or less from this article may be used, provided such use is non-commercial. Any reproduction or distribution of the entire article must also prominently state: "Copyright © 2025 OKX. Used with permission." Permitted excerpts must cite the article name and include attribution, for example "Article Name, [Author Name (if applicable)], © 2025 OKX". Some content may be generated or assisted by artificial intelligence (AI) tools. Derivative works or other uses of this article are not permitted.

Show More

Recommended Reading

thumbnail:spot-grid-strategy

Quick Overview of Spot Grid Strategy

Quick Overview of Spot Grid Strategy-video### I. What is Spot Grid Strategy? The spot grid

October 28, 2024

thumbnail:strategy-okx

Contract Version Martingale: Supports Leverage and Two-Way Trading

DCA, short for Dollar Cost Averaging, is more commonly known in China as Martingale strategy, which is often used in traditional financial foreign exchange markets. If you always worry about not being able to catch the bottom, or always miss opportunities to profit from shorting during pullbacks, then understanding and using Martingale strategy will be of great help to your investment in the crypto market. The basic principle of Martingale strategy is

June 20, 2024

thumbnail:lend-borrow-cryptocurrency-okex-c2c-loan-tutorial

HODL Strategy Feature Upgrade: A More Intelligent, User-Friendly, and Convenient Profit Tool

Quick Overview of HODL Strategy-videoOKXOKX HODL strategy roughly

May 6, 2024

thumbnail:fixed-investment-strategy

Strategy Tool Favored by Long-Term Traders—DCA

DCA strategy is one of the most classic strategies in strategy trading. Simply put, strategy trading is a tool that helps users trade automatically, which has advantages such as reducing risk and simplifying operations compared to manual trading. DCA strategy is a method of regular fixed-amount trading that spreads the risk of one-time investment and smooths trading costs. By persisting in fixed-amount trading over the long term, it uses the effect of time compounding to achieve profit goals. OKX spot DCA invests at fixed time cycles with

April 25, 2024

thumbnail:the-analysis-of-dca-strategy

Universal Tool for Bottom Fishers—Martingale Strategy

Universal Tool for Bottom Fishers—Martingale Strategy-videoDC

April 25, 2024

Ready to Start Trading?

Register on OKX with invite code OKK329 and enjoy 20% trading fee discount

Register Now

Invite Code: OKK329

Related Articles