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

指标库 · 订单流

升价 / 跌价成交

示例CSV
Binance BTC-USDT永续合约,5分钟K线,2025年5月1日至31日,取自免费预览。免费延迟数据源不含该数据集,付费套餐提供实时推送。
构建方法BTC, May 2025字段下载常见问题

每笔成交价格是高于、低于还是等于前一笔成交价格。

基于价格变动方向的上涨成交(uptick)与下跌成交(downtick)笔数、成交量、比率及占比。

Built from
成交
字段
14
K线周期
1m to 1d; 15s and 30s on Prime
套餐
Pro
交易所
Binance, OKX, Hyperliquid
实时
付费套餐提供实时数据

构建方法

一分钟的真实成交,逐字段展示。每个数值均与我们数据管道的输出一致。

2025年6月11日14:38至14:39(UTC)Binance BTC-USDT永续合约的全部11,692笔成交,数据取自免费的原始成交预览。

  1. 步骤 1

    将每笔成交与前一笔成交进行比较分类

    成交价高于前一笔成交价为上涨跳动(uptick),低于为下跌跳动(downtick),价格相同则为持平。 58% 的成交价格与前一笔持平。

    该K线内第一笔成交之前没有其他成交,因此仅 11,691 / 11,692 笔成交得到分类。

    正在加载11,692笔成交
  2. 步骤 2

    按类别统计笔数与成交量

    uptick_downtick_count_ratio=1,597 / 3,355=0.476
    uptick_downtick_volume_ratio=50.3 BTC / 192.2 BTC=0.262

    成交量以BTC计,而非美元。

    正在加载11,692笔成交
  3. 步骤 3

    本根K线

    uptick_count
    1,597
    downtick_count
    3,355
    unchanged_count
    6,739
    uptick_volume
    50.3 BTC
    downtick_volume
    192.2 BTC
    unchanged_volume
    604.0 BTC
    unchanged_count_percentage
    57.6%
    uptick_downtick_volume_ratio
    0.262

BTC成交以不变价格成交的频率

65%的BTC成交与前一笔成交价格相同。

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

同一K线内的平均价格变动
-12.8
-10.6
-7.89
-4.96
-1.30
2.09
4.72
7.67
10.9
13.3
12345678910

按跳动倾向排列的K线,从下跳最多到上跳最多. 个基点。

这是5月每根K线中零跳成交占比的中位数。上跳与下跳的差额与该K线收益率的相关系数为0.73。下跳最多的十分之一K线平均下跌12.7 bps,上跳最多的十分之一平均上涨13.3 bps。

它描述的是所在K线本身,对下一根K线没有任何预测力(相关系数-0.001)。

解读方法

上跳指成交价高于前一笔成交价,下跳指低于前一笔成交价,平跳指与前一笔成交价持平。 _count 字段统计成交笔数, _volume 字段则汇总其成交量。

uptick_downtick_volume_ratio 大于1表示上涨跳动上的成交量更大。需结合成交量解读:在交投清淡的K线上,比值为3可能只对应寥寥几笔成交。

unchanged_volume_percentage 指未引起价格变动的成交量占比,可粗略衡量订单簿吸收了多少成交。

uptick_count
成交价高于前一笔成交的笔数
downtick_count
成交价低于前一笔成交的笔数
unchanged_count
成交价与前一笔成交持平的笔数
uptick_volume
上涨成交的总成交数量
downtick_volume
下跌成交的总成交数量
unchanged_volume
平价成交的总成交数量
uptick_downtick_volume_ratio
上涨成交数量除以下跌成交数量
uptick_downtick_count_ratio
上涨跳动成交笔数除以下跌跳动成交笔数
全部 14 个字段收起字段
uptick_count_percentage
上涨跳动成交笔数占总成交笔数的比例
downtick_count_percentage
下跌跳动成交笔数占总成交笔数的比例
unchanged_count_percentage
价格未变动的成交笔数占总成交笔数的比例
uptick_volume_percentage
上涨跳动时的成交量占总成交量的比例
downtick_volume_percentage
下跌跳动时的成交量占总成交量的比例
unchanged_volume_percentage
价格未变动时的成交量占总成交量的比例

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

  • 上涨成交与下跌成交:课时 4, K线遗漏了什么 →
背后的研究收起研究内容

Before exchanges provided taker-side classification, researchers had only the sequence of transaction prices to infer trade direction. The tick test — classifying trades based on whether the price rose or fell — remains a surprisingly informative signal even when full trade-side data is available.

The Lee-Ready algorithm and its legacy

Lee & Ready (1991) formalized the tick test as part of their trade classification algorithm: a trade at a price above the previous trade (uptick) is classified as buyer-initiated; a trade below (downtick) is seller-initiated. For trades at the same price (zero tick), the previous non-zero tick determines classification.

While modern crypto exchanges directly report the aggressor side, making the tick test unnecessary for classification, the statistics of uptick/downtick sequences capture something distinct from the aggressor label: how many price levels a trade swept through.

The subtle distinction from trade side

A single large buy can result in multiple consecutive upticks as it walks through the order book — clearing the ask at one level, then the next, then the next. The aggressor-side label reports one buy. The uptick sequence reports three price-improving ticks. This difference captures depth penetration: how far into the book the aggressive order reached.

This is directly related to the market impact literature. Kyle (1985) modeled impact as proportional to signed volume, but Bouchaud et al. (2009) showed that the number of price levels crossed by a single metaorder is an independent predictor of permanent impact, beyond volume alone.

What we compute

  • Uptick/downtick count — number of trades at prices above/below the previous trade
  • Uptick/downtick volume — total volume transacted on price-improving/declining ticks
  • Uptick ratio — fraction of trades that were upticks (range 0 to 1)
  • Uptick volume ratio — fraction of total volume occurring on upticks

The momentum quality signal

The volume-on-upticks ratio is a momentum quality metric. When most of an interval's volume occurred on price increases, the move was directionally endorsed by actual trading — not a thin-market drift. This distinction matters:

  • High uptick volume ratio with concentrated trade count → a few large aggressive orders clearing multiple levels. Deep market impact, potentially informed.
  • High uptick volume ratio with dispersed trade count → many small buyers sustaining incremental upward pressure. Broad-based demand.

French & Roll (1986) showed that prices are more volatile during trading hours than non-trading hours, partly because of the information content of trades. The uptick/downtick decomposition helps identify which trades are carrying that information: those that move price (upticks/downticks) versus those that don't (zero ticks, volume at unchanged prices).


References:

  • Lee, C.M.C. & Ready, M.J. (1991). "Inferring Trade Direction from Intraday Data." Journal of Finance, 46(2), 733–746.
  • Kyle, A.S. (1985). "Continuous Auctions and Insider Trading." Econometrica, 53(6), 1315–1335.
  • Bouchaud, J.-P., Farmer, J.D. & Lillo, F. (2009). "How Markets Slowly Digest Changes in Supply and Demand." In Handbook of Financial Markets: Dynamics and Evolution, 57–160.
  • French, K.R. & Roll, R. (1986). "Stock Return Variances: The Arrival of Information and the Reaction of Traders." Journal of Financial Economics, 17(1), 5–26.

下载同月数据

无需注册账户。运行一条命令,或交给您的智能体执行。
# 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 updownticks --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线,均提供 Pro.

升价 / 跌价成交 ,API文档中的说明:端点与参数 →

常见问题

相关内容

成交连续段结构买方与卖方能坚持多久订单流吃单方买入与卖出对比:按规模细分,含毒性指标收益率与波动率已实现波动率、跳跃与趋势性
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
  • 简体中文
  • 한국어
  • 日本語