跳轉到主要內容
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

市場深度(買賣盤檔位)。