execution-model

Quantify execution slippage and cost drag in backtest simulations.

30.4k|4.9k|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/HKUDS/Vibe-Trading --skill execution-model
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: execution-model
Source: https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/execution-model
Command: npx skills add https://github.com/HKUDS/Vibe-Trading --skill execution-model

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Backtests that ignore slippage, execution delay, and transaction costs report falsely optimistic performance, so the execution-model skill brings nuanced cost assumptions into simulations to highlight real-world liquidity and impact risks.

Core Features & Use Cases

  • Customizable slippage models: Choose between fixed basis-point adjustments, linear impact tied to ADV, or square-root impact with volatility to capture different market regimes across China A-shares, Hong Kong, US, and crypto.
  • Execution algorithm simulation: Simulate VWAP/TWAP slicing, participation-rate constraints, and delayed signals (T+1 rules for China A) to project how the order would actually fill.
  • Cost and sensitivity analysis: Break down explicit and implicit costs, compare annualized drag under varied slippage settings, and use that output to decide whether your rebalancing frequency or trade size is sustainable.

Quick Start

Ask the execution-model skill to simulate slippage, VWAP slicing, and cost drag for a large China A-share backtest using the supplied ADV, volatility, and commission settings.

Frequently Asked Questions about execution-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I model slippage and market impact in backtests?

To model slippage and market impact in backtests, you can apply fixed basis-point adjustments, linear impact tied to ADV, or square-root impact with volatility to capture realistic execution costs across China A-shares, Hong Kong, US, and crypto markets.

Why does my backtest show over-optimistic performance without transaction costs?

Backtests without transaction costs show over-optimistic performance because they ignore execution slippage, delay, and market impact, falsely inflating returns; adding nuanced cost assumptions simulates real-world liquidity risks and corrects these projections.

Can I simulate VWAP and TWAP execution algorithms for crypto and equity markets?

Yes, you can simulate VWAP and TWAP execution algorithms for crypto and equity markets by configuring participation-rate constraints, delayed signals like T+1 rules for China A, and volume filters to project realistic order fills.

What is the best way to analyze transaction cost drag for different slippage settings?

The best way to analyze transaction cost drag is to compare annualized drag under varied slippage settings, breaking down explicit and implicit costs to determine if your rebalancing frequency or trade size remains sustainable.

Does execution modeling support T+1 delay rules for China A-share backtests?

Yes, execution modeling supports T+1 delay rules for China A-share backtests by simulating delayed signals and participation-rate constraints, ensuring order fills accurately reflect local market regulations and execution realities.