vulcan-twap-execution
БесплатноБез исполняемых скриптовНе проверенExecute large orders as time-weighted slices to reduce market impact on Phoenix DEX.
от x402agent★ 26 звёзд на GitHubОб этом скилле
vulcan-twap-execution
Use this skill for:
- Breaking a large order into smaller time-spaced slices
- Reducing market impact and slippage on size
- Executing over minutes or hours
- Tracking average fill price across slices
Core Concept
Time-Weighted Average Price (TWAP) splits a large order into N equal slices executed at regular intervals. The goal is an average fill price close to the time-weighted market average, reducing the impact a single large order would have on the book.
Vulcan has a first-class TWAP strategy runner. Prefer it when the user wants a standard TWAP:
vulcan strategy twap start --symbol SOL --side buy --notional-usdc 1000 --slices 5 --interval-seconds 30 --mode paper -o json
The strategy runner owns the loop, supports sub-minute foreground cadence, checks live margin feasibility before launch, prints each tick during execution, writes structured tick logs and slice ledgers under ~/.vulcan/strategy-runs, and can produce strategy monitor, strategy status, and strategy report outputs. For MCP agents, start TWAPs with detached: true so the tool returns a run_id immediately; use vulcan_strategy_monitor for compact non-blocking checkpoints and vulcan_strategy_wait_next_tick only when actively waiting for the next expected tick.
Important output behavior for agents:
- Strategy runs must surface tick execution logs by default.
- CLI table mode prints each tick to stdout while the run is active.
- CLI JSON mode keeps stdout as the final JSON report and prints tick summaries to stderr while the run is active.
- MCP
vulcan_strategy_twap_startmust usedetached: truefor user-visible progress: the call returnsrun_id, then the agent storeslast_tick_seen=0, backfills with statussince_tick=0, usesvulcan_strategy_monitorfor compact checkpoints, and callsvulcan_strategy_wait_next_tick(after_tick=last_tick_seen)only when actively waiting for the next expected tick. Do not use raw shellsleep; do not ask whether to continue polling after launch. - Report each executed TWAP tick as a compact Markdown table row with full transaction signature, fill, cumulative filled size/notional, position/exposure, and next tick. Do not abbreviate transaction signatures.
- Do not launch a multi-minute live TWAP as one blocking MCP call unless the user explicitly asks for final-only output.
Use the Vulcan runner for standard market-order TWAPs. Use the agent client's looping/background execution only for observe-only workflows, unsupported strategy shapes, or explicitly requested manual workflows. If a requested live mode or strategy shape is unsupported, do not treat that as permission to self-drive live slices with raw vulcan_trade calls. Offer supported runner modes, a reduced/manual plan, or ask for an explicit typed instruction requesting a manual live fallback. Do not write a custom scheduler script if the Vulcan runner, agent terminal, MCP tools, or app loop can execute the slices directly.
Before starting, pick one of the execution modes defined in vulcan-execution-modes — load that skill for the canonical labels, the question format, and the follow-up checklist per mode. The five modes are Observe (read-only), Paper (--mode paper), Dry-Run (--mode dry_run), Confirm-Each (--mode confirm_each), and Auto-Execute (--mode auto_execute). Use a structured question UI when available. If the user selects Auto-Execute, treat that answer as permission to run within the stated parameters. In Paper mode, use the runner or MCP paper tools; do not use live trade tools.
Always collect strategy controls before launch:
- Additional triggers: ask whether the TWAP should pause or stop on price/mark levels, drift bps, funding-rate changes, TA signals, time windows, PnL/liquidation-distance conditions, or no additional triggers. The built-in TWAP runner enforces configured drift/exposure/notional guardrails and execution failures; unsupported trigger shapes must be monitored by the agent while it waits for ticks, with the action explicitly recorded as pause or stop.
- Safety parameters: ask for TP/SL intent, max leverage or exposure ratio, max total notional, max per-slice notional, max price drift, and isolated/collateral preference when relevant. Map max leverage to
max_exposure_ratiofor runner launch. If the user wants TP/SL and the TWAP runner cannot attach it inline for the selected shape, plan to set TP/SL withvulcan_trade_set_tpslorvulcan_position_tp_slafter the live position exists.
For live confirm_each or auto_execute, check live-agent readiness before market/risk prechecks or final launch confirmation:
vulcan agent live-ready --target claude --scope user -o json
vulcan agent live-ready --target cursor --scope project -o json
live-ready is a read-only readiness check; it does not install or modify MCP config. Use the target for the current agent client. If readiness returns not_ready, stop and show it
Установить vulcan-twap-execution в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл vulcan-twap-execution?
Execute large orders as time-weighted slices to reduce market impact on Phoenix DEX.
Как установить скилл vulcan-twap-execution?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vulcan-twap-execution запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic