股票数据查询接口
Haoservice沪深股票数据接口使用说明
支持格式:json
请求方式:GET
GEMO: http://apis.haoservice.com/lifeservice/stock/hs?gid=sh601009&key=您申请的APPKEY
参数说明:
名称 类型 必须 说明
key string 是 应用APPKEY(应用详细页查询)
gid string 是 股票编号,上海股市以sh开头,深圳股市以sz开头如:sh601009
Json返回示例:
{
"resultcode":"0", /*返回码,0:正常*/
"reason":"SUCCESSED!",
"result":{
"data":{
"gid":"sh601009", /*股票编号*/
"name":"南京银行", /*股票名称*/
"todayStartPri":"8.26", /*今日开盘价*/
"yestodEndPri":"8.26", /*昨日收盘价*/
"nowPri":"8.37", /*当前价格*/
"todayMax":"8.55", /*今日最高价*/
"todayMin":"8.25", /*今日最低价*/
"competitivePri":"8.37", /*竞买价*/
"reservePri":"8.38", /*竞卖价*/
"traNumber":"34501453", /*成交量*/
"traAmount":"290889560", /*成交金额*/
"buyOne":"10870", /*买一*/
"buyOnePri":"8.37", /*买一报价*/
……..
"dapandata":{
"name":"南京银行", /*大盘指数名称*/
"dot":"8.37" /*大盘当前点数*/
"nowPic":"0.11", /*大盘当前价格*/
"rate":"1.33", /*大盘涨跌率*/
"traNumber":"345014", /*大盘成交量(手)*/
"traAmount":"29088", /*大盘成交金额(万元)*/
},
"gopicture":{
Haoservice沪深股票数据接口使用说明
支持格式:json
请求方式:GET
GEMO: http://apis.haoservice.com/lifeservice/stock/hs?gid=sh601009&key=您申请的APPKEY
参数说明:
名称 类型 必须 说明
key string 是 应用APPKEY(应用详细页查询)
gid string 是 股票编号,上海股市以sh开头,深圳股市以sz开头如:sh601009
Json返回示例:
{
"resultcode":"0", /*返回码,0:正常*/
"reason":"SUCCESSED!",
"result":{
"data":{
"gid":"sh601009", /*股票编号*/
"name":"南京银行", /*股票名称*/
"todayStartPri":"8.26", /*今日开盘价*/
"yestodEndPri":"8.26", /*昨日收盘价*/
"nowPri":"8.37", /*当前价格*/
"todayMax":"8.55", /*今日最高价*/
"todayMin":"8.25", /*今日最低价*/
"competitivePri":"8.37", /*竞买价*/
"reservePri":"8.38", /*竞卖价*/
"traNumber":"34501453", /*成交量*/
"traAmount":"290889560", /*成交金额*/
"buyOne":"10870", /*买一*/
"buyOnePri":"8.37", /*买一报价*/
……..
"dapandata":{
"name":"南京银行", /*大盘指数名称*/
"dot":"8.37" /*大盘当前点数*/
"nowPic":"0.11", /*大盘当前价格*/
"rate":"1.33", /*大盘涨跌率*/
"traNumber":"345014", /*大盘成交量(手)*/
"traAmount":"29088", /*大盘成交金额(万元)*/
},
"gopicture":{