structuring-algorithmic-execution-strategies
Designs algo trading strategies with TWAP, VWAP, and implementation shortfall approaches tailored to order characteristics. Use when selecting execution algos, designing trading strategies, or optimizing order routing.
Best use case
structuring-algorithmic-execution-strategies is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Designs algo trading strategies with TWAP, VWAP, and implementation shortfall approaches tailored to order characteristics. Use when selecting execution algos, designing trading strategies, or optimizing order routing.
Teams using structuring-algorithmic-execution-strategies should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/structuring-algorithmic-execution-strategies/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How structuring-algorithmic-execution-strategies Compares
| Feature / Agent | structuring-algorithmic-execution-strategies | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Designs algo trading strategies with TWAP, VWAP, and implementation shortfall approaches tailored to order characteristics. Use when selecting execution algos, designing trading strategies, or optimizing order routing.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Structuring Algorithmic Execution Strategies Designs and evaluates algorithmic execution strategies—TWAP, VWAP, implementation shortfall, and adaptive variants—matched to specific order profiles, market conditions, and execution objectives. ## When To Use - Selecting an execution algorithm for a large or sensitive order - Comparing algo approaches for a given asset class, liquidity profile, or urgency level - Designing custom algo parameters (participation rate, aggression schedule, dark pool routing) - Evaluating post-trade execution quality against the chosen benchmark - Advising on algo routing for portfolio transitions, rebalances, or block trades ## Inputs To Gather - **Order characteristics**: side (buy/sell), notional size, number of shares, ticker/ISIN, asset class - **Urgency and time horizon**: must-complete deadline, acceptable execution window, alpha decay estimate - **Market context**: average daily volume (ADV), recent volatility, bid-ask spread, market-cap tier - **Benchmark target**: arrival price, VWAP, TWAP, close, or implementation shortfall - **Constraints**: participation rate cap, venue restrictions (lit-only, dark-eligible), broker panel limits, regulatory constraints [VERIFY — venue/dark pool rules vary by jurisdiction: Reg NMS (US), MiFID II (EU), etc.] - **Risk tolerance**: maximum acceptable slippage, tracking error budget relative to benchmark - **Portfolio context**: single name vs. basket, correlated orders, information leakage sensitivity ## Workflow 1. **Profile the order** - Compute order size as % of ADV; classify as small (<5% ADV), medium (5–15%), or large (>15%) - Assess spread cost, intraday volatility pattern, and typical volume curve shape - Estimate alpha decay horizon — how quickly does the signal driving the trade erode? 2. **Select primary algo strategy** - **TWAP** — uniform time slicing; appropriate when no strong volume-curve prior exists, or for illiquid names where volume prediction is unreliable. Minimizes timing risk across the window. - **VWAP** — volume-weighted scheduling against historical intraday volume curve; best for medium-urgency orders where minimizing deviation from the day's VWAP benchmark matters. Requires reliable volume forecasting. - **Implementation Shortfall (IS)** — front-loads execution to minimize drift from arrival price; suited for high-alpha-decay orders where delay cost exceeds market impact. Balances urgency vs. impact via a risk-aversion parameter. - **Adaptive / Liquidity-Seeking** — opportunistic dark pool sweeping with passive lit posting; appropriate when minimizing information leakage is paramount and time constraint is flexible. - **Close** — targets the closing auction; used for index rebalance or NAV-benchmarked flows. [VERIFY — closing auction mechanics and participation limits differ by exchange.] 3. **Parameterize the algo** - Set participation rate ceiling (e.g., 10–20% of real-time volume for stealth, up to 25–30% for urgency) - Define aggression schedule: passive-only, passive-with-opportunistic-crossing, or aggressive take - Configure venue routing: proportion to lit exchanges vs. dark pools vs. midpoint venues - Set price limits (limit price, would price, discretion range) - For IS algos, specify the risk-aversion (lambda) parameter trading off impact vs. timing risk 4. **Model expected execution costs** - Estimate market impact using a standard model (e.g., Almgren-Chriss, or broker's proprietary model) - Decompose expected cost: spread cost + temporary impact + permanent impact + timing risk - Compare expected total cost across candidate algo strategies for the same order - Sensitivity-test key assumptions: what if volatility doubles? What if ADV drops 30%? 5. **Set monitoring and contingency rules** - Define real-time alerts: participation rate breach, price dislocation beyond threshold, volume drought - Specify fallback behavior: switch from passive to aggressive if behind schedule; pause if spread widens beyond N bps - Establish human escalation triggers: halt on news events, circuit breakers, or abnormal market conditions 6. **Document the strategy recommendation** - Produce a structured report with algo selection rationale, parameter settings, cost estimates, and risk scenarios ## Output Produce an **Algo Execution Strategy Report** containing: - **Order Summary**: ticker, side, size, ADV %, urgency classification - **Recommended Algorithm**: strategy type with rationale for selection over alternatives - **Parameter Settings**: participation rate, aggression profile, venue routing mix, price limits - **Cost Estimate**: expected slippage in bps, broken into impact components, with confidence range - **Risk Scenarios**: tabulated outcomes under base case, high-volatility, and low-liquidity conditions - **Monitoring Plan**: real-time thresholds, fallback rules, escalation triggers - **Benchmark**: clearly stated execution benchmark and how post-trade TCA should measure performance ## Quality Checks - Order size vs. ADV ratio is computed and drives algo selection — never recommend VWAP for >25% ADV without explicit justification - Participation rate cap is realistic relative to the order's ADV share and time window - Cost model inputs (volatility, spread, ADV) are sourced or estimated — not assumed; flag stale data with [VERIFY] - IS strategy recommendations include an explicit alpha-decay assumption and lambda setting - Venue routing complies with applicable market structure rules [VERIFY — Reg NMS, MiFID II best execution, or local equivalent] - Dark pool usage is flagged when order is in a restricted name or subject to large-in-scale thresholds [VERIFY] - Post-trade TCA methodology is specified so the strategy can be evaluated after execution - No single algo is recommended as universally optimal — trade-offs between impact and timing risk are articulated