Analyzing Market Microstructureのロゴ

Analyzing Market Microstructure

組織
CaseMark
analyzing-market-microstructure

Evaluates market structure dynamics with order book analysis, spread decomposition, and information asymmetry assessment. Use when analyzing market structure, evaluating trading venues, or assessing execution quality.

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

AIスキル「Analyzing Market Microstructure」を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-market-microstructure
  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-market-microstructure .claude/skills/analyzing-market-microstructure
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Analyzing Market Microstructure

Evaluates market structure dynamics with order book analysis, spread decomposition, and information asymmetry assessment.

When To Use

  • Assessing execution quality across trading venues (exchanges, ATSs, dark pools)
  • Decomposing bid-ask spreads to identify adverse selection, inventory, and order-processing cost components
  • Evaluating order book depth, resilience, and price impact for a specific instrument or venue
  • Measuring information asymmetry between informed and uninformed flow
  • Benchmarking market maker quoting behavior and fill rates
  • Analyzing venue selection or smart order routing logic

Inputs To Gather

  • Instrument identifiers — ticker, ISIN, asset class, listing venue
  • Time window — date range, intraday granularity (tick, second, minute)
  • Data sources — Level I (NBBO/top-of-book), Level II (full depth), trade-and-quote (TAQ), FIX logs, or proprietary execution management system exports
  • Venue universe — which exchanges, ECNs, ATSs, or dark pools are in scope
  • Benchmark prices — arrival price, VWAP, TWAP, midpoint at order entry, or interval close
  • Contextual parameters — average daily volume (ADV), volatility regime, index membership, event calendar (earnings, dividends, rebalances)

Workflow

  1. Define scope and hypothesis

    • Clarify whether the analysis targets a single instrument, a portfolio basket, or a venue comparison
    • State the question explicitly (e.g., "Is adverse selection cost on Venue X higher than the lit market average?")
  2. Prepare and validate data

    • Align timestamps across sources to a common clock (exchange timestamps vs. SIP vs. direct feed) [VERIFY timestamp source and latency assumptions]
    • Filter for regular trading hours vs. pre/post-market as appropriate
    • Flag stale quotes, crossed/locked markets, and obvious outliers (e.g., clearly erroneous prints)
  3. Compute spread decomposition

    • Quoted spread — best ask minus best bid at each observation point
    • Effective spread — 2 × |trade price − midpoint at time of trade|, signed by aggressor side
    • Realized spread — effective spread minus price impact measured at a fixed horizon (e.g., 5 seconds, 1 minute, 5 minutes) [VERIFY horizon convention used by the desk]
    • Price impact (adverse selection component) — effective spread minus realized spread
    • Report each in absolute terms and in basis points of midpoint
  4. Analyze order book dynamics

    • Depth at best: average displayed size at NBBO across the observation window
    • Depth beyond best: cumulative size within N ticks or basis points of midpoint
    • Book imbalance: (bid size − ask size) / (bid size + ask size) at top of book and deeper levels
    • Resilience: time for the book to replenish after a large trade or sweep
    • Quote-to-trade ratio and cancel-to-fill ratio by venue
  5. Assess information asymmetry

    • Probability of informed trading (PIN) model or volume-synchronized PIN (VPIN) if data supports it [VERIFY whether tick data granularity is sufficient for PIN estimation]
    • Toxicity metrics: adverse selection per share by order flow segment (retail, institutional, algorithmic)
    • Correlation between order flow imbalance and subsequent price moves at multiple horizons
  6. Venue and execution quality comparison

    • Effective-over-quoted spread ratio by venue (values near 1.0 suggest minimal price improvement)
    • Fill rate, time-to-fill, and partial fill frequency
    • Venue-specific price improvement statistics (dark pool midpoint fills vs. lit executions)
    • Segmentation of flow: maker vs. taker, displayed vs. non-displayed
  7. Synthesize findings

    • Rank venues or time periods by cost and toxicity metrics
    • Identify structural drivers (e.g., tick-size regime, maker-taker vs. inverted fee schedule, speed bumps)
    • Note any regime sensitivity (e.g., metrics shift materially around earnings or high-volatility events)

Output

Deliver a structured Market Microstructure Analysis Report containing:

  • Executive summary — one paragraph stating the key finding and its trading/execution implication
  • Spread decomposition table — quoted, effective, realized spreads and adverse selection component by venue and time period
  • Order book profile — depth charts, imbalance time series, resilience statistics
  • Information asymmetry metrics — PIN/VPIN estimates, toxicity breakdown by flow type
  • Venue comparison matrix — side-by-side metrics (spread, fill rate, price improvement, latency)
  • Recommendations — actionable changes to venue selection, order type usage, or timing strategy
  • Appendix — data sources, timestamp conventions, parameter choices, and any [VERIFY] items requiring desk confirmation

Quality Checks

  • Confirm that effective spread is never negative (sanity check on trade-side classification; Lee-Ready or similar algorithm should be documented)
  • Verify that realized spread + adverse selection component = effective spread within rounding tolerance
  • Cross-check volume totals against consolidated tape to ensure no missing prints
  • Ensure venue-level metrics sum or average correctly to the aggregate
  • Flag any period where spread metrics are distorted by halts, circuit breakers, or auction-only sessions [VERIFY halt/auction handling]
  • Validate that PIN/VPIN estimates use sufficient sample size and that confidence intervals are reported
  • Confirm fee schedule assumptions (maker-taker, payment for order flow) are current [VERIFY exchange fee schedules effective date]

よくある質問

AIスキル「Analyzing Market Microstructure」では何ができますか?

Evaluates market structure dynamics with order book analysis, spread decomposition, and information asymmetry assessment. Use when analyzing market structure, evaluating trading venues, or assessing execution quality.

TypingMindでAnalyzing Market Microstructureを使うメリットは何ですか?

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

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

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

Analyzing Market Microstructureを使えるAIモデルはどれですか?

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

Analyzing Market Microstructureで使えるAIモデルの数に制限はありますか?

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

AIスキル「Analyzing Market Microstructure」は無料ですか?

はい。CaseMarkがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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