博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
A股财报摘要历史数据查询Web API使用方法
阅读量:6819 次
发布时间:2019-06-26

本文共 1790 字,大约阅读时间需要 5 分钟。

例如,要查询长城汽车()最近的财报摘要,发送请求

http://shuorel.com/ws/share/finance/v1/601633

返回结果

{"data":[{"code":"601633","date":"2016-03-31","asset_per_share":4.4661,"earning_per_share":0.2625,"cash_per_share":-0.0182,"spare_asset_per_share":0.1546,"asset":70393200000,"liability":1744530000,"income":20879700000,"profit":2396100000}],"status":"done"}

 

说明最新财报是2016年一季度。

 

如果要查询长城汽车2014年的财报摘要,发送请求http://shuorel.com/ws/share/finance/v1/601633?year=2014

得到结果

{"data":[{"code":"601633","date":"2014-03-31","asset_per_share":9.8606,"earning_per_share":0.6592,"cash_per_share":0.5188,"spare_asset_per_share":1.4639,"asset":51441000000,"liability":1739410000,"income":14735100000,"profit":2005420000},{"code":"601633","date":"2014-06-30","asset_per_share":9.6826,"earning_per_share":1.2997,"cash_per_share":1.6969,"spare_asset_per_share":1.4639,"asset":50928600000,"liability":1721550000,"income":28527400000,"profit":3954310000},{"code":"601633","date":"2014-09-30","asset_per_share":10.2112,"earning_per_share":1.8361,"cash_per_share":2.1708,"spare_asset_per_share":1.4639,"asset":54305500000,"liability":1708900000,"income":42586600000,"profit":5586250000},{"code":"601633","date":"2014-12-31","asset_per_share":10.9951,"earning_per_share":2.6431,"cash_per_share":2.0036,"spare_asset_per_share":1.4639,"asset":61345300000,"liability":1682110000,"income":62599100000,"profit":8041540000}],"status":"done"}

包括四个季度的数据。

 

如果要查询2014年第1季度的数据,发送请求http://shuorel.com/ws/share/finance/v1/601633?year=2014&quarter=1

得到结果

{"data":[{"code":"601633","date":"2014-03-31","asset_per_share":9.8606,"earning_per_share":0.6592,"cash_per_share":0.5188,"spare_asset_per_share":1.4639,"asset":51441000000,"liability":1739410000,"income":14735100000,"profit":2005420000}],"status":"done"}

转载于:https://www.cnblogs.com/shuorel/p/5454539.html

你可能感兴趣的文章
HoloLens | 世界的每一次变化,其实都提前打好了招呼
查看>>
seq命令
查看>>
线性表接口的实现_Java
查看>>
利用安卓手机搭建WEB服务器
查看>>
小巧玲珑:机器学习届快刀XGBoost的介绍和使用
查看>>
intellij开发安卓与genymotion配合
查看>>
jmeter大神博客笔记
查看>>
java.lang.NoClassDefFoundError: javax/annotation/Priority
查看>>
skimage的安装,scikit-image
查看>>
springmvc-mvc:resource标签使用
查看>>
如何理解php的依赖注入
查看>>
洛谷P2084 进制转换
查看>>
直接上手从项目中学习很重要
查看>>
[转载]非常量引用的初始值必须为左值的问题
查看>>
C# 线程池执行操作例子
查看>>
duubo开发时直连(不需要注册中心)
查看>>
MongoDB数据查询详解
查看>>
Ubuntu 16.04安装IntelliJ IDEA时快捷键冲突设置
查看>>
laravel模型中打印sql语句
查看>>
【数据库】百万级数据库SQL优化大总结
查看>>