< All Topics
Print

gridbots

The Gridbot strategy in AILidex focuses on automating trading through a grid of limit buy and sell orders. This approach is designed within a defined price range, offering a systematic method for executing trades.

Gridbots in action

Key Configuration Settings
The Gridbot strategy offers several configuration options to tailor the trading approach:

Invest per Buy Order: This setting controls the investment amount for each buy order within the grid.

Max Orders per Side: It defines the maximum number of orders that can be open on each side of the trade. For instance, a setting of 5 allows for up to 5 buy and 5 sell orders simultaneously.

Rebalance: Activating this feature triggers the purchase of assets equal to the value of ‘max orders’ multiplied by ‘invest per order’ when the bot lacks sufficient assets to sell.

Steps % for Gridbots: This option sets the percentage interval for creating the grid. If disabled, the grid size is automatically adjusted based on ATR (Average True Range).

Gridbots settings

Behavioral Overview of the Gridbot Strategy
Initialization
At the start, the Gridbot strategy performs a balance check. If the rebalance option is enabled and the asset balance is low, the bot conducts a market purchase to ensure enough assets for the desired number of sell grids.

Interval Calculation
The strategy calculates trading intervals using either a user-specified percentage or based on market volatility indicators.

Price Range Filtering
Gridbot identifies the lower and higher price points around the current market bid to establish the grid’s boundaries.

Interval Adjustment
In response to significant market price movements, Gridbot recalculates intervals to maintain an effective grid structure.

Chart Target Management
The strategy provides a visual representation of bid and ask prices within the grid, enabling easy tracking on custom chart targets.

Order Execution and Management
Gridbot systematically places and manages buy and sell orders. It adheres to the set investment limit and adjusts orders as necessary, aligning with the grid’s structure.

Table of Contents