行情报价(real) 在线调试

获取代码相应的行情报价,卖档位,开盘价,最新价,流通市值,换手率,每股收益等

网关地址

沙箱环境调用地址: https://sandbox.hscloud.cn
数据核查类生产调用地址: https://api.hscloud.cn
其余生产调用地址: https://open.hscloud.cn

URL

https://sandbox.hscloud.cn/quote/v1/real

是否需要业务登录

HTTP请求方式

GET

支持格式

JSON

请求参数

参数名 类型 必填 最大长度 默认值 中文名 描述
en_prod_code String 2000 产品代码集
一次最多允许查询100支代码
fields String 255 字段集合

返回参数

参数名 类型 最大长度 默认值 中文名 描述
snapshot Object 行情对象

请求示例

/quote/v1/real?en_prod_code=00001.HKM,00700.HKM&fields=open_px,high_px,low_px,last_px,business_amount,business_balance,offer_grp,bid_grp

正确返回示例

{"data":{"snapshot":{"00700.HKM":[160804326,100,412,415,408,408.8,24703301,10173481720,"408.800,53200,0,0.000,0,0,0.000,0,0,0.000,0,0,0.000,0,0,","408.600,38600,0,0.000,0,0,0.000,0,0,0.000,0,0,0.000,0,0,"],"00001.HKM":[160804691,500,92.3,93,92.3,92.35,5750706,532548660,"92.350,124500,0,0.000,0,0,0.000,0,0,0.000,0,0,0.000,0,0,","92.300,73000,0,0.000,0,0,0.000,0,0,0.000,0,0,0.000,0,0,"],"fields":["data_timestamp","shares_per_hand","open_px","high_px","low_px","last_px","business_amount","business_balance","offer_grp","bid_grp"]}}}
提交工单

提交成功

确定