> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/getting-started/first-grid.md).

# Build your first grid

Build a simple buy-only grid with three price levels. You’ll configure the orders, preview them in simulation, and learn how to activate the grid.

{% hint style="info" %}
**You need:** a connected exchange account and enough USDT to cover the orders.
{% endhint %}

{% stepper %}
{% step %}

### Open your bot

* Open **Bots** and select your Spot Bot.
* Make sure the bot is stopped before changing its configuration.

<figure><img src="https://602593284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDjboTEEPFNxFhKJ6msZi%2Fuploads%2Fnzj0b3ACzW6hvD4VEdgP%2Fimage.png?alt=media&amp;token=7a7507f7-e619-490b-941a-cd1ed5245387" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Add a grid

* Click **+** next to the grid tabs.
* A new grid opens with default values.
* Keep it disabled while you configure the orders.

<figure><img src="https://602593284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDjboTEEPFNxFhKJ6msZi%2Fuploads%2FIbeE49MxS9ajQ2MmPUjm%2Fimage.png?alt=media&amp;token=946a04d1-4aab-458b-8981-7c8903c4afcc" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Configure your orders

Replace the default values:

* [**execute\_price**](https://docs.origami.tech/reference/grid-language/required-parameters/execute-price.md#execute_price-decimal-or-formula-greater-than-decimal)**:** `ticker() * (1 + order_pos * 0.01)`
* [**execute\_volume**](https://docs.origami.tech/reference/grid-language/required-parameters/execute-volume.md#execute_volume-decimal-or-formula-greater-than-decimal)**:** `0.0001`
* [**buy\_orders\_count**](https://docs.origami.tech/reference/grid-language/required-parameters/buy-orders-count.md#buy_orders_count-integer-or-formula-greater-than-integer)**:** `3`
* [**sell\_orders\_count:**](https://docs.origami.tech/reference/grid-language/required-parameters/sell-orders-count.md#sell_orders_count-integer-or-formula-greater-than-integer) `0`

For buy orders, `order_pos` takes the values **−1, −2, and −3**. The formula creates three levels at **1%, 2%, and 3% below the current price**, each buying **0.0001 BTC**.

<figure><img src="https://602593284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDjboTEEPFNxFhKJ6msZi%2Fuploads%2Fa8K4ggZI805qUYY2D1Jf%2Fimage.png?alt=media&amp;token=07353637-9b7c-44bc-93c9-0a8c63a29f8d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Save and simulate

* Click **Save**, then open **Simulate**.
* Click **Refresh** to recalculate the levels.
* Check the **Price**, **Amount**, and **Error** columns.
* Resolve any balance or order-size errors before continuing.

Simulation previews your configuration without placing orders.

<figure><img src="https://602593284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDjboTEEPFNxFhKJ6msZi%2Fuploads%2Fp0V7Hj0zFp5M7TBic85Q%2Fimage.png?alt=media&amp;token=5d44c06f-0948-493e-9d18-89f32ca87fb0" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Activate your grid

* Disable any other grids you don’t want the bot to execute.
* Enable your new grid using the switch beside its name.
* Click **Save**, then **Run** when you’re ready to trade.

Run starts live trading and places real orders.
{% endstep %}
{% endstepper %}
