すべての気配更新から取得した最良買い気配・売り気配とそれぞれの数量、およびマイクロプライスです。
最良買い気配・最良売り気配の価格と数量、仲値、数量加重仲値、時間加重・出来高加重平均、および気配更新頻度を提供します。
2025年5月14日 14:00〜14:05 UTCの5分足(Binance BTC-USDT無期限先物、無料プレビューより)。
ステップ 1
取引所は最良買い気配・売り気配のいずれかが変化するたびにそれらを配信しており、このバーでは 5,339 回配信されました。修飾なしのフィールドには、最後の気配値が格納されます。
ステップ 2
各価格は反対側の数量で加重されるため、マイクロプライスは数量の薄い側に寄ります。ここでは売り気配の数量がやや多かったため、マイクロプライスは仲値をわずかに下回っています。格納フィールドでは、この値は次の値に丸められます: $103,805.65.
$0.10 スプレッド(拡大表示)。
ステップ 3
約定TWAPと同様に、各気配が提示されていた時間ではなく、すべての更新を均等に加重しています。
このバーまでの直近1時間における、各5分足の終値時点の買い気配と売り気配。
ステップ 4
Binance BTC-USDT無期限先物、5分足、2025年5月1日〜31日(無料プレビューより)。
クローズ時点のマイクロプライスの偏りで分類したバー(最も買い気配寄りから最も売り気配寄りまで). ベーシスポイント動いたことになります。
クローズ時点でマイクロプライスがミッドからどれだけ離れていたかでバーを並べ替えています。中央の8つの十分位にはパターンが見られません。最も売り気配寄りだった十分位では、その後平均1.56 bpsの上昇が、最も買い気配寄りだった十分位では平均1.15 bpsの下落が続きました。
板は毎秒15回更新され(中央値のバーで気配更新4,548回)、マイクロプライスの予測力が及ぶのは数秒単位です。5分足では、最も強い偏りしか表れません。
bid_price, ask_price, bid_amount and ask_amount は、期間終了時点の最良気配とその数量です。 midprice は、その平均です。
weighted_midprice は、各サイドの価格を反対側の数量で加重するため、数量の少ない側へ寄ります。ミッドより上にあれば、売り気配側が薄いことを意味します。
quote_update_frequency は期間内の最良気配の更新回数、 avg_update_interval は更新間隔(ミリ秒)です。取引所の動きが鈍ると、まずここに表れます。
基礎から解説しています: 第一原理から学ぶマーケット(当社のインタラクティブコース):
L1 data — the best bid and best ask at any moment — appears deceptively simple. Four numbers: two prices, two quantities. But the derived metrics reveal the real-time behavior of market makers and the microstructure of price formation in ways that trade data alone cannot capture.
The standard midprice, (bid + ask) / 2, treats both sides equally. But Stoikov (2018) showed that the quantity-weighted midprice — which shifts the midpoint proportional to the size available at each side — is a significantly better predictor of the next transaction price. If the bid carries 10× the size of the ask, fair value isn't halfway between them; it's closer to the ask, reflecting the imbalance in immediately available liquidity.
We compute both the standard and weighted midprice, plus their time-series counterparts:
A bid that was consistently improving versus one that was stable then collapsed looks identical in OHLC but produces strikingly different TWAP trajectories.
How many times the best bid/ask changes per interval is one of the most informative L1 metrics — and one of the least studied outside HFT firms.
Hasbrouck & Saar (2013) documented the rise of "low-latency trading" through quote update patterns, showing that high-frequency quoting activity contains predictive information about future price moves. The intuition:
The extreme case — quote update frequency spikes massively but price barely moves — can indicate quote stuffing: the potentially manipulative practice of flooding the book with rapid-fire quote updates to create artificial latency and confuse competing algorithms. Egginton, Van Ness & Van Ness (2016) documented this phenomenon and its effects on market quality.
The average update interval (time between consecutive quote changes) completes the picture. When this metric compresses during a session, the market is entering a high-information regime — market makers are processing new information faster.
References:
# 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 l1_price --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分足から日足まで以下が付属します: Pro.
L1価格 のAPIドキュメント:エンドポイントとパラメータ →