风格指数行情(fund_style/style_index_quote) 在线调试
输入风格指数代码、交易日期,获取指定日期下风格指数的行情信息
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/gildatafund/v1/fund_style/style_index_quote |
---|
是否需要业务登录
否 |
---|
HTTP请求方式
GET,POST |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
fund_style_code | String | 是 | 1010001 | 风格指数代码 |
风格指数代码与风格代码相同,可通过“风格代码”API获取;支持输入多个代码,用逗号“,”隔开
|
|
trading_date | String | 是 | 交易日期 |
输入格式为“YYYY-MM-DD”,如"2017-01-05"
|
||
fields | String | 否 | 字段集合 |
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
fund_style_code | String | 1010001 | 风格指数代码 |
风格指数代码与风格代码相同,可通过“风格代码”API获取;支持输入多个代码,用逗号“,”隔开
|
|
trading_date | String | 交易日期 |
输入格式为“YYYY-MM-DD”,如"2017-01-05"
|
||
close_price | Float | 16.2 | 891.95 | 收盘价(点) |
收盘价(点)
|
change_of | Float | 16.2 | -1.09 | 日涨跌 |
日涨跌
|
change_pct | Float | 16.2 | -0.12 | 日涨跌幅(%) |
日涨跌幅(%)
|
请求示例
/gildatafund/v1/fund_style/style_index_quote?fund_style_code='1010001'&trading_date='2017-03-28'
正确返回示例
{"data":[{"fund_style_code":"1010001","trading_date":"2017-03-28","close_price":891.95,"change_of":-1.09,"change_pct":-0.12}]}