Quantitative Research
Technical whitepapers, market studies, and architectural blueprints authored by the TwoWayMind data science and engineering teams.
Beyond Volatility: Realized Skewness and Kurtosis in Intraday Returns
Volatility measures how much a market moved; realized skewness and kurtosis measure the shape — the asymmetry and tail risk that variance alone misses.
Read Full Article →The Hurst Exponent: Measuring Trend and Mean Reversion in Markets
One number that separates trending markets from mean-reverting ones — rescaled-range analysis, what H means, and how to read it without fooling yourself.
Read Full Article →Estimating the Bid-Ask Spread from OHLC Data: Corwin-Schultz & Abdi-Ranaldo
Recover the effective bid-ask spread from daily high, low, and close prices — two classic estimators, why they work, and what they cost your backtest to ignore.
Read Full Article →VPIN and Order Flow Toxicity: Measuring the Risk of Informed Trading
How VPIN turns raw trades into a live gauge of adverse-selection risk — volume buckets, bulk volume classification, and the toxicity signal that preceded the flash crash.
Read Full Article →Transaction Cost Analysis: Measuring the True Cost of Execution
The complete execution cost stack — arrival slippage, implementation shortfall, effective spread, market impact, and adverse selection — measured end to end.
Read Full Article →Trade Markouts and Adverse Selection: Measuring Flow Toxicity
The single most important post-trade diagnostic: how far price drifts in the aggressor's favour after a fill, and what markout curves reveal about toxic flow.
Read Full Article →Information-Driven Bars: Tick, Volume & Dollar Sampling for Market Microstructure
Why the wall clock is the worst way to sample a market, and how tick, volume, and dollar bars produce better-behaved returns for OFI, VPIN, and volatility models.
Read Full Article →Optimal Market Making and Inventory Risk: The Avellaneda-Stoikov Framework
Modeling optimal reservation prices, spread offsets, and inventory risk-adjusted quoting schedules.
Read Full Article →Real-Time Order Book Reconstruction from Incremental Feeds
Rebuilding in-memory depth queues from incremental events and calculating micro-prices, spreads, and imbalances.
Read Full Article →The Lo-MacKinlay Variance Ratio Test and Market Efficiency
Identifying mean-reverting, trending, and random walk regimes by scaling variances across aggregate horizons.
Read Full Article →Modeling Cross-Impact and Price Spillovers in Multi-Asset Portfolios
Modeling transaction slippage spillovers, co-volatility risk, and optimal liquidation paths for multi-asset baskets.
Read Full Article →Optimal Order Execution and the Almgren-Chriss Framework
Solving the risk-impact frontier and optimal inventory schedules using expected shortfall minimization models.
Read Full Article →Order Flow Imbalance (OFI) and Price Predictability
Modeling short-term alpha and price drift in the limit order book using Level 1 and multi-level Order Flow Imbalance indicators.
Read Full Article →Market Impact Modeling: Estimating Slippage and Decay
Estimating permanent and temporary price impact using the square-root law, linear-nonlinear transitions, and order flow decay kernels.
Read Full Article →Predicting Limit Order Fill Probability: A Machine Learning Approach
Modeling limit order fill dynamics in high-frequency regimes using feature engineering on queue distance, OBI, and Gradient Boosted Trees (XGBoost).
Read Full Article →Cross-Asset Latency Arbitrage: Multi-Market Microstructure
A study of cross-venue price correlation lag, propagation delay mediums, and high-frequency execution strategies on fragmented order books.
Read Full Article →Volatility Forecasting in HFT: GARCH and HAR-RV Algorithmic Models
An analytical breakdown of conditional heteroskedasticity and realized variance modeling to optimize scaling parameters and real-time execution risk.
Read Full Article →Alternative Data Analytics in Algorithmic Trading: Quantitative Sentiment Mining
How algorithmic trading systems process unstructured news and social feeds with low-latency NLP pipelines to extract market-beating alpha signals.
Read Full Article →FPGA Hardware Acceleration: Engineering sub-microsecond HFT Bitstreams
An architectural deep dive into FPGA-accelerated trading pipelines, direct Ethernet transceivers, and single-cycle pre-trade risk gate evaluations.
Read Full Article →Real-Time Limit Order Book Queue Position Estimation
How to estimate limit order queue position within First-In-First-Out (FIFO) matching engines using Bayesian updates and microsecond cancellation signals.
Read Full Article →Optimal Execution: Balancing Market Impact and Inventory Risk under Almgren-Chriss
Trading trajectories minimizing expected implementation shortfall cost against volatility risk by modeling permanent and temporary impact functions.
Read Full Article →Optimal Market Making: Inventory Control and Spread Dynamics under Avellaneda-Stoikov
Stochastic control theory in order book dynamics, formulating optimal reservation prices and dynamic spreads to mitigate inventory drift.
Read Full Article →Order Flow Imbalance (OFI) and Price Impact in High-Frequency Trading
How Order Flow Imbalance (OFI) measures supply-demand shifts in the limit order book (LOB), maps to short-term price impact, and optimizes execution.
Read Full Article →Reinforcement Learning in HFT: Optimizing Execution and Order Placement
How Deep Q-Networks and Proximal Policy Optimization (PPO) models learn optimal limit order placement dynamically to minimize slippage and inventory decay.
Read Full Article →Statistical Arbitrage: Cointegration and Kalman Filters in Digital Assets
How to construct stationary pairs spreads, run Johansen cointegration tests, and dynamically track hedge ratios with dynamic Kalman Filters.
Read Full Article →Smart Order Routing: Optimizing Liquidity Allocation across Fragmented Venues
How high-frequency execution engines parse order book depth and synchronize order arrival times to minimize slippage.
Read Full Article →Alternative Data & NLP: Transforming Unstructured Sentiment into Trading Signals
How quantitative models process real-time news feeds, social sentiment, and developer activity to capture predictive trading signals.
Read Full Article →Post-Quantum Cryptography in High-Frequency Trading
Engineering quantum-resilient execution infrastructure with zero-copy architectures to defend against Store Now, Decrypt Later threats.
Read Full Article →The Illusion of Backtesting: Why 90% of Alpha Models Fail in Production
Why algorithms that look great on paper fail in reality due to slippage, market impact, and ghost liquidity, and how to fix it.
Read Full Article →Data Normalization at Scale: Handling Fragmented Liquidity
How TwoWayMind ingests, cleans, and normalizes raw WebSocket and FIX feeds from dozens of global exchanges in real-time.
Read Full Article →The Evolution of Market Microstructure: Winning the Nanosecond War
A deep dive into fragmented liquidity and how TwoWayMind leverages hardware acceleration (FPGA) and smart order routing to eliminate latency.
Read Full Article →The Genesis of TwoWayMind
The story of how TwoWayMind stopped trading and spent two years in stealth mode building the infrastructure we couldn't find anywhere else.
Read Full Article →The Convergence of Market Microstructure and Nanosecond Technology
Explore how advanced C++ infrastructure and hardware-accelerated smart order routing are redefining algorithmic trading latency.
Read Full Article →