筹码分布排序查询(qplus/cost_distribution/chip_sort) 在线调试

将沪深市场的筹码分布结果按70%集中度、90%集中度、获利占比进行排序

网关地址

沙箱环境调用地址: https://sandbox.hscloud.cn
数据核查类生产调用地址: https://api.hscloud.cn
仿真业务接口生产调用地址: https://vopen.hscloud.cn
其余生产调用地址: https://open.hscloud.cn

URL

https://sandbox.hscloud.cn/quote/v2/qplus/cost_distribution/chip_sort

是否需要业务登录

HTTP请求方式

POST

请求参数

参数名 类型 必填 最大长度 默认值 中文名 描述
start_pos Integer 32 0 分页起始查询位置
默认为0
data_count Integer 32 10 获取数据条数
默认为10
specify_field Integer 32 0 排序字段
支持的字段如下:默认是0 0:70%筹码集中度 1:90%筹码集中度 2:获利占比
sort_type String 32 0 排序方式
0:降序排名,默认 1:升序排名

返回参数

参数名 类型 最大长度 默认值 中文名 描述
error_no String 错误代码
OK':表示操作成功,其他为错误码
error_info String 2000 操作结果描述
若'error_no'不为'OK', 该字段返回错误信息描述,否则该字段可以不存在。
chip_grp Object 筹码排序结果集

请求示例

/quote/v2/qplus/cost_distribution/chip_sort

正确返回示例

{
    "chip_grp": [
        {
            "prod_code": "000001",
            "hq_type_code": "XSHE",
            "chip_ratio_grp":[
              {
                "chip_ratio"=70,
                "chip_concentration"=1065
              },
              {
                "chip_ratio"=90,
                "chip_concentration"=1065
              }
            ],
            "profit_ratio"=900,
            "average_cost"=2000,
        },
        {
            "prod_code": "600570",
            "hq_type_code": "XSHG",
            "prod_name": "恒生电子"
            "chip_ratio_grp":[
              {
                "chip_ratio"=70,
                "chip_concentration"=1065
              },
              {
                "chip_ratio"=90,
                "chip_concentration"=1065
              }
            ],
            "profit_ratio"=900,
            "average_cost"=2000,
        }
    ],
    "error_no": "OK"
}

错误返回示例

{"error_no":"1","error_info":"request param error"}