Canonical Reference

Market Microstructure & Order Book Glossary

Precise definitions, mathematical formulations, and boundary notes for the quantitative metrics implemented inside VisualHFT Terminal.

Order Book & Liquidity

Market Resilience Bias (MRB)

Directional follow-up score (-1 bearish, 0 neutral, +1 bullish) derived from which side of the order book was depleted during a trade shock and whether liquidity rebuilds within the configured observation window while resilience remains depressed.

Toxicity & Flow

VPIN (Volume-Synchronized Probability of Informed Trading)

Formula: average |V_buy - V_sell| / V_bucket over n equal-volume buckets

Volume-clock order-flow imbalance metric grouping trades into equal-volume buckets and averaging absolute buy/sell imbalance over a rolling window on a 0-1 scale. VisualHFT supports configurable bucket volume, minimum 20-trade bucket discipline, and optional tick-rule classification.

Execution & Ratios

Replay & Data

Level 2 (L2) vs. Level 3 (L3) Order Book Data

Level 2 aggregates total resting size per price level on bid and ask sides; Level 3 exposes order-by-order lifecycle events (add, modify, cancel, execute) per individual order ID for queue position and ITCH-level forensics.

Apply These Metrics in Real Time

Inspect all shipped study plugins, empirical working papers, and installation docs.