路径:/translist
请求方式:GET
示例:
http://data.api.dsxquant.com/translist?symbol=000001&market=1
参数:
字段 | 类型 | 必需 | 默认值 | 备注 |
symbol | str | Y | 股票代码 例如 000001 | |
market | int | N | 0 | 市场代码 0=上交所 1=深交所 2=北交所 |
trade_date | str | N | 最新交易日 | 查询交易日期 Y-M-D |
page | int | N | 1 | 页码 |
page_size | int | N | 10 | 每页大小 |
返回值:
{
"act": "translist",
"data": [
[
"15:00:03",
12.55,
2680600,
0
],
[
"14:57:00",
12.57,
22500,
1
],
[
"14:56:57",
12.57,
12400,
1
],
[
"14:56:54",
12.56,
66900,
-1
],
[
"14:56:51",
12.57,
5400,
1
],
[
"14:56:48",
12.57,
9900,
1
],
[
"14:56:45",
12.57,
20300,
1
],
[
"14:56:42",
12.56,
7500,
-1
],
[
"14:56:39",
12.57,
5800,
1
],
[
"14:56:36",
12.56,
11000,
-1
]
],
"error_code": 0,
"msg": "获取逐笔交易信息成功",
"request_id": 1683600993574347731,
"success": true
}
字段说明:
[时间,价格,成交量,类型]
有三种类型:
-1: 卖价
0: 平
1: 买价