跳转到主要内容
GET
/
api
/
market-data
/
quote
/
trades
获取成交明细
curl --request GET \
  --url https://openapi.fcontext.com/api/market-data/quote/trades \
  --header 'x-api-key: <api-key>'
{
  "trades": [
    {
      "price": "<string>",
      "volume": "<string>",
      "timestamp": "2023-11-07T05:31:56Z",
      "tradeType": "<string>",
      "direction": 123,
      "tradeSession": 123
    }
  ]
}

授权

x-api-key
string
header
必填

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

查询参数

symbol
string
必填
count
integer
默认值:20

要返回的成交记录数,默认 20,最大 1000。

必填范围: 1 <= x <= 1000

响应

成交列表

trades
object[]