What is spot grid trading and how does it work
Grid trading is a type of quantitative trading strategy. This trading bot automates buying and selling on spot trading. It is designed to place orders in the market at preset intervals within a configured price range.
Grid trading is when orders are placed above and below a set price, creating a grid of orders at incrementally increasing and decreasing prices. In this way, it constructs a trading grid.
Binance Spot Grid Trading performs the best in volatile markets when prices fluctuate within a specific range. Essentially, grid trading attempts to make profits on small price changes. Through quantitative trading, it helps you trade rationally and avoid FOMO where possible.
Risk Warning: Grid trading is a trading tool that should not be regarded as financial or investment advice from Binance. Undisciplined setting, unilateral quotation, market prices out of the grid range, all of the above scenarios will result in losses. Grid trading is used at your discretion and at your own risk. Binance will not be liable for any loss that might arise from your use of the feature. It is recommended that users should read and fully understand the Grid Trading Tutorial and make risk control and rational trading within your financial ability.
How does Spot Grid Trading strategy work?
[Trade] – [Strategy Trading] – [Spot Grid]. Select a trading pair.
1. Log in to your Binance account on the Binance website, and click. Select a trading pair.
Alternatively, go to the Binance App and tap [Trade] – [Spot] – […] and choose [Spot Grid].
Before you set up a strategy, you need to read and agree to the Risk Disclosure Statement first.
2. Select either the [Arithmetic] or [Geometric] mode. Set the grid parameters, including the upper and lower price, grid number, and the coin to invest.
The system will calculate the minimum investment amount required based on the grid number and coin you selected. Enter the amount to invest and click [Create] to place your order.
Please make sure that you have sufficient balance in your Spot Wallet.
Spot Grid Trading parameters:
2.1 Arithmetic & Geometric mode
- In arithmetic mode, each grid has an equal price difference.
- In geometric mode, each grid has an equal price difference ratio.
- The more grids you include, the more funds you need to invest.
What is Arithmetic mode?
Arithmetic mode: Each grid has an equal price difference(e.g. 1, 2, 3, 4…).
The arithmetic grid divides the price range from Lower Price to Upper Price into the number of grids by equal price difference.
The price difference of each grid is:
Spread = (Upper Price – Lower Price) / Number of grids
The price distribution will be as follows:
Price_1 = Lower Price
Price_2 = Lower Price + Spread
Price_3 = Lower Price + Spread * 2
Price_n = Lower Price + Spread * (n-1)
The highest price is Upper Price, where n = the number of grids.
Example: Arithmetic Grid = 100: 1000, 1100, 1200, 1300, 1400,… (the next price is 100 higher than the previous one)
What is Geometric mode?
Geometric mode: Each grid has an equal price difference ratio. Price range of each cell of the geometric grid is proportional (e.g. 1, 2, 4, 8…). The profits are fixed between each grid.
The geometric grid divides the price range from the Lower Price to the Upper Price into the number of girds by equal price ratio.
The price ratio of each grid is:
Ratio = (Upper Price / Lower Price) ^ (1/n) * 100%
n = the number of girds
The price distribution will be as follows:
Price_1 = Lower Price
Price_2 = Lower Price * Ratio
Price_3 = Lower Price * Ratio ^ 2
Price_n = Lower Price* Ratio ^ (n-1)
The highest price is the Upper Price, where n = the number of grids.
2.2 Lower Price and Upper Price
Lower Price: Bottom of the grid trading price range. The system will no longer execute orders when the market price is lower than the Lower Price.
Upper Price: Top of the grid trading price range. The system will no longer execute orders when the market price is higher than the Upper Price.
Divide the interval upper limit price and interval lower limit price into corresponding shares.
2.4 Invested Coin
You can choose to invest in single or dual crypto.
For example, if you chose to invest by BTC, the strategy will only use BTC from your Spot Wallet. If you choose to invest by BTC+BNB, the strategy will use both BTC and BNB from your Spot Wallet.
Please note that the actual investment amount required for the Grid Trading strategy depends on the market and may not equal the amount you entered.
2.5 Available amount
The available assets in your Spot Wallet.
Your grid creation might fail if there is insufficient balance in your Spot Wallet. Please note that the frozen assets from other open orders cannot be used to place new orders. You can cancel your open orders to utilize your available assets, or adjust the number of grids to reduce the investment amount required to open orders.
2.6 Trigger Price (Optional)
The grid orders will be triggered when the Last Price rises above or falls below the trigger price you entered.
2.7 Stop Trigger (Optional)
You can use Stop Trigger to stop trading when the market price triggers the set prices:
- Stop Loss: should be less than the lower price, last price and trigger price; when the latest market price reaches the Stop Loss price, the grid will stop working.
- Take Profit: should be higher than the upper price, last price and trigger price; when the latest market price reaches Take Profit price, the grid will stop working.
For example, if you create a BTC grid order with no trigger price, a certain percentage of BNB will be immediately bought at the market price for opening the grid trading. If you set a trigger price, the system will wait for the market price to hit the trigger before buying BNB at the set price.
If you have both BTC and BNB in your Spot Wallet, you can also choose to invest in BTC+BNB to avoid the additional expense (e.g. transaction fees) incurred when buying BNB.
2.8 Sell All Base Coins on Stop
Once you enabled the [Sell All Base Coins on Stop] function, the strategy will automatically sell all base coin at market price when the grid is stopped. When the function is disabled, all base coin will be kept in your Spot Wallet.
Click [End] to stop grid operation. Running orders will be canceled and all profits will be settled immediately at market price.
Spot Grid Trading follows the spot market trading rules . You need to abide by the rules when placing orders.
How to check my Spot Grid orders?
1. For running orders:
To check your order progress, click the [Running] tab and click on the order icon next to the order.
2. You will be redirected to the order details page.
You can check the order progress under each tab:
- Working: Your on-going Grid trading orders;
- Completed: Orders already filled under this strategy;
- Grid Details: Details of your grid settings. You can still set or edit the Stop-Trigger price under Advanced Settings after the grid has been created.
3. For past orders:
Click on the [History] tab to check your grid trading history and view grid details of completed orders.
How to set up a Grid Trading strategy?
You can use Grid Trading strategy to buy low and sell high. Let’s use BTC/BUSD as an example. Suppose your strategy parameters are set as below:
- Upper price: 60,000 BUSD
- Lower price: 40,000 BUSD
- Number of grids: 5
- Mode: Arithmetic
- Amount invested: 10,000 BUSD
- Current price of BTC/BUSD: 50,000 BUSD
The price structure of this strategy will be placed at 60,000 BUSD, 56,000 BUSD, 52,000 BUSD, 48,000 BUSD, 44,000 BUSD, and 40,000 BUSD according to the parameters you set.
Binance Spot Grid Trading uses normal grids. Orders are placed from the top grid to the bottom grid. When a buy order is filled, a sell order will be placed on the grid above it. As the upper price is set at 60,000 BUSD, the grid strategy will begin by placing a buy order at 56,000 BUSD. This buy order price is higher than the current price (50,000 BUSD), so in theory it will be immediately filled. After the 56,000 order is filled, a new sell order will be placed at 60,000 BUSD. When the buy order at 52,000 BUSD is filled, a sell order of 56,000 BUSD will be placed accordingly and reaches the 48,000 BUSD grid. As the current price is 50,000 BUSD, the buy order at 48,000 cannot be filled, therefore no orders will be placed at 52,000 BUSD. Similarly, the buy orders at 44,000 and 40,000 BUSD will not be filled.
This is how Grid Trading calculates the actual amount of base currency needed for placing orders and paying transaction fees. It will then automatically place market orders to buy the base currency needed for the grid. When the grid strategy is successfully activated, the order placement will be as follows:
Price (BUSD)Order Type60,000Sell56,000Sell52,000No orders will be placed48,000Buy44,000Buy40,000Buy
After implementing Grid Trading, when the current price drops to 48,000 BUSD, the buy order will be filled and a sell order will be placed at 52,000 BUSD. When the market price pulls back to 52,000 BUSD, the sell order will be filled and a buy order will be placed at 48,000 BUSD to buy low and sell high.
When the BTC price rises above 60,000 BUSD or falls below 40,000 BUSD, the strategy will be suspended. When the price returns to the price range you set, the strategy will resume.
*Risk Warning: The above parameter settings are for reference only. Crypto trading carries substantial risk and the possibility of both significant profits and losses. The information here should not be regarded as financial or investment advice from Binance. All trading strategies are used at your discretion and your own risk. Binance will not be liable to you for any loss that might arise from your use of Grid Trading. We strongly recommend you to set stop-trigger orders in advance to prevent uncontrollable market movements from causing irreparable losses.
Lower Price: Bottom of the grid trading price range. The system will no longer execute orders after the market price is lower than the Lower Price.
Upper Price: Top of the grid trading price range. The system will no longer execute orders after the market price is higher than the Upper Price.
Grids: Divide the interval upper limit price and interval lower limit price into corresponding shares.
The price difference of each grid of Arithmetic is: Spread = (Upper Price – Lower Price) / Number of grids
The price ratio of each grid of Geometric is: Ratio = (Upper Price / Lower Price) ^ (1/n)*100%; n= the number of grids
Total Profit: Grid Profit + Unrealized P&L
Grid Profit: The realized profit of filled grid orders that are matched by one buy-order and one sell-order. The trading fees incurred during the strategy are already deducted in the Grid Profit.
Unrealized P&L: The latest price of the base currency in the current trading pair – the opening price. This is the floating profit/loss of the grid trade caused by the rise or fall in the market price of the base currency.