Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

dlse-config

Dynamic configuration for the Dynamic Liquidity Slippage Engine (DLSE). The DLSE service hot-reloads these files every 5 minutes — no service restart required.

Modeled on jup-ag/dynamic-slippage-config. Differences are Meteora-specific:

  • Removed pump_new_graduate* and new_token (Jupiter / pump.fun specific).
  • Added new_pool for freshly-created Meteora pools.

Files

slippage_config.json

Per-category { min, max } bps ranges. The engine clamps the live signal-derived candidate into this range. Editing a range immediately affects the bps returned by the API on the next 5-min reload.

Category Meaning Notes
solana Native SOL Tightest range
stable USDC, USDT, and other audited stables Trade-size reducer eligible
lst Liquid staking tokens (jitoSOL, mSOL, etc.) Trade-size reducer eligible
bluechip Volume-curated bluechips Trade-size reducer eligible
default Fallback when a mint has no entry
new_pool Freshly-created Meteora pools Wider tolerance during early price discovery
degen Pair where either side has a slippage-failure track record
degen_buy Tighter degen tolerance when buying
degen_sell Looser degen tolerance when selling (exit liquidity is thinner)

token_categories.json

Mint → category map. A mint absent from this file is treated as default.

Editing safely

  1. Make a small change (e.g. tighten one max).
  2. Open a PR. Diff review should catch typos and unbounded ranges.
  3. Merge to main.
  4. Within ~5 minutes the DLSE service picks up the new config. Monitor /metrics for dlse_config_reload_total (success) vs dlse_config_reload_errors_total.

URLs used by DLSE

slippage_config:   https://raw.githubusercontent.com/MeteoraAg/dlse-config/main/slippage_config.json
token_categories:  https://raw.githubusercontent.com/MeteoraAg/dlse-config/main/token_categories.json

Override at runtime with DLSE_SLIPPAGE_CONFIG_URL and DLSE_TOKEN_CATEGORIES_URL.

About

Dynamic configuration for Meteora's Dynamic Liquidity Slippage Engine (DLSE). Hot-reloaded by the API server every 5 minutes.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors