No single metric captures the state of the crypto derivatives market. Open interest tells you how much leverage exists, but not where it breaks. Funding rates tell you directional bias, but not whether the bias is about to reverse. Whale positioning tells you where smart capital is leaning, but not whether the structural conditions support the trade.
Glass runs six intelligence engines in parallel, each focused on a different dimension. The sixth engine synthesizes the other five into a single, actionable market state.
The six engines
Correlation Engine
Tracks cross-asset relationships: BTC vs ETH, BTC vs traditional markets, and cross-exchange correlations. When correlation breaks, it signals a regime change. An ETH divergence from BTC during a leverage buildup can indicate rotation, hedging, or isolated risk-taking in one market.
Dominance Tracker
Monitors BTC dominance shifts and capital rotation between BTC and altcoins. When BTC dominance flips direction, it signals a change in capital flow dynamics. This engine generates DOMINANCE_FLIP events that classify as P2 in the Fast Feed.
Magnetism Calculator
Computes price gravity zones based on liquidation density. When a high-density liquidation cluster sits near the current price, it exerts a gravitational pull. Price tends to move toward these zones because the liquidity they represent attracts aggressive participants. The engine quantifies this pull as a magnetism score.
MM Detection
Identifies market maker hunting patterns near stop-loss clusters and liquidation zones. When absorption behavior and directional order flow align near a loaded zone, the engine fires an MM_HUNTING_GROUND_ARMED event.
Danger Alert
Calculates real-time proximity to high-risk price zones. As price approaches an armed liquidation cluster with cascade potential, the engine increases the alert level. A DANGER_ZONE_APPROACH event fires at P1 when the distance narrows below threshold.
State Service: the synthesis layer
The State Service is the sixth engine. It consumes the outputs of the other five and produces a unified market state classification.
Five regime states
Trending Up, Trending Down, Ranging, Compression, and High Volatility. Each state implies a different set of risk parameters, position sizing guidelines, and event relevance weightings.
The classification is not based on price action alone. A market that is ranging in price but showing rising leverage, whale accumulation, and increasing magnetism toward a loaded cluster is not the same as a market that is ranging with declining open interest and no structural load. The State Service accounts for all five dimensions.
When the state transitions, Glass fires a REGIME_SHIFT event. This event carries the previous state, the new state, the confidence of the transition, and the contributing factors. A shift from Ranging to Compression with high liquidation density nearby has different implications than a shift from Ranging to Trending Up with declining leverage.
Why parallel processing matters
The six engines run independently and concurrently. Correlation does not wait for Dominance. Magnetism does not wait for MM Detection. Each engine processes its data stream continuously and publishes its output to the State Service.
This architecture means the market state updates as fast as the fastest signal. A sudden correlation break updates the state immediately, even if the Dominance Tracker has not changed its output. The State Service holds the latest output from each engine and recomputes the unified state whenever any input changes.
For the trader, this means the market state classification reflects every relevant dimension in real time. Not a single indicator. Not a delayed composite. A continuously updated synthesis of six parallel intelligence streams.
