A股个股技术指标历史数据Web API

此API提供个股2005年至今的一些历史技术指标数据。

例如对于工商银行(601398),发送请求

http://shuorel.com/ws/share/valuation/v1/601398

 

得到最近数据

{"data":[{"code":"601398","date":"2016-05-07","market_cap_million":1511162,"pe_ratio":5.453,"pb_ratio":0.884,"dividend_yield_percentage":6.014}],"status":"done"}

表明公工商银行最新的总市值1511162百万元,市盈率5.453, 市净率0.884,股息率6.014%。

 

如果要获得工商银行历史的技术指标,发送请求

http://shuorel.com/ws/share/valuation/v1/601398?date=2016-3-5

返回结果

{"data":[{"code":"601398","date":"2016-03-05","market_cap_million":1536110,"pe_ratio":5.543,"pb_ratio":0.898,"dividend_yield_percentage":5.916}],"status":"done"}

 

得到工商银行在2016-3-5这天结束的历史数据。

 

如果要获得历史上多日的技术指标,发送请求

http://shuorel.com/ws/share/valuation/v1/601398?dates=2015-3-5,2014-3-5,2013-3-5

返回结果

 

{"data":[{"code":"601398","date":"2013-03-05","market_cap_million":1461506,"pe_ratio":6.127,"pb_ratio":1.299,"dividend_yield_percentage":5.929},{"code":"601398","date":"2014-03-05","market_cap_million":1166613,"pe_ratio":4.442,"pb_ratio":0.916,"dividend_yield_percentage":8.527},{"code":"601398","date":"2015-03-05","market_cap_million":1536110,"pe_ratio":5.569,"pb_ratio":1.018,"dividend_yield_percentage":6.461}],"status":"done"}

 

得到工商银行在2015-3-5, 2014-3-5, 2013-3-5这三天的技术指标。

posted @ 2016-05-07 13:02  Leonid  阅读(1091)  评论(0编辑  收藏  举报