market-microstructure

Calculate market microstructure metrics and analyze limit order books.

Updated May 25, 2026
One-click install
npx skills add https://github.com/NigarumOvum/AutoTrading --skill market-microstructure-nigarumovum
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: market-microstructure
Source: https://github.com/NigarumOvum/AutoTrading/tree/main/Vibe-Trading/agent/src/skills/market-microstructure
Command: npx skills add https://github.com/NigarumOvum/AutoTrading --skill market-microstructure-nigarumovum

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, scipy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides in-depth analysis of market microstructure metrics and trading strategies, helping traders and investors understand market dynamics and make informed decisions.

Core Features & Use Cases

  • Market Microstructure Analysis: Calculate bid-ask spreads, order-flow toxicity metrics, liquidity measures, and price-impact models.
  • Limit Order Book Analysis: Analyze depth metrics, resilience, and order-book imbalance signals.
  • Flash-Crash Mechanism: Identify characteristics, triggers, and preventive measures for flash crashes.
  • China A-Share Specific Microstructure: Understand call-auction mechanics, closing auction characteristics, and block-trade discount signals.
  • Use Case: A trader needs to analyze the market microstructure of a specific stock to optimize their trading strategy and manage liquidity risks.

Quick Start

Run the market-microstructure skill on the stock '000001.SZ' to get a detailed analysis of its market microstructure metrics.

Frequently Asked Questions about market-microstructure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate market microstructure metrics like bid-ask spreads and order-flow toxicity?

To calculate market microstructure metrics, you need to analyze bid-ask spreads, order-flow toxicity, and liquidity measures using financial data. This process requires pandas and numpy to process trading data and generate quantitative insights into market dynamics.

What is the best way to analyze limit order book depth and imbalance signals?

Analyzing limit order book depth involves evaluating resilience and order-book imbalance signals to understand market liquidity. This Skill calculates these depth metrics to help traders identify optimal execution strategies and manage liquidity risks effectively.

How do I identify flash crash characteristics and triggers in trading data?

Identifying flash crash characteristics requires analyzing trading data for sudden liquidity drops and extreme price impacts. This Skill detects these mechanisms and triggers, providing insights into preventive measures for market instability.

Can I analyze China A-share specific microstructure like call-auction mechanics and block trades?

Yes, you can analyze China A-share specific microstructure, including call-auction mechanics, closing auction characteristics, and block-trade discount signals. This Skill provides tailored insights for the unique trading mechanisms of the China A-share market.

Do I need prior knowledge of financial markets to use this market microstructure analysis?

Yes, you need prior knowledge of financial markets and trading strategies to use this market microstructure analysis effectively. The Skill is designed for advanced users who understand liquidity, order flow, and price impact dynamics.

How do I analyze market microstructure for a specific stock like 000001.SZ?

To analyze market microstructure for a specific stock like 000001.SZ, you run the Skill on the target ticker. It calculates the stock's bid-ask spreads, order-flow toxicity, and limit order book depth to optimize your trading strategy.