/vulcan:vulcan-scale-ordersfrom vulcan
Places laddered (scale) limit orders across a price range with optional TP/SL. Generates technical analysis levels when no range is provided.
Ships in vulcan. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill for:
Do not use this skill for:
vulcan-grid-trading.vulcan-twap-execution.vulcan-trade-execution.A scale order places N post-only limit orders on one side between a lower_price and upper_price. Unlike a grid, there is no replacement loop: once a level fills, that slice of the entry is done. Profit and risk come from the eventual aggregate position, managed afterward with TP/SL.
Typical use cases:
Collect with the user before placing:
| Field | Required | Notes |
|---|---|---|
symbol | yes | e.g. SOL |
side | yes | buy for long entry / short exit, sell for short entry / long exit |
lower_price, upper_price | yes (or TA-suggested) | If omitted, derive from TA and ask the user to confirm before placing — see Prompting Pattern. |
levels | yes | Number of orders (typical 3–8). |
total_tokens | yes | Total base-asset size across all levels. Converted to base lots per level. |
distribution | optional | uniform (default), front_weighted, back_weighted, geometric:r=<ratio>. See Sizing Distributions. |
tp_levels, sl_levels | optional | Laddered exits to attach after fills. See Attaching TP/SL. |
reduce_only | optional | true when scaling out of an existing position. |
margin_mode | optional | cross (default for multi-limit) vs isolated. Isolated requires per-order placement — see Isolated Margin. |
Before placing, choose a mode via vulcan-execution-modes (Paper / Dry-Run / Confirm-Each / Auto-Execute). Scale orders are typically a single batch placement, so Confirm-Each at the batch level (one approval covers the whole ladder) is standard.
Pick the mode before running any wallet-bound preflight. The Pre-Trade Checks below branch on mode — in paper or dry-run, never call vulcan_margin_status, vulcan_position_list, vulcan_trade_orders, or any other wallet-resolving tool. See Mode-Branched Preflight.
The agent must prompt the user for missing or unconfirmed inputs before placing. This is non-negotiable for the price range — whether you suggested it from TA or the user gave one. Use the host's structured-question facility if it has one (e.g. AskUserQuestion); otherwise ask in plain text and wait for an explicit reply.
User gave a complete range (lower_price + upper_price):
lower=<L> / upper=<U> / levels=<N> / total_tokens=<T>? (yes / change / cancel)"User gave a partial range (only one bound, only levels, only total_tokens, only "scale in around mark", etc.):
User gave no range at all ("scale in to SOL longs", "ladder a short on ETH"):
After producing a suggested or restated plan, ask the user a single, focused question. Example phrasing:
Suggested scale-long range for SOL (1h TA):
upper = 149.80 (mark 150.00 − 0.25·ATR)
lower = 143.20 (BBand lower; ATR=2.7, recent swing low 142.8)
levels = 5, spacing = 1.65, distribution = uniform, total = 2.5 SOL
Sanity: ADX 18 (no strong trend), RSI 42 (neutral) — OK to scale long.
How would you like to proceed?
1. Confirm as-is and place
2. Tighten the range (e.g. only down to 145)
3. Widen the range (e.g. down to BBand-2σ)
4. Change levels / size / distribution
5. Cancel
If a structured-question tool is available, use these as discrete options. If not, ask in chat and wait. Never place the ladder until the user answers option 1 (or supplies a modified plan that you then echo back for one more confirmation).
Even after initial approval, re-prompt the user before placing if any of these are now true:
0.5 × atr between suggestion and placement (the range may now be silly).vulcan_margin_status.risk_state is not Healthy.Show what changed and ask whether to proceed, adjust, or cancel.
Run mode-agnostic market checks first — they are read-only and safe in every mode:
1. vulcan_market_info → { symbol } # base_lots_decimals, tick_size, min lot
2. vulcan_market_ticker → { symbol } # current price for centering / TA
3. vulcan_market_orderbook → { symbol } # confirm side of book is empty above/below your range
Then ask the user for the execution mode (per vulcan-execution-modes). Only after the mode is set should you run wallet-bound checks.
Paper / Dry-Run: skip the wallet-bound block. The only paper-side check is:
vulcan_paper_status → {} # if PAPER_NOT_INITIALIZED, propose `vulcan paper init --balance <N>`
Do not call vulcan_margin_status, vulcan_position_list, vulcan_trade_orders, vulcan_portfolio_*, or vulcan_wallet_list in paper/dry-run.
Confirm-Each / Auto-Execute: also run:
4. vulcan_strategy_preflight → { wallet } # must report READY
5. vulcan_margin_status → {} # worst-case margin coverage
6. vulcan_position_list → {} # existing exposure in this market
7. vulcan_trade_orders → { symbol } # avoid colliding with existing resting orders
For buy ladders, upper_price must be at or below the best ask (or slide: true is required). For sell ladders, lower_price must be at or above the best bid. Otherwise post-only placement rejects.
When the user says "scale in to SOL longs" with no prices, propose a range and confirm. Do not place until they approve.
Recipe:
vulcan_market_ticker.vulcan_ta_report → { symbol, timeframe: "1h" }. Read off the per-indicator latest and signals blocks: bbands.latest.upper / .lower / .middle, atr.latest.atr (and atr.signals.atr_pct_of_price), rsi.latest.rsi (and rsi.signals.state), adx.latest.adx (and adx.signals.trend_strength). Don't request points_limit unless you actually need history.side: buy):
upper_price = current mark (or mark − 0.25 × atr for a small buffer below).lower_price = max(bbands.latest.lower, mark − 2 × atr, recent_swing_low).side: sell):
lower_price = current mark (or mark + 0.25 × atr).upper_price = min(bbands.latest.upper, mark + 2 × atr, recent_swing_high).recent_swing_low / high: pull from vulcan_market_candles over the last 50–100 bars at the chosen timeframe.levels from range width:
0.25 × atr so fills aren't all clustered into noise.levels = clamp( round( (upper − lower) / (0.5 × atr) ), 3, 8 ).tick_size from vulcan_market_info.adx.signals.trend_strength is strong or very_strong and the range is against the trend (e.g. scaling longs into a strong downtrend), flag this and ask the user to confirm — they may be catching a falling knife.rsi.signals.state is oversold (long entry) or overbought (short entry), the range may be too late / too early — surface it.Present the suggestion compactly:
Suggested scale-long range for SOL (1h TA):
upper = 149.80 (mark 150.00 − 0.25·ATR)
lower = 143.20 (BBand lower; ATR=2.7, swing low 142.8)
levels = 5, spacing = 1.65, distribution = uniform
ADX 18 (no strong trend), RSI 42 (neutral). Confirm to place?
spacing = (upper_price − lower_price) / (levels − 1)
Buy ladder (descending — best price first is closest to current):
prices = [ upper, upper − spacing, upper − 2·spacing, …, lower ]
Sell ladder (ascending):
prices = [ lower, lower + spacing, …, upper ]
Every price must be a valid multiple of tick_size.
tokens_per_level is then converted to base lots:
size_lots = tokens_per_level × 10^base_lots_decimals
tokens_per_level = total_tokens / levels at every price.R != 1): each level's size is R × the previous level's. R = 1.5 for back-weighted (long entry into deep support), R = 1/1.5 for front-weighted. Pick R so the sum matches total_tokens:
s0 = total_tokens × (1 − R) / (1 − R^levels) # geometric series scaling
size_i = s0 × R^i # i = 0 .. levels−1
If any computed size_lots < min_lot_size from vulcan_market_info, reduce levels or increase total_tokens and re-suggest. Never silently round to zero.
Worst case is all levels fill → full total_tokens long or short at the average ladder price.
avg_fill_price ≈ Σ (price_i × size_i) / Σ size_i
notional ≈ avg_fill_price × total_tokens
initial_margin = notional / max_leverage_at_this_size
Get max_leverage_at_this_size from vulcan_margin_leverage_tiers for the resulting position size. Confirm vulcan_margin_status.available_collateral ≥ initial_margin × safety_buffer (1.2×) before placing.
Route any leverage / margin warnings through vulcan-risk-management.
Always present the full plan as a compact table before placing:
Scale long SOL — 5 levels, uniform, total 2.5 SOL
level price tokens lots cum_tokens
1 149.80 0.50 50 0.50
2 148.15 0.50 50 1.00
3 146.50 0.50 50 1.50
4 144.85 0.50 50 2.00
5 143.20 0.50 50 2.50
Worst-case avg fill ≈ 146.50, notional ≈ $366.25
Worst-case initial margin ≈ $73 (5× tier), available collateral $480 ✓
No TP/SL attached at order time — laddered TP/SL will be set post-fill.
Wait for explicit approval. In auto-execute mode, log the same plan immediately, then place, and report the tx signature as soon as it lands.
Single batch placement, post-only:
vulcan_trade_multi_limit → {
symbol: "SOL",
bids: [
{ price: 149.80, size: 50 },
{ price: 148.15, size: 50 },
{ price: 146.50, size: 50 },
{ price: 144.85, size: 50 },
{ price: 143.20, size: 50 }
],
asks: [],
slide: false,
acknowledged: true
}
asks and leave bids empty.slide: false enforces strict post-only at the requested price — preferred for scale entries. Use slide: true only when the user explicitly accepts repricing to the top of book on collision.vulcan_trade_multi_limit accepts optional per-leg tp and sl on each bid/ask entry. When any leg carries tp/sl the submission expands to N individual limit-order instructions bundled into a single transaction (each with its own bracket); slide is ignored on that path. See Attaching TP/SL.Verify placement immediately:
vulcan_trade_orders → { symbol: "SOL" }
Report every accepted order plus the full transaction signature.
vulcan_trade_multi_limit supports native per-leg TP/SL via optional tp and sl on each bid/ask entry. When any leg carries tp/sl the call still submits in one transaction (Phoenix's multi_limit instruction cannot bundle conditionals itself, so the SDK expands the batch to N individual place_limit_order_with_conditionals ixs in the same tx). slide is ignored on that path; entries are post-only.
Three TP/SL models exist for a scale ladder:
tp / sl in the same vulcan_trade_multi_limit tx. One signature, one tx, each leg's bracket sized to that leg's base lots and armed when that leg fills.tp_levels / sl_levels on the resulting position via vulcan_trade_set_tpsl. The exit fires off mark vs. the aggregated position size, so this is the right choice when you want one unified staircase across the new ladder and any pre-existing position in the same symbol.Before placing, if TP/SL is in scope, pick using this rule and confirm with the user:
If you ask the user, present the three options in that order with one-line descriptions; do not re-introduce the A/B/C labels.
Pass tp and sl on each bid/ask entry. One transaction, one signature, each leg's bracket sized to that leg's base lots:
vulcan_trade_multi_limit → {
symbol: "SOL",
bids: [
{ price: 149.80, size: 50, tp: 157.29, sl: 145.31 },
{ price: 148.15, size: 50, tp: 155.56, sl: 143.71 },
{ price: 146.50, size: 50, tp: 153.83, sl: 142.11 },
{ price: 144.85, size: 50, tp: 152.09, sl: 140.50 },
{ price: 143.20, size: 50, tp: 150.36, sl: 138.90 }
],
asks: [],
acknowledged: true
}
Per-leg prices typically use a fixed offset from each leg's entry, e.g.:
tp_for_this_leg = price × (1 + tp_pct) # long ladder
sl_for_this_leg = price × (1 − sl_pct)
Constraints and gotchas:
vulcan_trade placement and accept the N-transaction cost.slide: true is ignored when any leg has tp/sl. The expanded per-leg limit ixs use Phoenix's standard post-only placement; explicit slide isn't exposed by the limit-order builder.BracketLegSize::BaseLots on limit-leg brackets (UnsupportedLimitBracketLegSizing); the on-chain max_size defaults to the leg's base lots, which is what you want here.tp_levels instead.vulcan_position_show after the tx lands and reconcile.Confirm direction rules from vulcan-tpsl-management for every computed pair before placing.
Report the tx signature and the final per-leg table as soon as the multi-limit lands; surface each fill (and any bracket trigger) immediately — never batch the updates.
Place the ladder with multi_limit (no per-leg tp/sl), wait until at least one level fills (position exists), then attach laddered TP/SL on the position:
vulcan_trade_set_tpsl → {
symbol: "SOL",
tp_levels: [
{ price: 158.0, size: 1.0 }, # close 1.0 SOL at $158
{ price: 165.0, size: 1.0 }, # close 1.0 SOL at $165
{ price: 175.0, size: 0.5 } # runner — last 0.5 SOL at $175
],
sl_levels: [{ price: 138.0 }], # full position at $138
acknowledged: true
}
Constraints (from vulcan-tpsl-management):
tp_levels sizes must not exceed current filled position size. As more entry levels fill, you may need to append additional TP slices with another vulcan_trade_set_tpsl call (set_tpsl appends; it does not replace).Before calling vulcan_trade_set_tpsl, re-fetch position side and entry price:
vulcan_position_show → { symbol: "SOL" }
This avoids attaching wrong-direction TP/SL if the user changed plans between ladder placement and fill.
Simpler but riskier — the position is unprotected while levels fill. Only acceptable if:
lower_price (or upper_price) is itself a hard invalidation level the user is willing to ride down to.If the user picks deferred, set a wakeup or schedule a follow-up check; do not just walk away.
To scale out of an existing long, use a sell ladder with reduce_only: true. vulcan_trade_multi_limit does not accept per-order reduce_only. Two options:
tp_levels on the existing position (see Position staircase) — these are reduce-only trigger orders by construction and survive position-side changes safely.for price in ladder:
vulcan_trade → {
symbol, side: "sell", order_type: "limit",
price, size: <lots>, reduce_only: true, acknowledged: true
}
Slower than multi_limit but the only way to get reduce-only resting limits today.Default to option 1 unless the user explicitly asks for resting reduce-only limits.
vulcan_trade_multi_limit submits a single cross-margin transaction. For isolated-margin scale entries, fall back to per-order placement:
for (price, lots) in ladder:
vulcan_trade → {
symbol, side, order_type: "limit",
price, size: lots,
isolated: true,
collateral: <only on the first order>,
acknowledged: true
}
Report each placed order and signature as it lands — do not batch the updates.
Scale orders have no replacement loop. After placement:
vulcan_position_show → { symbol } and vulcan_trade_orders → { symbol }.tp_levels as fills come in so unprotected size never grows. (Per-leg brackets handle this automatically — each bracket arms with its own leg.)vulcan_trade_cancel → { symbol, scope: "all", acknowledged: true }
then either close the partial position (vulcan_position_close) or attach the agreed TP/SL.tp_levels total are a common bug.Report every fill, cancellation, and signature immediately — never batch into an end-of-run summary.
tick_size and minimum lot size from vulcan_market_info — never silently round to zero on small far-end slices.adx > 30 against trend, rsi past extreme) and ask the user to confirm.slide: true only with explicit approval.vulcan_trade_multi_limit supports native per-leg TP/SL via optional tp / sl on each entry — one tx, one signature, each leg's bracket sized to that leg's base lots. Use the position staircase (vulcan_trade_set_tpsl with tp_levels / sl_levels) only when adding to an existing position you want managed under one unified exit ladder. Re-fetch position side with vulcan_position_show before any set_tpsl call. Never claim TP/SL is active until it is recorded on the position.tp_levels sizes must never exceed currently filled position size; top up incrementally as more entry levels fill..error.category via vulcan-error-recovery. On tx_failed, re-fetch vulcan_trade_orders before retrying — partial placement is possible.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
scale-orders, laddered-orders, limit-orders, trading, vulcan, technical-analysis
18 skills in this plugin
/vulcanMUST be loaded before producing any answer about Vulcan, Phoenix DEX, Phoenix perpetuals, Solana perps, the `vulcan` CLI/MCP, or agent-based trading workflows. Single entry-point: contains the runtime contract pointer, the non-negotiable safety rules, the focused-skill router, and the live-launch preflight gate. Answers given without loading this skill have produced wrong commands, wrong wallet selection, and unsafe live trades. Load on the FIRST turn the topic appears in a conversation and re-load on any session restart./vulcan-error-recoveryError category routing, tx_failed recovery, and network error handling for Vulcan./vulcan-execution-modesCanonical taxonomy of Vulcan's execution modes (Observe / Paper / Dry-Run / Confirm-Each / Auto-Execute), with explicit instructions for when to ask the user which mode, how to format the question, and what follow-up to collect per mode. Load whenever the user asks 'should this be paper or live?' or before any strategy/trade launch.Generated from the plugin's indexed repository (ellipsis-labs/vulcan-cli) — no native marketplace selected
npx claudepluginhub p/ellipsis-labs-vulcanOther plugins' skills for the same job