Create Grid
Last updated
Last updated
Create a project: Follow the steps to create a new project.
Add an account: Link your exchange account to the platform.
Create a bot: Set up a bot with the necessary parameters.
Once the above steps are completed, click the plus button ("+") to begin configuring the grid.
After clicking the plus button ("+"), a basic grid configuration will automatically appear, pre-filled with default values.
A single buy order will be placed at the last trade price for the current pair and exchange, as determined by the bot's configuration ( ticker
()
).
The order size is set to 100 tokens of the base currency (Base).
These pre-filled values provide a quick start, allowing you to adjust further settings as needed.
Type: Number
Description: The price levels at which orders will be placed.
Formula: Prices are calculated based on the parameter order_pos, which determines the relative position of the orders.
For Buy Orders: The order_pos
parameter takes values in the range [-1,...,-
buy_orders_count
].
For Sell Orders: The order_pos
parameter takes values in the range[1,...,
sell_order_count
]
.
This parameter ensures the grid accurately places multiple orders at varying price levels, both above and below the market price.
Type: Number
Description: The trading volume for each order, expressed in the Base token.
Formula: The volume is calculated based on the order_pos parameter:
For Buy Orders: order_pos
takes values from [-1,...,-
buy_orders_count
].
For Sell Orders: order_pos
takes values from [1,...,
sell_order_count
]
.
This parameter determines the amount of the base currency to be traded at each price level, ensuring consistent volume allocation across the grid.
Type: Number
Description: The number of buy orders (bid) to be placed for the Base token.
Formula: Defines the total count of buy orders, with prices determined using the order_pos parameter in the range [-1,...,-
buy_orders_count
]
.
Type: Number
Description: The number of sell orders (ask) to be placed for the Base token.
Formula: Defines the total count of sell orders, with prices determined using the order_pos parameter in the range [1,...,
sell_order_count
]
.
These parameters ensure that the grid creates the specified number of buy and sell orders at their respective price levels.
Type: Number
Description: The time interval (in seconds) between placing successive orders in a single grid.
Purpose: Reduces the frequency of API requests to the exchange, helping avoid exceeding the exchange's rate limits.
Type: Number
Description: The time interval (in seconds) between grid updates.
Purpose: Controls how often the grid is refreshed, balancing performance and API usage efficiency.
These fields are not mandatory but can optimize grid operations by managing API request frequency and reducing the likelihood of exceeding exchange limits.
Description: When this option is enabled, users act as market makers.
Functionality:
If the Post-Only option is selected, any limit order you place will never immediately match with an existing order in the order book.
Instead, it ensures that your order always enters the order book as a maker order, providing liquidity rather than taking it.
This option is useful for users looking to avoid taker fees or ensure their orders contribute to market liquidity.
To activate the grid, toggle the Toggle Switch to the enabled state.
This action will initiate the grid and start executing the configured trading strategy.
To create and configure additional parameters for your grid, click the + Add Row button.
This allows you to define custom settings or expand the functionality of your grid configuration as needed.
In the newly added row, input the variable name and its corresponding value.
You can create auxiliary parameters to be used in formulas for more advanced configurations.
After making any adjustments to the grid, ensure you save the changes to apply the new settings.
This approach enables dynamic and flexible grid customization tailored to specific trading strategies.
To view the pre-calculated orders based on the logic defined in the grid, click the Research button.
This feature allows you to verify and analyze the orders before activation, ensuring the grid is configured correctly and aligns with your trading strategy.
It is possible to create custom parameters with decimal or integer value
Example:
Create custom parameter spread
and use it in execute_price
Also, it is possible to create custom formula as parameter’s value and use parameter’s key as alias for it.
Define new parameter with some name (ex: spread
)
Define parameter value with some formula (ex: random
() * 2
)
An example of using additional parameters to set a grid with a spread of 1% and a step of 2% for subsequent orders.
Click the Turn into JSON button to enable editing the grid in JSON format.
Quickly insert a previously saved or pre-written grid configuration.
Copy the current grid settings for reuse or backup.
Make detailed edits directly in the JSON structure for faster and precise adjustments.
After editing, ensure you save the configuration to apply the updates.
This feature is ideal for users who prefer direct JSON manipulation or need to efficiently manage complex grid setups.
Preview Variables
Before saving your changes in JSON format, click the Show Form button.
Purpose:
This step ensures that all variables and parameters are correctly recorded and properly mapped to the grid's logic.
Save Changes
Once verified, proceed to save the configuration to finalize the grid setup.
This process helps avoid errors and ensures the grid operates as intended.