Aperiodic
指标
市场实时
文档价格
获取数据

指标库 · L1与L2订单簿

L2订单簿流动性

示例CSV

前10档深度(买卖双侧), BTC 永续合约,近24小时

延迟15分钟…每5分钟自动更新

加载中…

前10档深度(买卖双侧),最新值

Binance
—
OKX
—
Hyperliquid
—

以美元计价,便于各交易所直接比较。

全天市场深度如何变化?

在前20档价位中,深度于UTC 10:55达到峰值USD 4.502亿,于UTC 21:55降至低点USD 3.33亿(−26.0%)。

$450.2M$333.0M
11:55 UTC现在

l2_liquidity.bid_agg_20 + ask_agg_20前20档 · 三家交易所 · 每小时

构建方法BTC, May 2025永续合约排名字段下载常见问题

最优报价后方5至25档的挂单量。

订单簿前5、10、20、25档的买单/卖单总深度,含瞬时值与区间均值。

Built from
L2 (Order Book)
字段
16
K线周期
1m to 1d; 15s and 30s on Prime
套餐
Prime
交易所
Binance, OKX, Hyperliquid
实时
免费版延迟15分钟;付费套餐提供实时数据

构建方法

取自免费预览的一根真实5分钟K线,逐字段展示。

2025年5月14日14:00至14:05 UTC的5分钟K线,Binance BTC-USDT永续合约,数据来自免费预览。

  1. 步骤 1

    四个深度的累计挂单量

    bid_agg_N 为前 N 档买单上挂出的 BTC 数量,ask_agg_N 为卖单的对应数值,因此二者均随 N 增大而增加。

    bid_agg_25(以美元计)=7.689 BTC × $103,805.7=$798.2K
    7.29前 57.85
    7.41前 108.16
    7.61前 208.55
    7.69前 258.67
    买单,BTC卖单,BTC
  2. 步骤 2

    各档位区间的挂单量

    相邻两档累计深度之差即为该区间的挂单量。在该订单簿中,前25档内90%以上的挂单量集中在前五档。

    卖单,第1至5档7.855 BTC
    卖单,第6至10档0.302 BTC
    卖单,第11至20档0.396 BTC
    卖单,第21至25档0.117 BTC
    买单,第1至5档7.287 BTC
    买单,第6至10档0.122 BTC
    买单,第11至20档0.197 BTC
    买单,第21至25档0.083 BTC
  3. 步骤 3

    最新快照或K线均值

    ask_agg_25_avg=各快照的均值=17.467 BTC
    ask_agg_25=最新快照=8.670 BTC

    按整根K线内的平均值计算,卖单挂单量约为收盘时的两倍。每个快照只计一次。

    8.39前 512.32
    9.20前 1013.93
    10.72前 2016.26
    11.37前 2517.47
    买单,BTC卖单,BTC
  4. 步骤 4

    本根K线

    bid_agg_5
    7.287 BTC
    ask_agg_5
    7.855 BTC
    bid_agg_10
    7.409 BTC
    ask_agg_10
    8.157 BTC
    bid_agg_20
    7.606 BTC
    ask_agg_20
    8.553 BTC
    bid_agg_25
    7.689 BTC
    ask_agg_25
    8.670 BTC

BTC订单簿中有多少挂单位于最优报价

在Binance订单簿前25档的BTC中,有74%挂在最优买价和卖价上。

Binance BTC-USDT永续合约,5分钟K线,2025年5月1日至31日,取自免费预览。

买单卖单
10.1
10.1
10.8
10.8
12.1
12.2
12.8
13.0
Top 5Top 10Top 20Top 25

各深度范围内挂单BTC数量的中位数,按K线周期取均值. BTC.

按各K线周期取均值的深度中位数:最优档位19.2 BTC,前5档以内20.3 BTC,前25档以内25.8 BTC,约合$2.7M。买单与卖单基本对称。

由于每个最小价位上都有报价,该订单簿的25档仅覆盖0.24 bps的价格区间。规模超过最优报价的交易,将与其后薄得多的档位成交。

深度最深与最薄的订单簿

统计范围为Binance、OKX和Hyperliquid上按24小时成交量排名前98的永续合约。

延迟15分钟至11:30 UTC每5分钟自动更新

最高

#永续合约盘口深度(24小时)
  1. 1BTC Hyperliquid · USDC$863.1K
  2. 2BTC OKX · USDT$511.9K
  3. 3BTC Binance · USDT$456.5K
  4. 4ETH Hyperliquid · USDC$437.9K
  5. 5ETH OKX · USDT$346.7K

最低

#永续合约盘口深度(24小时)
  1. 1ARIA Binance · USDT$112
  2. 2IDOL Binance · USDT$121
  3. 3ACE Binance · USDT$179
  4. 4EVAA Binance · USDT$229
  5. 5PIEVERSE Binance · USDT$275

解读方法

bid_agg_N and ask_agg_N 为每一侧前N档内以基础资产计的挂单量,N为5、10、20或25。乘以价格即为美元金额。

成交最活跃的前 _avg 字段为区间内所有订单簿快照的均值,不带后缀的字段则取最后一个快照。建议优先使用均值,因为单个快照可能恰好捕捉到报价刷新途中的状态。

一档即一个价格步长,因此相同档数在不同合约上覆盖的价格距离各不相同。跨合约比较应使用美元和基点,而非档数。

ask_agg_5
前5档卖单总量最新值
ask_agg_10
前10档卖单总量最新值
ask_agg_20
前20档卖单总量最新值
ask_agg_25
前25档卖单总量最新值
bid_agg_5
前5档买单总量最新值
bid_agg_10
前10档买单总量最新值
bid_agg_20
前20档买单总量最新值
bid_agg_25
前25档买单总量最新值
全部 16 个字段收起字段
ask_agg_5_avg
区间内前5档卖单总量均值
ask_agg_10_avg
区间内前10档卖单总量均值
ask_agg_20_avg
区间内前20档卖单总量均值
ask_agg_25_avg
区间内前25档卖单总量均值
bid_agg_5_avg
区间内前5档买单总量均值
bid_agg_10_avg
区间内前10档买单总量均值
bid_agg_20_avg
区间内前20档买单总量均值
bid_agg_25_avg
区间内前25档买单总量均值

从零讲解,详见 从第一性原理理解市场(我们的互动课程):

  • 订单簿深度,5至25档:课时 5, 逐档吃单 →
背后的研究收起研究内容

Top-of-book metrics capture only the frontier of the limit order book. The deeper levels — where the bulk of resting liquidity sits — tell you about market resilience: the ability to absorb large orders without significant price displacement.

Order book shape as a market state variable

Biais, Hillion & Spatt (1995) conducted one of the earliest empirical analyses of the full limit order book (on the Paris Bourse), demonstrating that the shape of the book — not just the top level — contains predictive information about future price dynamics. They showed that the distribution of depth across price levels reveals the strategic behavior of limit order traders, who place orders deeper in the book during periods of uncertainty and closer to the market when they want to trade.

Gould et al. (2013) provided a comprehensive review of the limit order book literature, establishing that book depth at multiple levels is a key state variable for models of price formation. Markets with deep, evenly distributed books are resilient — they can absorb large trades with minimal price impact. Markets with concentration at the top and sparse deeper levels are fragile.

What we measure

We track order book state at four cumulative depth tiers: 5, 10, 20, and 25 price levels per side.

  • Aggregate bid/ask depth at each tier — total size available within the top N levels
  • Depth distribution — is liquidity concentrated at the top or spread evenly? Concentration at the top with empty deeper levels signals a single dominant market maker — remove them and there's a gap.
  • Cumulative depth imbalances — bid vs. ask size across all tracked levels. This extends the Cont, Kukanov & Stoikov (2014) order book imbalance signal into the deeper book.

Depth volatility: the resilience metric

How stable is the total depth over an interval? If depth is stable, market makers are committed — they're not pulling quotes defensively. High depth volatility means liquidity providers are repricing rapidly, which Foucault, Kadan & Kandel (2005) modeled as the optimal response to changing information asymmetry: when adverse selection risk rises, limit order traders either cancel or reprice their quotes.

Depth volatility spikes often precede or accompany large directional moves. The mechanism: market makers detect toxic flow (through their own monitoring of order flow patterns) and begin pulling quotes before the move becomes visible in prices. The L2 depth drain is the leading indicator; the price move is the lagging consequence.

The L1-L2 divergence signal

The most actionable signal from L2 data is its divergence from L1:

  • Thin L1 bid, deep L2 bid support → the top-of-book thinness is a market maker inventory adjustment, not genuine weakness. Natural buyers are resting orders deeper in the book.
  • Thick L1 bid, empty L2 behind it → a single concentrated quote creating the illusion of support. This is fragile — one cancellation and there's a gap.
  • L2 depth draining while L1 looks normal → the most dangerous configuration. The next large trade will hit a much thinner book than the top-of-book suggests. This is the micro-level expression of what Brunnermeier & Pedersen (2009) described as liquidity evaporation.

References:

  • Biais, B., Hillion, P. & Spatt, C. (1995). "An Empirical Analysis of the Limit Order Book and the Order Flow in the Paris Bourse." Journal of Finance, 50(5), 1655–1689.
  • Gould, M.D., Porter, M.A., Williams, S., McDonald, M., Fenn, D.J. & Howison, S.D. (2013). "Limit Order Books." Quantitative Finance, 13(11), 1709–1748.
  • Cont, R., Kukanov, A. & Stoikov, S. (2014). "The Price Impact of Order Book Events." Journal of Financial Econometrics, 12(1), 47–88.
  • Foucault, T., Kadan, O. & Kandel, E. (2005). "Limit Order Book as a Market for Liquidity." Review of Financial Studies, 18(4), 1171–1217.
  • Brunnermeier, M.K. & Pedersen, L.H. (2009). "Market Liquidity and Funding Liquidity." Review of Financial Studies, 22(6), 2201–2238.

下载同月数据

无需注册账户。运行一条命令,或交给您的智能体执行。
# Install the Aperiodic CLI into ~/.local/bin
mkdir -p "$HOME/.local/bin"
curl -fsSL https://raw.githubusercontent.com/aperiodic-io/cli/main/install.sh | INSTALL_DIR="$HOME/.local/bin" bash
export PATH="$HOME/.local/bin:$PATH"

# Free preview — no API key required
aperiodic l2_liquidity --preview \
  --exchange binance-futures \
  --symbol perpetual-BTC-USDT:USDT \
  --interval 5m \
  --timestamp exchange \
  --start-date 2025-05-01 \
  --end-date 2025-05-31 \
  --output-dir ./data && echo "Saved to $PWD/data"

所有交易所和永续合约,从1分钟到日线K线,均提供 Prime.

L2订单簿流动性 ,API文档中的说明:端点与参数 →

常见问题

相关内容

L1流动性买卖价差与盘口挂单金额L2订单簿失衡买卖挂单量对比,5至25档深度滑点吃单成交相对报价付出的成本
Aperiodic

基于数百TB原始数据构建,提炼为时点(point-in-time)指标,可直接以 parquet 文件获取。另附其背后的原始成交、报价及衍生品数据。

数据
  • 指标库
  • 订单流
  • L1 & L2
  • 衍生品
  • 原始数据
  • 数据目录
  • 免费数据
  • 价格
应用场景
  • 优化回测
  • 发掘新Alpha
  • 更优执行
指数
  • 全部指数
  • 订单流指数
  • Pressure Index
  • Conviction Index
  • 持仓结构指数
  • OI Divergence Index
  • Leverage Index
  • Crowding Index
  • 流动性指数
  • Cost Index
  • Depth Index
  • Impact Index
代币化市场
  • 全部现实世界资产
  • 大宗商品永续合约
  • 代币化股票永续合约
  • 股票指数永续合约
  • 代币化ETF永续合约
  • Pre-IPO永续合约
  • 外汇永续合约
  • Hyperliquid HIP-3
实时行情
  • 实时市场看板
  • 全部永续合约,A–Z
  • 现实世界资产看板
  • 全球流动性
  • 异动监测
  • 实时资金费率
开发者
  • 文档
  • API 文档
  • MCP服务器
  • 面向AI智能体
  • Pre-flight
  • Notebooks
  • 集成
  • Atlas Security Master
  • TParquet
  • llms.txt
学习
  • 从第一性原理理解市场
  • 市场微观结构指南
  • Replays
  • 系统架构
  • 研究博客
  • 常见问题
公司
  • 团队
  • 联系我们
  • 预约通话
  • 更新日志
  • 路线图
对比
  • 全部供应商
  • 价格对比
  • vs. Tardis
  • vs. CoinGlass
  • vs. Kaiko
  • vs. Amberdata
  • vs. Crypto Lake
  • vs. Laevitas
  • vs. Coinalyze
交易所数据
  • Binance归档数据
  • Hyperliquid数据
  • Binance未平仓量历史API
  • OKX历史API

© 版权所有 2026 Aperiodic。保留所有权利。

Aperiodic Limited · 注册地:Ireland · 公司编号:815273 ·
136 Capel Street, Dublin D01 T2C9, Ireland
服务条款隐私政策授权许可SLA
  • English
  • 简体中文
  • 한국어
  • 日本語