# 75 Microstructure Strategy Fields & 33 Technical Indicators

> Canonical URL: https://opendepth.io/docs/indicators

## All 75 Strategy Fields (54 Stored + 21 Derived)

| Field ID | Group | Kind | Depth Gate | Formula | Name | Description |
| --- | --- | --- | --- | --- | --- | --- |
| `open` | price | stored | — | — | Open | First raw trade execution price inside the bar. |
| `high` | price | stored | — | — | High | Highest raw trade execution price inside the bar. |
| `low` | price | stored | — | — | Low | Lowest raw trade execution price inside the bar. |
| `close` | price | stored | — | — | Close | Final raw trade execution price inside the bar. |
| `close_location` | price | derived | — | `(close - low) / (high - low)` | Close Location Value | Range-normalized close in [0, 1]; 1 closes at the high, 0 at the low. |
| `upper_wick_pct` | price | derived | — | `(high - max(open, close)) / close * 100` | Upper Wick % | Upper rejection shadow as a percentage of close. |
| `lower_wick_pct` | price | derived | — | `(min(open, close) - low) / close * 100` | Lower Wick % | Lower demand tail as a percentage of close. |
| `wick_asymmetry` | price | derived | — | `lower_wick_pct - upper_wick_pct` | Wick Asymmetry % | Positive values indicate stronger lower needle rejection than upper exhaustion. |
| `body_to_range` | price | derived | — | `(close - open) / (high - low)` | Signed Body Ratio | Signed directional conviction in [-1, 1]. |
| `base_amount` | volume | stored | — | — | Base Volume | Total traded base asset units aggregated from raw fills. |
| `quote_amount` | volume | stored | — | — | Quote Volume | Total notional volume in quote currency (USDT/USDC). |
| `taker_buy_amt` | flow | stored | — | — | Taker Buy Base | Aggressive market-buy volume in base units. |
| `taker_sell_amt` | flow | stored | — | — | Taker Sell Base | Aggressive market-sell volume in base units. |
| `taker_buy_quote` | flow | stored | — | — | Taker Buy Notional | Aggressive market-buy notional in quote currency. |
| `taker_sell_quote` | flow | stored | — | — | Taker Sell Notional | Aggressive market-sell notional in quote currency. |
| `taker_buy_cnt` | flow | stored | — | — | Taker Buy Count | Number of aggressive buy trades inside the bar. |
| `taker_sell_cnt` | flow | stored | — | — | Taker Sell Count | Number of aggressive sell trades inside the bar. |
| `netz_60` | flow | stored | — | — | Perp Net Flow Z-Score (1h) | Rolling 60-minute net taker flow normalized by historical standard deviation (σ). |
| `netz_240` | flow | stored | — | — | Perp Net Flow Z-Score (4h) | Rolling 4-hour perpetual net taker flow Z-score. |
| `netz_1440` | flow | stored | — | — | Perp Net Flow Z-Score (24h) | Rolling 24-hour perpetual net taker flow Z-score. |
| `spotz_60` | flow | stored | — | — | Paired Spot Flow Z-Score (1h) | Rolling 60-minute net taker flow Z-score on the paired spot twin. |
| `spotz_240` | flow | stored | — | — | Paired Spot Flow Z-Score (4h) | Rolling 4-hour paired spot net taker flow Z-score. |
| `spotz_1440` | flow | stored | — | — | Paired Spot Flow Z-Score (24h) | Rolling 24-hour paired spot net taker flow Z-score. |
| `taker_imbalance` | flow | derived | — | `(buy_amt - sell_amt) / (buy_amt + sell_amt)` | Taker Flow Imbalance | Normalized buy/sell dominance in [-1, 1]. |
| `taker_net_quote` | flow | derived | — | `taker_buy_quote - taker_sell_quote` | Net Taker Notional | Signed quote-currency delta between taker buys and sells. |
| `avg_buy_quote` | flow | derived | — | `taker_buy_quote / taker_buy_cnt` | Avg Buy Ticket Size | Average notional size per aggressive buy fill. |
| `avg_sell_quote` | flow | derived | — | `taker_sell_quote / taker_sell_cnt` | Avg Sell Ticket Size | Average notional size per aggressive sell fill. |
| `trade_size_imbalance` | flow | derived | — | `(avg_buy - avg_sell) / (avg_buy + avg_sell)` | Ticket-Size Imbalance | Compares average buy ticket size against average sell ticket size in [-1, 1]. |
| `perp_spot_flow_div_60` | flow | derived | — | `netz_60 - spotz_60` | Perp − Spot Flow Divergence (1h) | >0 signals leveraged perp chasing; <0 signals healthier spot-led accumulation. |
| `oi_base` | positioning | stored | — | — | Open Interest (Base) | Point-in-time perpetual open interest in base units. |
| `oi_quote` | positioning | stored | — | — | Open Interest (Quote) | Perpetual open interest notional in quote currency. |
| `liq_long_quote` | positioning | stored | — | — | Long Liquidations | Summed forced long liquidation notional inside the bar. |
| `liq_short_quote` | positioning | stored | — | — | Short Liquidations | Summed forced short liquidation notional inside the bar. |
| `top_pos_lsr` | positioning | stored | — | — | Top-Trader Position L/S Ratio | Exchange top-trader net position long/short ratio (carried forward within 2h). |
| `top_acct_lsr` | positioning | stored | — | — | Top-Trader Account L/S Ratio | Ratio of net-long to net-short accounts among top traders. |
| `global_lsr` | positioning | stored | — | — | Global Account L/S Ratio | Crowd/retail net-long vs net-short account ratio across all traders. |
| `taker_ls` | positioning | stored | — | — | Exchange Taker L/S Ratio | Venue-reported 5m taker buy/sell volume ratio. |
| `smart_dumb_div` | positioning | derived | — | `top_pos_lsr / global_lsr` | Whale / Crowd Divergence | Measures how strongly top-trader positions diverge from retail accounts. |
| `whale_size_skew` | positioning | derived | — | `top_pos_lsr / top_acct_lsr` | Whale Size Skew | Separates largest capital whales from smaller accounts inside the top tier. |
| `turnover_oi_ratio` | positioning | derived | — | `quote_amount / oi_quote` | Turnover / OI Ratio | Trading volume intensity relative to standing open interest. |
| `oi_to_bid100` | positioning | derived | ±100 bps | `oi_quote / book_bid_depth_100` | OI / ±100bps Bid Depth | High ratios highlight thin-book squeeze or liquidation cascade risk. |
| `liq_imbalance` | positioning | derived | — | `(liq_short - liq_long) / (liq_short + liq_long)` | Liquidation Imbalance | >0 short-squeeze liquidations; <0 long cascade liquidations. |
| `liq_to_vol` | positioning | derived | — | `(liq_long + liq_short) / quote_amount` | Liquidation / Volume Share | Share of bar volume driven by forced liquidations. |
| `funding_rate` | funding | stored | — | — | Funding Rate | Current perpetual funding rate decimal (e.g. 0.0001 = 0.01%). |
| `fr_max` | funding | stored | — | — | Bar Max Funding Rate | Peak funding rate sampled inside the bar. |
| `fr_min` | funding | stored | — | — | Bar Min Funding Rate | Lowest funding rate sampled inside the bar. |
| `fr_range_bps` | funding | derived | — | `(fr_max - fr_min) * 10000` | Funding Swing (bps) | Intra-bar funding swing in basis points. |
| `mark_price` | basis | stored | — | — | Mark Price | Exchange mark price used for unrealized PnL and liquidation. |
| `index_price` | basis | stored | — | — | Index Price | Composite underlying spot index price. |
| `basis_60` | basis | stored | — | — | Rolling Basis Mean (1h, bps) | 60-minute rolling mean perp-vs-spot premium in bps. |
| `basis_240` | basis | stored | — | — | Rolling Basis Mean (4h, bps) | 4-hour rolling mean perp-vs-spot premium in bps. |
| `basis_bps` | basis | derived | — | `(mark_price - index_price) / index_price * 10000` | Instant Basis (bps) | Instantaneous mark-minus-index spread in basis points. |
| `book_spread_bps` | liquidity | stored | — | — | Bid-Ask Spread (bps) | Time-weighted best-ask minus best-bid spread in basis points. |
| `book_bid_depth_20` | liquidity | stored | ±20 bps | — | Bid Depth ±20 bps | Time-weighted resting bid notional within 0.20% of mid price. |
| `book_ask_depth_20` | liquidity | stored | ±20 bps | — | Ask Depth ±20 bps | Time-weighted resting ask notional within 0.20% of mid price. |
| `book_bid_depth_100` | liquidity | stored | ±100 bps | — | Bid Depth ±100 bps | Time-weighted resting bid notional within 1% of mid price. |
| `book_ask_depth_100` | liquidity | stored | ±100 bps | — | Ask Depth ±100 bps | Time-weighted resting ask notional within 1% of mid price. |
| `book_bid_depth_200` | liquidity | stored | ±200 bps | — | Bid Depth ±200 bps | Time-weighted resting bid notional within 2% of mid price. |
| `book_ask_depth_200` | liquidity | stored | ±200 bps | — | Ask Depth ±200 bps | Time-weighted resting ask notional within 2% of mid price. |
| `book_bid_depth_500` | liquidity | stored | ±500 bps | — | Bid Depth ±500 bps | Time-weighted resting bid notional within 5% of mid price. |
| `book_ask_depth_500` | liquidity | stored | ±500 bps | — | Ask Depth ±500 bps | Time-weighted resting ask notional within 5% of mid price. |
| `book_depth_imbalance_20` | liquidity | stored | ±20 bps | — | Depth Imbalance ±20 bps | Near-touch bid vs ask resting depth imbalance in [-1, 1]. |
| `book_depth_imbalance_100` | liquidity | stored | ±100 bps | — | Depth Imbalance ±100 bps | 1% band bid vs ask resting depth imbalance in [-1, 1]. |
| `absorb_60` | liquidity | stored | — | — | Passive Bid-Wall Absorption (1h) | Measures how much aggressive sell volume is absorbed by resting bids without price collapse. |
| `refill_min` | liquidity | stored | — | — | Bid-Wall Refill Time (min) | Minutes taken for depleted near-book bid liquidity to replenish. |
| `sym_60` | liquidity | stored | — | — | Orderbook Skew (1h) | 60-minute rolling depth symmetry/skew score. |
| `sym_240` | liquidity | stored | — | — | Orderbook Skew (4h) | 4-hour rolling depth symmetry/skew score. |
| `depth_convexity_500_20` | liquidity | derived | ±500 bps | `book_bid_depth_500 / book_bid_depth_20` | Deep-to-Near Bid Convexity | Distinguishes deep passive accumulation walls from thin top-of-book liquidity. |
| `book_impact_buy_bps_t1` | impact | stored | ±20 bps | — | Buy Slippage Impact (T1, bps) | Realized sweep slippage in bps for a tier-1 market buy against the live order book. |
| `book_impact_sell_bps_t1` | impact | stored | ±20 bps | — | Sell Slippage Impact (T1, bps) | Realized sweep slippage in bps for a tier-1 market sell against the live order book. |
| `lam_buy_60` | impact | stored | — | — | Buy Kyle's Lambda (1h) | Price impact per unit of aggressive buy flow over 60 minutes. |
| `lam_buy_240` | impact | stored | — | — | Buy Kyle's Lambda (4h) | Price impact per unit of aggressive buy flow over 4 hours. |
| `lam_sell_60` | impact | stored | — | — | Sell Kyle's Lambda (1h) | Price impact per unit of aggressive sell flow over 60 minutes. |
| `lam_sell_240` | impact | stored | — | — | Sell Kyle's Lambda (4h) | Price impact per unit of aggressive sell flow over 4 hours. |
| `impact_asymmetry_60` | impact | derived | — | `(lam_buy_60 - lam_sell_60) / (lam_buy_60 + lam_sell_60)` | Impact Asymmetry (1h) | >0 means upside moves more easily than downside (strong resting bid floor). |

## All 33 Converged Quantitative Indicators

| Indicator ID | Category | Parameters | Name | Description |
| --- | --- | --- | --- | --- |
| `sma` | ma | `field, length` | Simple Moving Average | Arithmetic mean over `length` bars on any of the 75 fields. |
| `ema` | ma | `field, length` | Exponential Moving Average | SMA-seeded recursive EMA with automatic convergence warmup matching live and backtest. |
| `wma` | ma | `field, length` | Weighted Moving Average | Linearly weighted moving average emphasizing recent bars. |
| `vwap` | ma | `window` | Rolling VWAP | Exact `sum(quote_amount) / sum(base_amount)` — no typical-price shortcut. |
| `avwap_oi` | ma | `surgePct, lookback` | OI-Surge Anchored VWAP | Anchors VWAP automatically to the latest open-interest surge bar. |
| `avg` | window | `field, window` | Rolling Mean | Window average on any field. |
| `sum` | window | `field, window` | Rolling Sum | Cumulative window sum (e.g., 24h liquidation total). |
| `max` | window | `field, window` | Rolling Max | Highest value over `window` bars. |
| `min` | window | `field, window` | Rolling Min | Lowest value over `window` bars. |
| `above_low_pct` | window | `field, window` | % Above Window Low | Percent rally off the rolling `window` minimum. |
| `below_high_pct` | window | `field, window` | % Below Window High | Percent drawdown from the rolling `window` maximum. |
| `stddev` | window | `field, window` | Rolling Std Dev | Window standard deviation on any field. |
| `change_pct` | window | `field, lookback` | Percent Change | Percentage change versus `lookback` bars ago. |
| `zscore` | window | `field, window` | Rolling Z-Score | Standard deviations from rolling mean — ideal for OI, depth, or funding anomalies. |
| `rank_pct` | window | `field, window` | Percentile Rank % | Non-parametric percentile rank in [0, 100] over `window` bars. |
| `rsi` | oscillator | `field, length` | Wilder's RSI | Exact Wilder recursive RSI with convergence warmup; applies to price, OI, or L/S ratio. |
| `atr` | oscillator | `length` | Average True Range | Wilder's true-range volatility estimator. |
| `stoch_k` | oscillator | `length` | Stochastic %K | Fast stochastic oscillator over `length` bars. |
| `stoch_d` | oscillator | `length, smooth` | Stochastic %D | Smoothed SMA of %K. |
| `williams_r` | oscillator | `length` | Williams %R | Momentum oscillator in [-100, 0]. |
| `cci` | oscillator | `length` | Commodity Channel Index | Mean-deviation channel oscillator. |
| `mfi` | oscillator | `length` | Money Flow Index | Volume-weighted RSI using true bar volume. |
| `bbands_pct` | flow | `field, length, mult` | Bollinger %B | Normalized band location (0 = lower band, 1 = upper band). |
| `cvd` | flow | `window` | Cumulative Volume Delta | True signed `taker_buy_amt - taker_sell_amt` sum (not an OBV close-direction proxy). |
| `macd` | flow | `field, fast, slow` | MACD Line | Fast EMA minus slow EMA on any field. |
| `macd_signal` | flow | `field, fast, slow, signal` | MACD Signal | Converged EMA of the MACD line. |
| `macd_hist` | flow | `field, fast, slow, signal` | MACD Histogram | MACD line minus signal line. |
| `up_ratio` | regime | `field, window` | Up-Bar Ratio % | Share of bars closing higher than previous bar inside `window`. |
| `er` | regime | `field, window` | Kaufman Efficiency Ratio | Net move divided by total path length in [0, 1]; separates clean trends from chop. |
| `reg_z` | regime | `field, window` | Regression Channel Z | Residual deviation from rolling linear regression trendline in σ. |
| `reg_r2` | regime | `field, window` | Regression Fit R² | Linearity of the rolling trend in [0, 1]. |
| `reg_slope_pct` | regime | `field, window` | Regression Slope %/bar | Percentage trend slope per bar from rolling OLS regression. |
| `vr` | regime | `field, window, step` | Variance Ratio (Lo-MacKinlay) | VR > 1 signals momentum persistence; VR < 1 signals mean reversion. |
