Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Execution model

Trade execution modeling (backtest only), slippage formulas (linear / square-root impact), VWAP/TWAP execution logic, market-impact cost estimation.

In detail

Trade execution modeling (backtest only) — slippage formulas (linear / square-root impact), VWAP/TWAP execution logic, market-impact cost estimation, and execution-assumption configuration.

Safety check

  • Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: execution-model
description: Trade execution modeling (backtest only) — slippage formulas (linear / square-root impact), VWAP/TWAP execution logic, market-impact cost estimation, and execution-assumption configuration.
category: strategy
---

# Trade Execution Modeling

## Overview

Provide more realistic execution assumptions for backtests, including slippage models, market-impact estimation, and execution-algorithm principles. This skill is for backtest simulation only and does not involve live order execution.

## Slippage Models

### Why Slippage Models Are Needed

```
Idealized backtest: filled at the close, zero slippage
Real world:
1. The order book has a bid-ask spread
2. Large orders push prices (market impact)
3. Execution is delayed (there is latency from signal to fill)

No slippage model -> overly optimistic backtest -> losses in live trading
```

**Do not retype these models.** All four are implemented and tested in
`src/quantlib/impact.py`; import them. The tested versions validate their inputs —
a zero ADV raises instead of dividing by zero, and a negative `delay_bars` raises
instead of silently introducing look-ahead bias.

```python
from src.quantlib.impact import fixed_slippage, linear_impact, sqrt_impact, delayed_execution
```

### 1. Fixed Slippage Model

```python
fixed_slippage(price=100.0, direction=1, bps=5.0)   # 100.05  (buy pays up)
fixed_slippage(price=100.0, direction=-1, bps=5.0)  #  99.95  (sell receives less)
...

From HKUDS's repository, MIT licence.

Related skills

  • Checked

    Spreadsheet formula explainer

    Explains a tangled spreadsheet formula step by step and rebuilds it with helper columns anyone can follow.

    by mohitagw15856 1.6k
    7/101 credit
  • Checked

    Excel file builder

    Creates and edits Excel files whose formulas carry their values, so totals show in every viewer and preview.

    by vellum-ai 1.5k
    8/101 credit
  • Checked

    Spreadsheet audit

    Opens your actual spreadsheet, traces formulas and ranks the errors, so you know it is safe to present.

    by mohitagw15856 1.6k
    7/101 credit
  • Checked

    Spreadsheet fixer

    Fixes broken formulas, builds Excel files with charts and automates Google Sheets, all from a plain request.

    by ericrisco 684
    9/101 credit
  • Checked

    Google Sheets automation

    Builds Google Apps Script menus, triggers, sidebars and email batches, so repeat Sheets work runs itself.

    by jezweb 1.1k
    8/101 credit
  • Checked

    CSV and Excel merging

    Merges, stacks and dedupes CSV and Excel files into one clean table, then checks the row counts add up.

    by OneWave-AI 454
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added