获取标的逐笔明细
获取标的逐笔明细
描述
该接口用于获取标的的成交明细数据。
HTTP请求
- GET /api/v3/stockplus/market/trade
- 限频规则: 1秒内不超过10次调用,并发请求数不超过5
请求示例
curl "https://api.bitget.com/api/v3/stockplus/market/trade?symbol=AAPL.US&count=10" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json"
请求参数
| 参数名 | 参数类型 | 是否必须 | 描述 |
|---|---|---|---|
| symbol | String | 是 | 标的代码,使用 ticker.region 格式,例如:AAPL.US |
| count | Integer | 是 | 请求的逐笔成交数量。上限:1000 |
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1740000000000,
"data": [
{
"price": 195.890,
"volume": 100,
"timestamp": "2024-10-16T09:30:00Z",
"tradeType": "I",
"direction": "Up",
"tradeSession": "Intraday"
},
{
"price": 195.880,
"volume": 200,
"timestamp": "2024-10-16T09:29:55Z",
"tradeType": "I",
"direction": "Neutral",
"tradeSession": "Intraday"
},
{
"price": 195.890,
"volume": 150,
"timestamp": "2024-10-16T09:29:50Z",
"tradeType": "I",
"direction": "Down",
"tradeSession": "Intraday"
}
]
}
返回参数
| 返回字段 | 参数类型 | 字段说明 |
|---|---|---|
| data | List<Object> | 逐笔成交明细数据 |
| > price | String | 成交价 |
| > volume | String | 成交量 |
| > timestamp | String | 成交时间(ISO 8601) |
| > tradeType | String | 交易类型。见下方交易类型说明 |
| > direction | String | 成交方向Up - 外盘Down - 内盘Neutral - 中性盘 |
| > tradeSession | String | 交易时段Intraday - 盘中交易Pre - 盘前交易Post - 盘后交易Overnight - 夜盘交易 |
交易类型说明
美股交易类型
| 类型 | 描述 |
|---|---|
(space) | 普通交易 |
B | 平均价成交 |
E | 自动执行 |
H | 价格变动交易 |
I | 碎股交易 |