execution-model

Simulate slippage, market impact, and execution algorithms for backtesting.

1|Updated Jun 23, 2026
One-click install
npx skills add https://github.com/644408071-design/Kokpop --skill execution-model-644408071-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: execution-model
Source: https://github.com/644408071-design/Kokpop/tree/main/agent/src/skills/execution-model
Command: npx skills add https://github.com/644408071-design/Kokpop --skill execution-model-644408071-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides realistic trade execution modeling for backtesting, addressing slippage, market impact, and execution algorithms to enhance the accuracy of backtest simulations.

Core Features & Use Cases

  • Slippage Models: Fixed, linear, and square-root impact models for realistic price impact calculations.
  • Execution Algorithms: VWAP and TWAP execution logic for simulating market order execution.
  • Market Impact Estimation: Tools for estimating market impact costs based on trade size and liquidity.
  • Use Case: For a quantitative trader looking to simulate the impact of trading strategies on historical market data, this Skill can help assess slippage and market impact without executing live orders.

Quick Start

Run the 'backtest' script with the 'execution-model' skill to simulate trade execution for a given strategy.

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 for backtesting trade execution?

To model slippage and market impact for backtesting, this Skill simulates execution using fixed, linear, and square-root impact models to calculate realistic price effects without executing live orders.

Can I simulate VWAP and TWAP execution algorithms during historical backtesting?

Yes, you can simulate VWAP and TWAP execution algorithms during historical backtesting by running the provided scripts to estimate how these market order execution strategies affect price impact.

What is the best way to estimate market impact costs based on trade size and liquidity?

The best way to estimate market impact costs based on trade size and liquidity is using the built-in market impact estimation tools, which calculate realistic execution costs for quantitative trading strategies.

Does this backtesting execution model require live order execution to calculate slippage?

No, this backtesting execution model does not require live order execution. It simulates slippage and market impact entirely on historical market data to help assess strategy costs safely.

Why does my backtesting strategy fail to account for realistic trade execution and slippage?

Your backtesting strategy fails to account for realistic trade execution and slippage because it lacks dedicated execution modeling. Integrating slippage models and execution algorithms resolves this inaccuracy.

When should I use square-root impact models instead of fixed slippage models for backtesting?

You should use square-root impact models instead of fixed slippage models for backtesting when you need to simulate non-linear price impacts that realistically scale with large trade sizes and liquidity constraints.