skills/capital/modeling-transaction-cost-analysis/SKILL.md
Builds TCA frameworks with implementation shortfall, VWAP comparison, and market impact estimation across asset classes. Use when conducting TCA, measuring execution quality, or analyzing trading costs.
npx skillsauth add casemark/skills modeling-transaction-cost-analysisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Builds TCA frameworks with implementation shortfall, VWAP comparison, and market impact estimation across asset classes.
Normalize execution records — align timestamps to a common clock, reconcile partial fills, and tag each execution with venue and algo identifiers. Remove or flag cancels, amendments, and erroneous prints.
Calculate explicit costs — sum commissions, SEC fees, stamp duties [VERIFY applicable fee schedules], clearing charges, and any exchange rebates/credits per order.
Compute implementation shortfall (IS) — decompose total IS into:
Run VWAP/TWAP comparison — calculate the interval VWAP (or TWAP) over the execution window using consolidated market data; report slippage as fill price minus benchmark in bps. Flag orders where participation rate exceeded a threshold (e.g., >15% of interval volume) since benchmark validity erodes at high participation.
Estimate market impact — apply a square-root market impact model (e.g., σ × √(Q/ADV) × coefficient) calibrated to the asset class. Compare predicted impact to realized impact. If the desk has historical TCA data, fit coefficients empirically; otherwise use published coefficients [VERIFY source — common references: Almgren-Chriss, Kissell-Glantz, ITG/Virtu models].
Segment and aggregate — group results by the dimensions specified (broker, algo, trader, volatility regime, market-cap tier). Compute mean, median, and standard deviation of slippage within each group. Highlight statistically significant differences across groups.
Sensitivity and regime analysis — test how results shift under different benchmark windows, volatility bands, and participation-rate thresholds. Identify whether poor execution clusters in specific market conditions (e.g., high-vol opens, illiquid close auctions).
Compile TCA report — structure the output with an executive summary, per-benchmark scorecards, broker/algo league tables, outlier trade detail, and methodology notes.
development
name: automated-contract-summary language: en description: Generates structured executive summaries of contracts using ML — captures key terms, party obligations, risk allocations, and compliance requirements in a standardized format. Optimized for high-volume review where speed and consistency matter. tags: - summarization - agreement - corporate --- # Automated Contract Summarization Produces standardized executive summaries of contracts using machine learning, capturing essential term
tools
Extracts regulatory obligations from dense regulations across jurisdictions. Breaks down multi-level regulations into clear article-level obligations, classifies applicability to a business, and prioritizes by risk level. Use when translating regulations into actionable compliance requirements.
development
Continuously monitors regulatory landscapes for changes relevant to a specific business. Ingests global regulatory updates, filters by relevance, summarizes impact, and produces an actionable change advisory. Use when tracking regulatory developments affecting a particular product or market.
testing
Compares an organization's existing compliance controls, policies, and procedures against extracted regulatory obligations to identify coverage gaps. Produces a remediation plan with prioritized actions. Use when assessing compliance maturity or preparing for regulatory audits.