Skip to content

About

Automated delta-neutral bot that hedges SOL price exposure to safely farm fees in Meteora DLMM program

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

Delta-Neutral MM Bot

A high-frequency delta-neutral market-making bot designed to hedge SOL price volatility while farming trading fees in Meteora DLMM pools. It automatically maintains a short position on Lighter DEX to balance the spot exposure of the LP position.

Quickstart

1. Clone repository

git clone https://github.com/TrinityWeb3/Delta-neutral-hedge-bot.git
cd Deltra-neutral-hedge-bot

2. Configuration

Create a .env file in the root of the project with the following variables:

METEORA_POOL_ADDRESS=your_meteora_pda_address_here
METEORA_WALLET_ADDRESS=your_sol_wallet_address_here

Lighter -> Tools -> Api Keys

img

And then "Generate API Key"

img

LIGHTER_API_URL=https://mainnet.zklighter.elliot.ai
LIGHTER_ACCOUNT_INDEX=your_account_id
LIGHTER_MARKET_ID=2 (SOL), # see official lighter API Docs 

LIGHTER_API_KEY_INDEX=your_API_index
LIGHTER_API_KEY=your_Lighter_API
LIGHTER_API_SECRET=your_Lighter_secret_api

3. Useful links

Official Lighter API

About

Automated delta-neutral bot that hedges SOL price exposure to safely farm fees in Meteora DLMM program

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages