hummingbot/condor/lp-range-config

Claude Code and agent skill by hummingbot/condor

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Build a valid lp_executor config — side (1/2/3), base/quote amounts from

Install

npx vskill@latest install hummingbot/condor/lp-range-config

SKILL.md

The same SKILL.md was published earlier as hummingbot/condor/lp-range-config.

LP Range Config — side, amounts, bounds

Turn a chosen pool + capital_per_slot (in quote_asset) + base_pct into a valid lp_executor config. Current pool price = P.

Side + amounts from base_pct

base_pctsidebase_amountquote_amountrange vs Pswap first?
01 BUY0capitalbelow Pno
1002 SELLacquired base0above Pyes: quote→base for full slot
0<β<1003 RANGEbase worth capital·β/100capital·(1−β/100)asymmetric around P — see belowswap the base shortfall only
  • Swaps use swap_provider="jupiter/router" (or an order_executor market buy of base).
  • Always keep_position=false → exit swaps back to quote_asset so PnL/TP/SL are in quote terms.

Bounds — width then CLAMP to venue cap

  1. Half-width w: if range_width_pct set, use it; if auto, derive from OHLCV — e.g. w ≈ k · ATR% over ranking_window (k≈1–2). Tighter = denser fees but exits range sooner.
  2. Provisional bounds:
  • RANGE (β middle): place `P` asymmetrically, NOT centred. Even (Spot)

liquidity spreads uniformly across the range, so a centred range delivers a 50/50 split whatever base_pct said. Give the memecoin side `base_pct`% of the total width `W` and the quote side the remainder. Which side that is flips with the venue's price convention — the loop playbook works this out per venue and is the authority on it; follow it rather than reasoning from scratch here (LP-9: this skill used to say "centered", which silently ignored base_pct).

  • BUY (β=0): upper=P·(1−ε), lower=P·(1−ε−2w) (range below P).
  • SELL (β=100): lower=P·(1+ε), upper=P·(1+ε+2w) (range above P).
  1. Clamp to the venue cap (this prevents SIMULATION_FAILED / reallocate errors).

Pull bin_step / tick_spacing from get_pool_info per pool — it varies pool to pool and it is what decides the cap:

  • Meteora: bins = ln(Pu/Pl) / ln(1 + bin_step/10000) must be < 69.

Shrink to ~60 for headroom. bin_step=4 ⇒ total width ≲ 2.7%.

  • Orca / Raydium: spacings = ln(Pu/Pl) / (ln(1.0001) × tick_spacing) must

be ≤ 120. Two opens at the identical 20.8% width landed on opposite sides of this purely on spacing: tick_spacing=16 → 118 spacings, opened fine; tick_spacing=8 → 237, SIMULATION_FAILED with no funds moved and the slot left empty. When the count exceeds the limit, shrink W until it fits — keeping P bracketed and the base_pct split intact — then open.

  1. Meteora only: extra_params={"strategyType":0} (0=Spot uniform, 1=Curve concentrated, 2=Bid-Ask). Default Spot.

Autonomous exit limits — always set both

lower_limit_price and upper_limit_price are mandatory on every open, placed autonomous_exit_margin_pct outside the range. They live in the executor and fire without a tick, which is what manages the slot when the loop is not running — and they can close it inside your out_of_range_max_sec grace window if price moves straight through one (LP-7). See the loop playbook for the exact expressions.

Validate before create

  • capital_per_slot ≥ venue minimum position size (else skip pool).
  • capital_per_slot is bounded by `min(total_amount_quote, usable balance) ÷ slots` —

the session's budget, not the wallet (LP-2).

  • Enough SOL for rent (~0.057 SOL Meteora) + fees beyond min_wallet_sol_reserve.

That reserve is not enforced by the risk engine — it is carried and reported as unenforced, so honouring it is this skill's job (LP-3).

  • If open FAILS with reallocate/simulation error → range too wide → shrink bounds and retry once.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hummingbot/condor/lp-range-config/badge)](https://verified-skill.com/skills/hummingbot/condor/lp-range-config)

Something wrong with this skill or its page? Tell us.