Analyzing Execution Implementation Shortfallのロゴ

Analyzing Execution Implementation Shortfall

組織
CaseMark
analyzing-execution-implementation-shortfall

Measures implementation shortfall with paper portfolio comparison, delay cost attribution, and execution quality assessment. Use when measuring implementation shortfall, analyzing execution quality, or attributing trading costs.

概要

公開者CaseMark
リポジトリskills
スキル名analyzing-execution-implementation-shortfall
スター
53
フォーク
20
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    CaseMarkがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルAnalyzing Execution Implementation ShortfallをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/CaseMark/skills/tree/main/skills/capital/analyzing-execution-implementation-shortfall
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CaseMark/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/capital/analyzing-execution-implementation-shortfall .claude/skills/analyzing-execution-implementation-shortfall
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAnalyzing Execution Implementation Shortfallを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にAnalyzing Execution Implementation Shortfallを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Analyzing Execution Implementation Shortfallは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Analyzing Execution Implementation Shortfall

Measures implementation shortfall by comparing actual execution results against a paper (decision-time) portfolio, decomposing total cost into delay, market impact, and opportunity components, and assessing broker/algo execution quality.

When To Use

  • Evaluating post-trade execution quality for a single order, basket, or rebalance event
  • Attributing total trading cost across delay cost, market impact cost, and opportunity cost
  • Comparing execution performance across brokers, algorithms, or venues
  • Benchmarking systematic strategy slippage against expected transaction cost models
  • Satisfying best-execution reporting requirements or internal TCA reviews

Inputs To Gather

  • Decision-time snapshot: Price at the moment the portfolio manager decided to trade (the "paper portfolio" benchmark price). Confirm whether this is mid-quote, arrival price, or VWAP at decision time.
  • Order details: Side (buy/sell), intended quantity, asset identifier, order submission timestamp, and any limit/urgency parameters
  • Execution fills: Fill prices, fill quantities, timestamps, venue/broker identifiers, and commissions/fees per fill
  • Market data: Intraday price path (trades and quotes) from decision time through final fill or order cancellation; closing price on the decision date for opportunity cost calculation
  • Benchmark selection: Confirm which IS variant to compute — arrival price (Perold, 1988), interval VWAP, or close-to-close [VERIFY: firm's standard IS benchmark definition]
  • Reference transaction cost model (if available): Expected cost estimates (e.g., from a pre-trade TCA model) for comparison against realized shortfall

Workflow

  1. Construct the paper portfolio return

    • Record the decision price P_decision for each security at the moment the trade intent was generated
    • Compute the hypothetical paper portfolio P&L as if the full intended quantity executed instantly at P_decision with zero cost
  2. Compute total implementation shortfall

    • IS (bps) = (Side × (Average Execution Price − P_decision) / P_decision) × 10,000 + commission cost in bps
    • For a basket, weight each security's IS by its intended trade notional to get portfolio-level IS
  3. Decompose IS into cost components

    • Delay cost: Slippage between decision price and the price at order submission (broker receipt). Captures portfolio manager latency or operational lag.
    • Market impact cost: Slippage between the order submission price and the volume-weighted average fill price. Captures the price movement caused by the order itself.
    • Opportunity cost: Value of the unfilled portion, measured as the difference between the decision price and the closing price (or cancellation price) applied to unexecuted shares.
    • Fixed costs: Commissions, exchange fees, taxes, and settlement charges.
    • Confirm all components sum to total IS within rounding tolerance.
  4. Benchmark against expectations

    • Compare realized IS to the pre-trade cost estimate from the firm's transaction cost model
    • Flag orders where realized cost exceeds the model estimate by more than 1 standard deviation of model error [VERIFY: firm-specific threshold]
    • Segment results by order urgency, market-cap bucket, spread decile, and volatility regime to identify systematic patterns
  5. Assess execution quality dimensions

    • Broker/algo scorecard: Rank brokers or algo strategies by average IS, participation rate, and reversion (post-trade price movement favoring or penalizing the execution)
    • Venue analysis: Examine fill rates and price improvement by venue (lit exchanges, dark pools, SIs) [VERIFY: regulatory venue reporting requirements per jurisdiction — MiFID II RTS 28, SEC Rule 606]
    • Timing analysis: Plot cumulative IS contribution over the execution horizon to identify front-loading, back-loading, or even pacing patterns
    • Market condition adjustment: Normalize IS for realized volatility and spread during execution to distinguish skill from luck
  6. Compile findings and flag outliers

    • Identify the top N most costly orders by absolute IS contribution
    • Highlight any orders with negative IS (execution better than paper) and assess whether this reflects genuine alpha capture or adverse selection risk
    • Note any data gaps (missing fills, timestamp mismatches, corporate actions during execution) that may distort results

Output

Produce an Implementation Shortfall Analysis Report containing:

  • Executive summary: Portfolio-level IS in basis points and dollar terms, with comparison to the pre-trade estimate and prior-period averages
  • Component decomposition table: Delay cost, market impact, opportunity cost, and fixed costs — each in bps and dollars, with percentage-of-total breakdown
  • Broker/algo scorecard: Ranked table with average IS, fill rate, participation rate, and reversion metrics per broker or strategy
  • Outlier detail: Individual order-level breakdown for the highest-cost trades, with annotated market context (e.g., news events, liquidity gaps)
  • Trend analysis: Rolling IS over the past N rebalance cycles to show whether execution quality is improving or deteriorating
  • Recommendations: Specific, actionable suggestions (e.g., shift volume allocation toward algo X, reduce delay cost by automating order staging, revisit dark pool usage for small-cap names)

Quality Checks

  • Verify that component costs sum to total IS within ±0.1 bps rounding tolerance
  • Confirm decision-time prices are sourced from an independent feed, not back-filled from execution timestamps
  • Cross-check fill data against broker confirmations or FIX drop copies
  • Ensure opportunity cost uses the correct closing price (adjusted for any corporate actions or halts)
  • Validate that the benchmark definition matches the firm's compliance and best-execution policy [VERIFY]
  • For multi-day executions, confirm that overnight gap attribution is handled consistently (assigned to delay cost or separated as a distinct component per firm convention)
  • Flag any security where daily volume participation exceeded 10% ADV, as market impact estimates become less reliable at high participation rates

よくある質問

AIスキル「Analyzing Execution Implementation Shortfall」では何ができますか?

Measures implementation shortfall with paper portfolio comparison, delay cost attribution, and execution quality assessment. Use when measuring implementation shortfall, analyzing execution quality, or attributing trading costs.

TypingMindでAnalyzing Execution Implementation Shortfallを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Analyzing Execution Implementation Shortfallはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAnalyzing Execution Implementation Shortfallをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/CaseMark/skills/tree/main/skills/capital/analyzing-execution-implementation-shortfallを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Analyzing Execution Implementation Shortfallを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Analyzing Execution Implementation Shortfallは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAnalyzing Execution Implementation Shortfallを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Analyzing Execution Implementation Shortfall」は無料ですか?

はい。CaseMarkがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇