Skip to content本文へ移動

Trading API & SDK · SDK Setup & Authentication · 3/8

Read Market Data Challenge

Test your knowledge of Hyperliquid market data structures and the Info API. These questions cover order book parsing, position data extraction, and funding rate calculations.

1. In Hyperliquid's L2 order book snapshot, how are bids and asks organized in the `levels` array?

2. What is the correct way to calculate spread in basis points from an order book?

3. In the Hyperliquid user state, how do you determine if a position is long or short?

4. How do you convert an hourly funding rate of 0.0001 (0.01%) to an annualized percentage rate (APR)?

5. What fields does each entry in the `assetPositions` array contain for accessing position data?

取引 API と SDK · SDK の準備と認証 · 3/8

市場データを読む: 確認問題

Hyperliquid の市場データの形と Info API について、理解を確かめます。板の読み取り、ポジションのデータの取り出し、資金調達率の計算を扱います。

1. Hyperliquid の L2 の板のスナップショットで、`levels` の配列に買い気配と売り気配はどう並んでいますか。

2. 板からスプレッドをベーシスポイントで求める正しい式はどれですか。

3. Hyperliquid の口座の状態で、ポジションが買い持ちか売り持ちかはどう見分けますか。

4. 1時間あたりの資金調達率 0.0001(0.01%)を、年率(APR)に直すとどうなりますか。

5. `assetPositions` の配列の各要素には、ポジションのデータを取り出すためにどんな項目が入っていますか。