> For the complete documentation index, see [llms.txt](https://docs.vooi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vooi.io/vooi-ultra-v3/arbitrage-bots.md).

# Arbitrage Bots

## Overview

<figure><img src="https://3071033198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXCba6CdwFKbzdASxvC5H%2Fuploads%2F3yr8PbPdpQN5CFwELLn9%2Fimage.png?alt=media&amp;token=f59db0cf-ba1e-438e-9f57-715fef17beeb" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
VOOI Delta-Neutral Arbitrage Bots: <https://ultra.vooi.io/bots>
{% endhint %}

VOOI Ultra **Arbitrage Bots** automate delta-neutral strategies across supported venues.

A bot opens a **long position on one venue and a short position on another for the same asset**. Holding opposite positions helps reduce exposure to the asset’s overall price direction while the bot follows the selected goal.

You can run up to **20 bots per account**, each with its own goal, venues, and margin settings.

{% hint style="info" %}
**Arbitrage Bots are designed for automated strategy search and execution.**

If you want to choose and compare strategies yourself, use **Arbitrage Desk**. You can also use it to see the opportunities available to the bots. Learn more in [VOOI Arbitrage Desk](/vooi-ultra-v3/vooi-arbitrage-desk.md)
{% endhint %}

## How Arbitrage Bots Work

An Arbitrage Bot opens a **long position on one venue and a short position on another for the same asset**. Holding opposite positions helps reduce exposure to the asset’s overall price direction while the bot works toward the selected goal.

Every minute, the bot checks the pairs available on the selected venues and markets. It filters them using the selected goal’s funding conditions and cost limit.

If several pairs qualify, the bot selects the one expected to generate the most funding over the holding period after estimated opening and closing costs. If a funding spread has just jumped, the bot limits the value used in this estimate to no more than its daily average.

One leg is placed as a resting **Limit order**.

Once a pair is open, the bot manages both legs automatically and closes the pair according to the selected goal’s rules or when one of the legs approaches liquidation. After closing, it starts looking for another eligible pair.

Stopping the bot also closes its current pair.

## Bot Goals

<figure><img src="https://3071033198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXCba6CdwFKbzdASxvC5H%2Fuploads%2FycUGeNUQDtpTbW9DTxHP%2Fimage.png?alt=media&amp;token=69259e0d-e25e-4059-b431-af3bd2fff7da" alt=""><figcaption></figcaption></figure>

The first step when creating a bot is to choose a **goal**. The goal determines how the bot looks for opportunities and when it opens and closes a pair.

#### **Earn funding**

Designed to target sustained funding opportunities.

<table data-header-hidden><thead><tr><th width="149"></th><th></th></tr></thead><tbody><tr><td><strong>Entry</strong></td><td>Funding Spread stayed positive for <strong>12 hours</strong> and paid over the last day.</td></tr><tr><td><strong>Cost limit</strong></td><td>Up to <strong>0.40%</strong> to open and close the pair.</td></tr><tr><td><strong>Expected profit</strong></td><td>Expected funding over the holding period must exceed estimated opening and closing costs by at least <strong>0.10%</strong>.</td></tr><tr><td><strong>Max hold</strong></td><td><strong>14 days</strong></td></tr><tr><td><strong>Closes earlier if</strong></td><td><ul><li>Funding paid nothing over the last day, turns strongly against the pair, or a leg approaches liquidation.</li><li>If the bot closes a pair early, it starts searching for another eligible pair.</li></ul></td></tr></tbody></table>

#### **Hold open interest**

Designed to keep a hedged position open while funding continues to pay.

<table data-header-hidden><thead><tr><th width="149"></th><th></th></tr></thead><tbody><tr><td><strong>Entry</strong></td><td>Funding Spread stayed positive for <strong>6 hours</strong> and paid over the last day.</td></tr><tr><td><strong>Cost limit</strong></td><td>Up to <strong>0.25%</strong> to open and close the pair.</td></tr><tr><td><strong>Max hold</strong></td><td><strong>7 days</strong></td></tr><tr><td><strong>Closes earlier if</strong></td><td><ul><li>Funding paid nothing over the last day, turns strongly against the pair, or a leg approaches liquidation.</li><li>If the bot closes a pair early, it starts searching for another eligible pair.</li></ul></td></tr></tbody></table>

#### **Trade volume**

Designed to generate trading volume while using positive funding opportunities.

<table data-header-hidden><thead><tr><th width="149"></th><th></th></tr></thead><tbody><tr><td><strong>Entry</strong></td><td>Funding is positive at the time of entry.</td></tr><tr><td><strong>Cost limit</strong></td><td>Up to <strong>0.25%</strong> to open and close the pair.</td></tr><tr><td><strong>Max hold</strong></td><td><strong>4 hours</strong></td></tr><tr><td><strong>Closes earlier if</strong></td><td><ul><li>Funding turns clearly against the pair or a leg approaches liquidation.</li><li>If the bot closes a pair early, it starts searching for another eligible pair.</li></ul></td></tr></tbody></table>

#### **Custom**

Lets you define the bot rules yourself.

You can configure: **Max hold, Cost limit, Expected profit, and Entry rule**

## Create an Arbitrage Bot

<figure><img src="https://3071033198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXCba6CdwFKbzdASxvC5H%2Fuploads%2FYJBihQZRe56UvoSU2Uyh%2Fimage.png?alt=media&amp;token=ad643a60-5ce8-419c-9df2-265596f299d2" alt="" width="563"><figcaption></figcaption></figure>

Open **Arbitrage Bots** in VOOI Ultra at <https://ultra.vooi.io/bots>, connect your wallet and click **Create a bot**.\
\
**Tip:** Bots require at least two venues with trading enabled and sufficient funds available.

<figure><img src="https://3071033198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXCba6CdwFKbzdASxvC5H%2Fuploads%2FTentXkNtdZk4wKVvJKnT%2Fimage.png?alt=media&amp;token=a3ac1043-a645-4e33-a493-3540b519c50a" alt=""><figcaption></figcaption></figure>

1. Under **Step 1: Goal**, choose what the bot should optimize for:

* **Earn funding**
* **Hold open interest**
* **Trade volume**
* **Custom**\
  \
  **Tip:** The selected goal determines the bot’s entry, holding, and closing conditions.<br>

2. Under **Step 2: Choose venues**, select at least **two venues**.
   1. Each leg uses the balance available on its venue.
   2. Enable **Always include** if you want the bot to always use a particular venue.
   3. Click **Connect venue** if you need to add another venue.
3. Under **Step 3: Select markets**, choose which market categories the bot can use:

   **All, Crypto, US stocks, Asia stocks, ETFs & indices, Commodities, Forex,** or **Pre-IPO**.
4. Under **Step 4: Set up margin and leverage**:
   1. Enter the **Margin per venue**;
   2. Select the **Max Leverage**.

      \
      **Tip:** The margin stays on each venue. The available amount is limited by the selected venue with the lowest available balance.<br>
5. Review the **Summary** on the right. It shows the current bot settings, including entry conditions, cost limit, leverage, holding period, and closing conditions.
6. Click **Start bot**.

## Important to Know

Each leg keeps its own margin on its own venue, so a sharp price move can liquidate one leg even when the overall position is hedged. Funding can also change before the strategy earns back its trading costs. Higher leverage increases these risks.

You can still trade manually on the same venues while a bot is running. Bots skip markets where you already have a position. If you manually close a position opened by the bot, the bot stops until you check both venues and restart it.

You can run up to **20 bots per account**, each with its own goal, venues, and margin settings.

## Fees

**There is no additional or special fee for using Arbitrage Bots.**

Bot trades are subject to the same **standard VOOI and venue trading fees** that apply to other trades through VOOI Ultra. No separate bot fee is charged.

[Ultra Trading Fees](/vooi-ultra-v3/vooi_ultra-tradingfees.md)

## Next Steps

* [VOOI Arbitrage Desk](/vooi-ultra-v3/vooi-arbitrage-desk.md): manually review, compare, and open available arbitrage strategies.
