QUANT_API
UTCSign inGet a key ↗
ORDER BOOK · ✓ LIVE

Ask-Side Book Slope

Ask-side liquidity decay vs distance.

orderbook.book_slope_askd(depth) / d(dist) — askBinance · OKX

What it measures

How quickly ask-side resting depth decays away from the best ask — the gradient d(depth)/d(distance) fit on the ask side. A steep ask slope means offers are concentrated at the touch and the path upward is thin behind them; a flat slope means layered supply. Used together with the bid-side slope, it gives a structural read on which side of the book would absorb a burst of aggression better.

References: Cao-Hansch-Wang 2009.

Point-in-time, leak-free

Like every QUANT_API feature, orderbook.book_slope_ask is computed point-in-time: each value uses only data that had actually arrived at the timestamp you query — live or historical. No restatements, no backfills that quietly rewrite the past, no look-ahead. The value your backtest sees at a given stamp is the value the live API would have returned at that stamp. How we enforce this is documented on the methodology page.

Windows & transforms

The signal is computed over rolling windows; each window can be served raw or through a transform (z-score, percentile rank, delta…). Which windows and transforms you can query depends on your plan — the signal itself supports:

WINDOWS
1s5s15s30s1m5m15m30m45m1h2h4h12h24h
TRANSFORMS
leveldeltaratezscorepctrankewmaminmaxrange

Plan & access

orderbook.book_slope_ask unlocks on the Signal plan ($99/mo) and every plan above it. Every new account starts with a 14-day free trial of the Signal plan — no card required.

Try it free →Compare plans

Example call

Resolve the latest value for BTC (5m window, delta transform — both available on the Signal plan):

curl -G https://api.quant-api.dev/v1/features/live \
  -H "Authorization: Bearer fk_live_<your_key>" \
  --data-urlencode "asset=BTC" \
  --data-urlencode "features=orderbook.book_slope_ask@5m:delta"

Same key works on /v1/features/historical for point-in-time backtesting — see the API docs.

RELATED SIGNALS
Top-of-Book Spread (bps) orderbook.spread_bpsMicroprice Deviation orderbook.microprice_devBook Imbalance (L1) orderbook.book_imbalanceGuide: how this family trades in practiceRead ↗