mahmoud20138/tradecraft/execution-algo-trading
Claude Code and agent skill by mahmoud20138/tradecraft
- community
Checking that the SKILL.md file is still in the repository.
Institutional execution algorithms: TWAP, VWAP, Implementation Shortfall, POV, Iceberg orders, slippage analysis, market impact, and TCA. USE FOR: execution, TWAP, VWAP, implementation shortfall, slippage, market impact, TCA, iceberg order, POV, algo execution, transaction cost.
Install
npx vskill@latest install mahmoud20138/tradecraft/execution-algo-tradingSKILL.md
The same SKILL.md was published earlier as mahmoud20138/tradecraft/execution-algo-trading.
Skill: Execution Algo Trading | Domain: trading | Category: execution | Level: advancedTags:trading,execution,twap,vwap,iceberg,algo
Execution Algorithm Trading Skill
Overview
Implements institutional-grade execution algorithms used by buy-side desks to minimise market impact and transaction costs when executing large orders.
Python Module
xtrading/skills/execution_algo.py
Stack
- numpy — Numerical computations, binomial tree, random generation
- pandas — VWAP calculation, fill data management
- scipy — Statistical computations
1. TWAP Executor
2. VWAP Executor
3. Implementation Shortfall (Almgren-Chriss)
4. POV (Percentage of Volume)
5. Iceberg Order
6. Slippage & Market Impact Analysis
7. TCA Report
Decision Framework
| Order Size (% ADV) | Recommended Algorithm | Typical Cost (bps) | |
|---|---|---|---|
| < 1% | Market / Limit | 1–2 | |
| 1–5% | TWAP (1–2h) | 2–4 | |
| 5–15% | VWAP (full day) | 4–8 | |
| 15–30% | IS + POV | 8–15 | |
| > 30% | Iceberg + multi-day | 15–30 |
Usage Conventions
- qty — shares, lots, or contracts (consistent units throughout)
- adv — average daily volume in the same units as qty
- sigma — daily volatility as decimal (0.01 = 1%)
- spread_bps — round-trip spread cost, not half-spread
- TCA benchmark — use VWAP for passive strategies, arrival for aggressive
Related Skills
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
- SKILL.md in the repositoryCheckingplugins/tradecraft/skills/execution-algo-trading/SKILL.md
Popularity
- Repository stars
- 18
- Repository forks
- 6
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/mahmoud20138/tradecraft/execution-algo-trading)