跳转到主要内容
GET
/
api
/
market-data
/
quote
/
depth
获取市场深度
curl --request GET \
  --url https://openapi.fcontext.com/api/market-data/quote/depth \
  --header 'x-api-key: <api-key>'
{
  "depth": {
    "asks": [
      {
        "position": 123,
        "price": "<string>",
        "volume": "<string>",
        "orderNum": 123
      }
    ],
    "bids": [
      {
        "position": 123,
        "price": "<string>",
        "volume": "<string>",
        "orderNum": 123
      }
    ]
  }
}

授权

x-api-key
string
header
必填

在账户设置中生成的 Financial Context key。请以 x-api-key: <key> 形式发送。

查询参数

symbol
string
必填

证券标的。

响应

市场深度(买卖盘档位)

depth
object

市场深度(买卖盘档位)。