> 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/user-guide/create-futures-bot.md).

# Create Futures Bot

Build and manage a futures trading bot in Origami Tech. Learn to define leverage, margin settings, and position logic for automated strategy execution.

## **Step 1: Adding a New Bot**

### 1. **Open the "Bots" section**

In the top menu of your platform, locate and click on the "Bots" tab. This page displays any existing bots (if available).

### 2. **Click "Add Bot"**

To create a new bot, click the "Add Bot" button located in the top-right corner of the screen, as indicated by the arrow in the screenshot.

<figure><img src="https://3075831504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh6BkURa7HNU017yGuhBt%2Fuploads%2Fq6o6FQVry5oOoE9uCzTK%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202024-12-20%20%D0%B2%2013.23.04.png?alt=media&amp;token=f67a8061-5a9b-4e25-9976-3161b6261f26" alt="Create Futures Bot on Origami tech, click &#x22;add bot&#x22; in the top right corner"><figcaption></figcaption></figure>

## **Step 2: Entering Bot Information**

### 1. Provide the basic information about the bot

&#x20;A form will appear for entering the details of the new bot. Fill in the following fields:

* **Bot Name**: Enter the name of your bot (e.g., "Grid\_bot").
* **Account**: Select the exchange account that the bot will operate on.
* **Coins**: Specify the base currency (*Base Coin*) and the counter currency (*Counter Coin*) for the trading pair.
* **Margin Mode**: Choose between **Cross** and **Isolated** margin mode.
* **Leverage**: Select the leverage level for the bot. Higher leverage increases potential profits but also increases risk.

### 2. Click "Next"

After entering the required information, click the "Next" button to proceed to the next step.

<figure><img src="https://3075831504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh6BkURa7HNU017yGuhBt%2Fuploads%2FhpDRGso0uQVxcYmBa53j%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202025-03-03%20%D0%B2%2015.15.02.png?alt=media&amp;token=a8bbe031-1af9-48f3-a853-13a8582018b7" alt="setting up Create Futures Bot in origami tech "><figcaption></figcaption></figure>

## **Step 3: Configuring Trading Bot Parameters**

### 1. **Set Strategy Parameters**

In this step, you need to define the parameters that will guide the bot's trading actions:

* [**execute\_price**](/function/required-parameters/execute-price.md#execute_price-decimal-or-formula-greater-than-decimal): Specify the execution price. You can use the `ticker_futures()` function to automatically set the current price.
* [**execute\_volume**](/function/required-parameters/execute-volume.md#execute_volume-decimal-or-formula-greater-than-decimal): Enter the trading volume in units of the base currency.
* [**buy\_orders\_count**](/function/required-parameters/buy-orders-count.md#buy_orders_count-integer-or-formula-greater-than-integer) and [**sell\_orders\_count**](/function/required-parameters/sell-orders-count.md#sell_orders_count-integer-or-formula-greater-than-integer): Define the number of buy and sell orders the bot should place.

### 2. **Save Configuration**

After setting all the parameters, click **Save** to store the bot's configuration.

The bot will now be ready to operate based on the defined trading strategy.

<figure><img src="https://3075831504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh6BkURa7HNU017yGuhBt%2Fuploads%2FLYIdK6F1ieTaB44oSDxb%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202025-03-03%20%D0%B2%2015.29.31.png?alt=media&amp;token=88630cb6-2929-4647-a009-42feec8d39e3" alt="Step 3: Configuring Trading Bot Parameters on origami tech"><figcaption></figcaption></figure>

## Step 4:  Import Preset

### 1. Select a Preset

* Click the **Import Preset** button.
* In the pop-up window, choose the desired preset from the list.
* You can switch between **Bot** (global strategies) and **Grid** (order grids) categories.

<figure><img src="https://3075831504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh6BkURa7HNU017yGuhBt%2Fuploads%2FKvghy4IEnoIPsN58fGOl%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202025-03-03%20%D0%B2%2015.38.37.png?alt=media&amp;token=e729c649-3165-4fc1-8ee4-64d1356c15aa" alt="importing project preset for futures trading bot on origami tech"><figcaption></figcaption></figure>

### 2. Import Settings

* Review the preset parameters on the right side of the window.
* Click **Import** to load the selected configuration.

<figure><img src="https://3075831504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh6BkURa7HNU017yGuhBt%2Fuploads%2FOrV2QPlvqLjrkdz1B9ba%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202025-03-03%20%D0%B2%2015.37.04.png?alt=media&amp;token=880f2f30-31e1-44e4-a8a3-12773b6fcc71" alt="importing future bot settings on origami tech"><figcaption></figcaption></figure>

### 3. Modifying Parameters Before Importing

* After selecting a preset, its parameters will be displayed on the right side of the window.
* The values of the variables can be modified before importing, allowing users to customize the strategy to fit their needs.

<figure><img src="https://3075831504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh6BkURa7HNU017yGuhBt%2Fuploads%2FCxpcmQAvMPXxxJEqdYcl%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202025-03-03%20%D0%B2%2015.37.32.png?alt=media&amp;token=8f7bf4c7-fd2a-4132-872f-dd8d9a0af76d" alt="Modifying Parameters Before Importing in origami tech"><figcaption></figcaption></figure>

### 4. Edit and Launch

* After importing, the preset parameters will automatically fill in the bot creation form.
* You can modify them before saving.
* Click **Save** to save the bot or **Save and Exit** to exit.

***
