# Cross-Exchange Delta Neutral

Automated delta-neutral trading across Lighter and Variational DEXs for risk-minimized farming rewards.

The Cross-Exchange Delta Neutral strategy allows you to maintain market-neutral positions while farming on multiple decentralized exchanges simultaneously. By opening equal but opposite positions on Lighter and Variational, you can earn farming rewards without directional market risk.

### 🚀 Quick Start Guide

#### Step 1: Access Airdrop Farming

1. Navigate to <https://app.dextrabot.com/discover-wallets>
2. Click on **"Airdrop Farming"** from the top menu
3. Select **"Lighter Farming"** from the dropdown

<figure><img src="/files/yckwAIrC50H2994mCRhj" alt=""><figcaption></figcaption></figure>

#### Step 2: Configure Delta Neutral Farming Module

The Lighter Farming interface will open with the following configuration options:

**API Configuration**

* **API - 1**: Set to "Lighter"
* **API - 2**: Set to "Variational" (or another supported DEX)

**Wallet Setup**

You'll need to provide:

* **1st Lighter Wallet Address**: Your Lighter wallet address
* **API Private Key**: Your Lighter API private key (see instructions below)
* **API Key Index**: A number between 2-254

For the second API (Variational):

* **Variational Token**: Your authentication token for Variational

#### Step 3: Enable Delta Neutral

**Critical Step**: Toggle the **"Delta Neutral"** switch to **ON** at the bottom left of the configuration panel.

⚠️ **Important**: Delta Neutral requires 2 slots to work properly

<figure><img src="/files/gtoQa8004Ko61OpC3uCE" alt="" width="563"><figcaption></figcaption></figure>

### 🔑 Getting Your API Keys

#### Lighter API Key Generation

**Step 1: Access API Keys Section**

1. Navigate to Lighter application at <https://app.lighter.xyz/>
2. Connect your wallet
3. Click on **Tools** dropdown menu in the top navigation
4. Select **API Keys** from the menu

<figure><img src="/files/GUuRzI7KK7mDlttYqxtZ" alt="" width="369"><figcaption></figcaption></figure>

**Step 2: Generate New API Key**

1. On the API Keys page, click the **"Generate API Key"** button in the top right corner

<figure><img src="/files/FWlHVw7LoS2UxspDzvUL" alt=""><figcaption></figcaption></figure>

**Step 3: Set API Key Index**

1. Enter an **API Key Index** number between 2-254
   * **Important**: Indexes 0 (Desktop) and 1 (Mobile) are reserved and cannot be used
   * You can create up to 253 keys per account using indexes 2-254
   * Example: Use "111" or any number between 2-254
2. Click **"Generate"** button

**Step 4: Save Your Keys**

After generation, you'll receive three pieces of information:

1. **API Key Index**: Your chosen index number (e.g., 111)
2. **Public Key**: Your public key
3. **Private Key**: Your private key

⚠️ **CRITICAL**: Save your Private Key immediately! It will no longer be accessible after closing this popup. Store it securely – you'll need it for the farming module configuration.

<figure><img src="/files/EtMnQLRRHi3X4TpKYhZc" alt=""><figcaption></figcaption></figure>

#### Variational Token Extraction

**Step 1: Access the Platform**

1. Navigate to <https://omni.variational.io/>
2. Connect your wallet and sign the connection request

**Step 2: Enter Access Code**

* When prompted for an access code, enter the provided referral code
* This grants you access to the platform

**Step 3: Accept Terms**

Check and accept both checkboxes:

* ✅ "I accept Variational's Terms of Service"
* ✅ "I have read the onboarding guide and understand that Omni is currently in beta"

Complete the sign-in process

**Step 4: Deposit Funds**

* Deposit USDC on Arbitrum One to your trading account

**Step 5: Extract Your Token**

1. Right-click anywhere on the page and select **"Inspect"**
2. Navigate to the **"Application"** tab in developer tools
3. Click on **"Cookies"** in the left sidebar
4. Select `https://omni.variational.io/` from the cookie list
5. Find the **`vr-token`** entry
6. Copy the entire token value

<figure><img src="/files/Jdkqnj8JRYLVG3S2AkNX" alt=""><figcaption></figcaption></figure>

### ⚙️ Configuration Parameters

#### Final Setup

Once you have both API credentials:

1. **Select Pair**: Choose your trading pair (e.g., ETH with 50x leverage)
2. **Trade Per Hour**: Set how many trades you want per hour (e.g., 6)
3. **Leverage**: Set your leverage (e.g., 10x)
4. **Delta Neutral**: Ensure this is toggled **ON**

<figure><img src="/files/YdPC7Q3nBSfF4qbTvGUL" alt="" width="563"><figcaption></figcaption></figure>

#### Position Sizing

The system automatically calculates position sizes:

* Uses 90% of the lower balance between the two DEXs
* Opens equal size positions on both platforms
* Maintains perfect hedge ratio


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dextrabot.com/farm/cross-exchange-delta-neutral.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
