码迷,mamicode.com
首页 > Windows程序 > 详细

A股分红送股历史数据查询Web API使用方法

时间:2016-05-03 08:13:17      阅读:813      评论:0      收藏:0      [点我收藏+]

标签:

例如,要查询长城汽车(601633)在2015年的分红送股,发送请求

http://shuorel.com/ws/share/dividend/v1/601633?year=2015

返回结果

{"data":[{"date":"2015-05-26","cash":8.0,"transfer_issue":0,"bonus_issue":0,"register_date":"2015-05-25"},{"date":"2015-10-13","cash":2.5,"transfer_issue":10,"bonus_issue":10,"register_date":"2015-10-12"}],"status":"done"}

说明长城汽车在2015年分红送股两次,除权日分别是2015-05-26和2015-10-13,第一次每十股现金分红8元;第二次每十股分红2.5元,转增10股并且送送股10股。

 

如果要查询长城汽车所有年份的分红送股数据,发送请求

http://shuorel.com/ws/share/dividend/v1/601633?year=all

得到结果

{"data":[{"date":"2012-05-21","cash":3.0,"transfer_issue":0,"bonus_issue":0,"register_date":"2012-05-18"},{"date":"2013-05-24","cash":5.7,"transfer_issue":0,"bonus_issue":0,"register_date":"2013-05-23"},{"date":"2014-05-23","cash":8.2,"transfer_issue":0,"bonus_issue":0,"register_date":"2014-05-22"},{"date":"2015-05-26","cash":8.0,"transfer_issue":0,"bonus_issue":0,"register_date":"2015-05-25"},{"date":"2015-10-13","cash":2.5,"transfer_issue":10,"bonus_issue":10,"register_date":"2015-10-12"}],"status":"done"}

A股分红送股历史数据查询Web API使用方法

标签:

原文地址:http://www.cnblogs.com/shuorel/p/5453722.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!