DLMM Bot Instruction Manual
DLMM Bot Instruction Manual
Advanced Calculations)
1. Objectives:
- Rank pools based on profitability and risk metrics using advanced calculations.
- Provide actionable insights for manual trading with a clear ranking system.
2. System Architecture:
Environment:
Libraries:
File Structure:
dlmm_bot/
??? api/
??? logic/
??? data/
??? utils/
- Integrate the Meteora API and Dexscreener API for data retrieval.
- Calculate profitability score using (24hr Fee Rate x Trading Volume) / TVL.
- Add volatility score to exclude pools with extremely volatile token pairs.
- Combine scores into a weighted final ranking: Final Score = ? x Profitability Score - ? x Volatility - ?
x Impermanent Loss.
- Log pool data for future trend analysis and refine thresholds based on historical performance.
4. Algorithm Design:
Pseudocode:
- Normal Mode: TVL > 100K, APR > 20%, steady volume.
- Degen Mode: TVL < 100K, APR > 50%, high transactions.
5. Calculate:
- Profitability Score.
- Impermanent Loss.
- Volatility Score.
5. Key Enhancements:
This document is the blueprint for creating a Python-based DLMM bot that fetches, ranks, and
analyzes pool data for manual trading decisions.