> For the complete documentation index, see [llms.txt](https://docs.itradingbot.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.itradingbot.net/en/trading-terminal/order-grid-optimizer-in-the-terminal.md).

# Order grid optimizer in the terminal

<mark style="color:$tint;">The optimizer in Binance and Bybit Futures terminals transcribes grid parameters without indicator signals. First, he counts on the options of history. You can then save the selected option, view it on a graphic or use it to configure the robot.</mark>

### Select the tool and the mode of calculation

<mark style="color:$tint;">Open the</mark> [<mark style="color:$tint;">Binance terminal</mark>](https://app.itradingbot.net/terminal-binance) <mark style="color:$tint;">or Bybit terminal, select the tool on the chart and block</mark> <mark style="color:$tint;">**The grid optimizer**</mark><mark style="color:$tint;">. —</mark> [<mark style="color:$tint;">The Bybit terminal</mark>](https://app.itradingbot.net/terminal-bybit) <mark style="color:$tint;">Type the name of the tool at the top of the block and select a long or short.</mark>

<mark style="color:$tint;">GPU mode performs the calculation in the browser: it uses a video card, and when it is not available processor. The history is uploaded online. This mode requires an available browser cache; maximum period 92 days. Leave the page open until the end of the calculation.</mark>

<mark style="color:$tint;">Modal mode uses cloud computing in your Modal account. In the Modal key tab, go to the key link and fill in the Token ID and Token Secret. They're stored in this browser. The cleaning button removes the local storage; the token is retrieved in Modal.</mark>

<mark style="color:$tint;">Modal keys are not required for GPU mode. For cloud launch, check Modal's terms and conditions in advance: the costs are related to your account, and the cost shown by the optimizer is an estimate. —</mark> [<mark style="color:$tint;">Payment terms of Modal</mark>](https://modal.com/docs/guide/billing) <mark style="color:$tint;">Don't put the keys in the screenshots.</mark>

### Fill in the original data

<mark style="color:$tint;">Enter the beginning and end of the period, deposit model, leverage, margin type and commission maker and taker. Commissions in the form should be compared with your trading conditions: the fields filled out do not in themselves confirm your exchange rate.</mark>

<mark style="color:$tint;">The deposit here is used to calculate the model. Changing this field doesn't replenish the trading account. The calculation relates to the chosen direction and grid without signals; the conditions of indicators from another constructor are not transferred here.</mark>

### Set a break-even stop for Bybit

<mark style="color:$tint;">The Bybit optimizer has fields for the</mark> **BE trigger** <mark style="color:$tint;">and</mark> **BE stop level**<mark style="color:$tint;">. The pair is fixed for every variant and has no optimization range. Two empty fields mean disabled; supplying only one value is an error.</mark>

<mark style="color:$tint;">Each result row and saved favorite keeps its own BE pair. Transfer to the</mark> **Order grid**<mark style="color:$tint;">, robot creation and direct launch apply it only to a supported Bybit Exchange Account. With another robot, BE remains off or the action is blocked. See</mark> [Break-even stop](/en/tools/calculations-and-verification/break-even-stop.md)<mark style="color:$tint;">.</mark>

### Set the settings

<mark style="color:$tint;">Turn on the override of the necessary parameters: the grid's step and dynamic step, the number of insured orders, the marting, the volume of the first order, the take-profit and the stop.</mark>

<mark style="color:$tint;">Fill in Min, Max and Shag in each line. The last field specifies the interval between the parameters being checked. The final number of combinations is shown under the ranges.</mark>

<mark style="color:$tint;">If the overlay is turned off, the optimizer uses one fixed value from its Min field. It remains available for editing. Check the off lines before you count.</mark>

<mark style="color:$tint;">The net step, the taek-profit and the stop are set in percentages; the dynamic step and the martinggeil are multiples. The number of insurance orders is an integer. The volume of the first order determines the size of the order, not the amount of its margin. The pre-filled values are not a trade recommendation.</mark>

<figure><img src="https://1830394604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6lHX8ZJXkBHNJALLsrDj%2Fuploads%2FS8AjpmHEzZBYtufMbSoO%2Fvisual-pass-20260914-terminal-optimizer-ranges.jpg?alt=media" alt="A demonstration of the transition ranges in the terminal optimizer."><figcaption><p>A demonstration of the transition ranges in the terminal optimizer.</p></figcaption></figure>

### Enter the selection conditions and start the calculation

<mark style="color:$tint;">Filters limit the permissible drop, the duration of the trade, the use of funds and the width of the grid, and set the minimum number of trades. An empty field or zero turns off the filter. Check the units next to the field, for example, the duration is in clock.</mark>

<mark style="color:$tint;">The WF Segment field defines the period check. For the value of 1, one calculation is used; the larger value adds calculations by segments. In this mode, the selection takes into account the results of the segments, and the order of the best options is determined by the average profit on them. It's a check on the same history you've chosen, not a confirmation of future earnings.</mark>

<mark style="color:$tint;">Click Count and track the launch status. This button starts the selection of parameters. If the ranges exceed the computation limit, reduce the number of combinations or periods according to the form message.</mark>

### Read the result and save the option

<mark style="color:$tint;">The result is up to 30 past selections. Compare the profit, the number of transactions, the share of profitable transactions, the time and duration of the transactions with the actual period of data. When checking segments, the profit in the main line is for the full period and may differ from the indicator for which the best option was chosen.</mark>

<mark style="color:$tint;">The star keeps the option in the</mark> <mark style="color:$tint;">**Selected**</mark> <mark style="color:$tint;">tab. It's a search, destination selection and removal of saved options. The selected data is stored in this browser separately for the exchange; clearing the browser data may delete it.</mark>

<mark style="color:$tint;">The result depends on the history, model and mode of computation. Profit on history does not guarantee profit on real trade. Changing the shape settings after the calculation doesn't recount the old ones.</mark>

<figure><img src="https://1830394604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6lHX8ZJXkBHNJALLsrDj%2Fuploads%2FS9Ecw4GpVPna4xA31mJb%2Fvisual-pass-20260914-terminal-optimizer-results.jpg?alt=media" alt="A demonstration of the results of the terminal optimizer."><figcaption><p>A demonstration of the results of the terminal optimizer.</p></figcaption></figure>

### Look at the net and open the robot shape.

<mark style="color:$tint;">The preview draws the grid levels on the chart relative to the current price. For a saved version of another tool, the graphic can be switched to that tool. Preview cleaning clears the lines off the schedule.</mark>

<mark style="color:$tint;">Opening the RM opens the risk calculation for the selected grid. Check the deposit, leverage and current instrument limitations before you rate.</mark>

<mark style="color:$tint;">**Creating a robot**</mark> <mark style="color:$tint;">opens up the choice and form of creating a task with the parameters you've prepared. At this step, the task is not yet launched. Compare the fields moved into a shape: the configuration depends on the type of robot.</mark>

<mark style="color:$tint;">When working with a fresh result, the leverage and the margin type are taken from the current fields of the optimizer. If you changed them after the calculation, the data saved describes the previous calculation. Before you move, check these fields and the tool again.</mark>

### Check the direct start separately

<mark style="color:$tint;">The Start button is available for the connected robot. It sends the task creation and launch teams for real trading. Check your account, tool, direction, volume, leverage, net and cycle count.</mark>

<mark style="color:$tint;">The Grid-robot of Bybit's exchange account bypasses the quantitative limits of active tasks and the single-directional mode. Checks on an already active task and a busy pair with the same direction are maintained.</mark>

<mark style="color:$tint;">Once confirmed, check the robot's task and the status of the orders on the exchange. Creating and running can be separate steps: if you make a mistake, first check the status of the task you've already created. The message that the team has been sent or accepted does not confirm the execution of the order.</mark>
