# 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="https://3477217969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaWiG6XtemfC9IwxonZpa%2Fuploads%2Fgh6aIGXCQJxcxtjQgHWe%2FScreenshot%202025-11-11%20at%2013.21.02.png?alt=media&#x26;token=c0415bb9-7147-4f6a-9400-d4eb0beac1be" 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="https://3477217969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaWiG6XtemfC9IwxonZpa%2Fuploads%2FXvB0mPILZUwxZmXMBDy2%2FScreenshot%202025-11-11%20at%2013.21.24.png?alt=media&#x26;token=c450780c-4c3b-4e64-a0d6-a7bea3b7719b" 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="https://3477217969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaWiG6XtemfC9IwxonZpa%2Fuploads%2FWQ4wTpWDikdZkpmqV5tg%2FScreenshot%202025-10-10%20at%2013.48.58.png?alt=media&#x26;token=9e813473-5875-4b20-a9e1-6f46a49a960d" 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="https://3477217969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaWiG6XtemfC9IwxonZpa%2Fuploads%2F9PPPE1iMR1127hmhP3rd%2FScreenshot%202025-10-10%20at%2013.49.08.png?alt=media&#x26;token=1faf5902-958d-4cc0-bb89-97a7ac6c2ca6" 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="https://3477217969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaWiG6XtemfC9IwxonZpa%2Fuploads%2FjwvgLfwcTmj8NXUyiUQH%2FScreenshot%202025-10-10%20at%2013.49.31.png?alt=media&#x26;token=36ceaa77-b2c1-4474-96f4-634bb1b164c7" 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="https://3477217969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaWiG6XtemfC9IwxonZpa%2Fuploads%2FsJsuqqjc93mU4hzO1ruR%2FScreenshot%202025-10-28%20at%2019.11.07.png?alt=media&#x26;token=4c32353e-c389-45bf-a87a-25bc2c012730" 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="https://3477217969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaWiG6XtemfC9IwxonZpa%2Fuploads%2FMbAMvV3DQ9kRAOgZaLTN%2FScreenshot%202025-11-11%20at%2013.23.01.png?alt=media&#x26;token=ee0233ce-3a23-4e40-9740-7130bb9dd8be" 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
