Works with the AI Agents you already use

    Execution Cost Tca

    by BanditXBT

    1

    Measure and forecast trading costs: implementation shortfall, impact modeling, algo choice, CEX/DEX slippage, capacity.

    $29

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    About this skill

    Gross alpha minus realistic cost is the only alpha. Measure cost against a benchmark fixed before the order, then model it forward to size capacity.

    • Implementation shortfall (Perold 1988): paper portfolio at decision price vs. realized fills. IS = delay + trading (impact/spread) + opportunity (unfilled) + explicit fees, all in bps of notional, signed so positive = cost.
    • Arrival price: mid at order arrival at the desk/algo. Best default for alpha-bearing flow.
    • Interval VWAP / TWAP: gameable (a slow order that is itself the volume looks good) and blind to your own impact. Use for passive, non-urgent flow only.
    • Close / open: for benchmarked index or MOC/MOO flow.
    • For crypto, define mid on the execution venue's book at arrival, and record the index price too; cross-venue basis otherwise contaminates slippage.

    IS_bps = side * (P_fill_vwap - P_decision)/P_decision * 1e4 + fees_bps

    • Delay: decision to arrival. Spread: arrival mid to touch (half-spread for marketable). Temporary impact: your average fill vs. post-trade mid. Permanent impact: mid drift that persists after you stop (reversion window 5-30 min equities; shorter in liquid crypto). Opportunity cost: unfilled qty x (end price - decision price).

    • Compute at the parent level, with child fills as evidence. Report mean, median, and p90; costs are fat-tailed and mean-dominated by few orders.

    • Square-root law: impact ≈ Y * sigma * sqrt(Q / V), sigma = daily vol, V = daily volume, Q = order size, Y a constant of order 1 (heuristic; calibrate per market, do not assume). This is the per-unit (bps) impact of a large metaorder; Toth et al. (2011, PRX; abstract confirms the square-root law for large metaorders) and Almgren, Thum, Hauptmann, Li (2005, "Direct estimation of equity market impact", Risk) are the usual references, and fitted exponents differ across studies. Treat it as unreliable for very small orders (spread-dominated) and for Q/V far beyond your data; the valid Q/V range is not established here, so state the range in your own sample.

    • Per-unit impact is concave in size, but total dollar cost = size x per-unit impact grows like Q^1.5 under the square-root law (a heuristic; this is the "1.5 power" often quoted). Impact decays after completion; model transient (propagator) impact, not one number per order.

    • Almgren-Chriss (2000): optimal schedule trades off variance of cost vs. expected impact; higher risk aversion front-loads.

    Educational analysis, not investment advice. Impact constants must be calibrated on your own fills; fee schedules change.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 13 days ago

    Software
    Python 3pandas

    Permissions

    No special permissions declared or detected

    Listed13 days ago

    What's inside

    Frequently Asked Questions

    Measure and forecast trading costs: implementation shortfall, impact modeling, algo choice, CEX/DEX slippage, capacity.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use execution-cost-tca on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.