分线数据严重错误BUG

0 z000059 2年前 261次点击

测试股票代码 603357

获取今年六月六日日线数据如下

{"code":200,"message":"成功","data":[{"high":10.93,"code":"603357","tdate":"2022-06-06","low":10.65,"name":"设计总院","fq":1,"close":10.92,"open":10.74,"ktype":101},{"high":10.99,"code":"603357","tdate":"2022-06-07","low":10.64,"name":"设计总院","fq":1,"close":10.96,"open":10.84,"ktype":101}]} 

可以看到6月6日最高价格为10.93,最低价格为10.65 这个数据正确没有问题。

然后获取6月6日分线数据如下,分线数据间隔5分钟。可以看到无论是开盘价还是收盘价,或者是最高价最低价都远远超过了日线的最高价。完全不合理。不止这一只票有这样的问题,很多票都有这样的问题。

{"code":200,"message":"成功","data":[{"high":11.27,"code":"603357","tdate":"2022-06-06 09:35:00","low":11.11,"name":"设计总院","close":11.26,"open":11.2},{"high":11.28,"code":"603357","tdate":"2022-06-06 09:40:00","low":11.19,"name":"设计总院","close":11.19,"open":11.25},{"high":11.24,"code":"603357","tdate":"2022-06-06 09:45:00","low":11.17,"name":"设计总院","close":11.17,"open":11.19},{"high":11.25,"code":"603357","tdate":"2022-06-06 09:50:00","low":11.16,"name":"设计总院","close":11.23,"open":11.17},{"high":11.25,"code":"603357","tdate":"2022-06-06 09:55:00","low":11.18,"name":"设计总院","close":11.21,"open":11.23},{"high":11.21,"code":"603357","tdate":"2022-06-06 10:00:00","low":11.13,"name":"设计总院","close":11.15,"open":11.21},{"high":11.23,"code":"603357","tdate":"2022-06-06 10:05:00","low":11.14,"name":"设计总院","close":11.2,"open":11.15},{"high":11.2,"code":"603357","tdate":"2022-06-06 10:10:00","low":11.15,"name":"设计总院","close":11.17,"open":11.2},{"high":11.17,"code":"603357","tdate":"2022-06-06 10:15:00","low":11.14,"name":"设计总院","close":11.15,"open":11.16},{"high":11.16,"code":"603357","tdate":"2022-06-06 10:20:00","low":11.12,"name":"设计总院","close":11.13,"open":11.15},{"high":11.14,"code":"603357","tdate":"2022-06-06 10:25:00","low":11.12,"name":"设计总院","close":11.13,"open":11.13},{"high":11.17,"code":"603357","tdate":"2022-06-06 10:30:00","low":11.11,"name":"设计总院","close":11.17,"open":11.13},{"high":11.2,"code":"603357","tdate":"2022-06-06 10:35:00","low":11.16,"name":"设计总院","close":11.18,"open":11.16},{"high":11.2,"code":"603357","tdate":"2022-06-06 10:40:00","low":11.18,"name":"设计总院","close":11.19,"open":11.18},{"high":11.2,"code":"603357","tdate":"2022-06-06 10:45:00","low":11.16,"name":"设计总院","close":11.16,"open":11.19},{"high":11.17,"code":"603357","tdate":"2022-06-06 10:50:00","low":11.14,"name":"设计总院","close":11.15,"open":11.16},{"high":11.22,"code":"603357","tdate":"2022-06-06 10:55:00","low":11.15,"name":"设计总院","close":11.22,"open":11.15},{"high":11.25,"code":"603357","tdate":"2022-06-06 11:00:00","low":11.21,"name":"设计总院","close":11.25,"open":11.21},{"high":11.29,"code":"603357","tdate":"2022-06-06 11:05:00","low":11.24,"name":"设计总院","close":11.29,"open":11.25},{"high":11.33,"code":"603357","tdate":"2022-06-06 11:10:00","low":11.27,"name":"设计总院","close":11.31,"open":11.29},{"high":11.33,"code":"603357","tdate":"2022-06-06 11:15:00","low":11.28,"name":"设计总院","close":11.32,"open":11.31},{"high":11.35,"code":"603357","tdate":"2022-06-06 11:20:00","low":11.32,"name":"设计总院","close":11.33,"open":11.33},{"high":11.33,"code":"603357","tdate":"2022-06-06 11:25:00","low":11.31,"name":"设计总院","close":11.32,"open":11.33},{"high":11.35,"code":"603357","tdate":"2022-06-06 11:30:00","low":11.32,"name":"设计总院","close":11.34,"open":11.32},{"high":11.38,"code":"603357","tdate":"2022-06-06 13:05:00","low":11.33,"name":"设计总院","close":11.33,"open":11.35},{"high":11.34,"code":"603357","tdate":"2022-06-06 13:10:00","low":11.32,"name":"设计总院","close":11.32,"open":11.33},{"high":11.33,"code":"603357","tdate":"2022-06-06 13:15:00","low":11.28,"name":"设计总院","close":11.28,"open":11.32},{"high":11.3,"code":"603357","tdate":"2022-06-06 13:20:00","low":11.27,"name":"设计总院","close":11.3,"open":11.28},{"high":11.31,"code":"603357","tdate":"2022-06-06 13:25:00","low":11.29,"name":"设计总院","close":11.3,"open":11.3},{"high":11.34,"code":"603357","tdate":"2022-06-06 13:30:00","low":11.3,"name":"设计总院","close":11.33,"open":11.3},{"high":11.33,"code":"603357","tdate":"2022-06-06 13:35:00","low":11.28,"name":"设计总院","close":11.28,"open":11.33},{"high":11.29,"code":"603357","tdate":"2022-06-06 13:40:00","low":11.24,"name":"设计总院","close":11.26,"open":11.28},{"high":11.29,"code":"603357","tdate":"2022-06-06 13:45:00","low":11.25,"name":"设计总院","close":11.29,"open":11.26},{"high":11.32,"code":"603357","tdate":"2022-06-06 13:50:00","low":11.27,"name":"设计总院","close":11.32,"open":11.29},{"high":11.34,"code":"603357","tdate":"2022-06-06 13:55:00","low":11.32,"name":"设计总院","close":11.33,"open":11.33},{"high":11.32,"code":"603357","tdate":"2022-06-06 14:00:00","low":11.3,"name":"设计总院","close":11.31,"open":11.32},{"high":11.33,"code":"603357","tdate":"2022-06-06 14:05:00","low":11.3,"name":"设计总院","close":11.32,"open":11.31},{"high":11.33,"code":"603357","tdate":"2022-06-06 14:10:00","low":11.3,"name":"设计总院","close":11.31,"open":11.32},{"high":11.33,"code":"603357","tdate":"2022-06-06 14:15:00","low":11.31,"name":"设计总院","close":11.33,"open":11.31},{"high":11.34,"code":"603357","tdate":"2022-06-06 14:20:00","low":11.32,"name":"设计总院","close":11.32,"open":11.33},{"high":11.33,"code":"603357","tdate":"2022-06-06 14:25:00","low":11.31,"name":"设计总院","close":11.33,"open":11.32},{"high":11.34,"code":"603357","tdate":"2022-06-06 14:30:00","low":11.31,"name":"设计总院","close":11.32,"open":11.33},{"high":11.34,"code":"603357","tdate":"2022-06-06 14:35:00","low":11.32,"name":"设计总院","close":11.33,"open":11.32},{"high":11.35,"code":"603357","tdate":"2022-06-06 14:40:00","low":11.33,"name":"设计总院","close":11.35,"open":11.33},{"high":11.37,"code":"603357","tdate":"2022-06-06 14:45:00","low":11.35,"name":"设计总院","close":11.36,"open":11.35},{"high":11.37,"code":"603357","tdate":"2022-06-06 14:50:00","low":11.34,"name":"设计总院","close":11.34,"open":11.36},{"high":11.38,"code":"603357","tdate":"2022-06-06 14:55:00","low":11.34,"name":"设计总院","close":11.38,"open":11.35},{"high":11.39,"code":"603357","tdate":"2022-06-06 15:00:00","low":11.37,"name":"设计总院","close":11.38,"open":11.38}]} 

共 3 条评论
z000059 [楼主] 2年前
0 

另外分线数据1分钟间隔也是一样的问题。

时线中的15分钟间隔,30分钟间隔,60分钟间隔都存在这样的问题。

z000001 2年前
0 

要进行数据对比,起码也得是前提一致。

你拿同一天的前复权数据和不复权数据去对比,肯定是不相同的。

不是数据有严重BUG,是你进行数据比较的前提不对。

z000059 [楼主] 2年前
0 

明白了,多谢

添加一条新评论

登录后可以发表评论 去登录