资金流向(astock/quotes/capital_flow) 在线调试

统计每个交易日在深沪交易所交易的股票,在不同单笔成交金额区间的累计主买、主卖金额及成交量情况,支持同时输入多个股票代码。

网关地址

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

URL

https://sandbox.hscloud.cn/gildataastock/v1/astock/quotes/capital_flow

是否需要业务登录

HTTP请求方式

GET,POST

请求参数

参数名 类型 必填 最大长度 默认值 中文名 描述
en_prod_code String 内部编码
聚源股票代码,根据交易代码和交易市场组合而成,如上交所600000.SH,深交所000001.SZ
trading_date String 交易日期
交易日期,格式为YY-MM-DD,如2015-12-31
unit Integer 0 单位
{"元":"0","十元":"1","百元":"2","千元":"3","万元":"4","十万":"5","百万":"6","千万":"7","亿":"8","十亿":"9"}
fields String 字段集合

返回参数

参数名 类型 最大长度 默认值 中文名 描述
prod_code String 内部编码
聚源股票代码,根据交易代码和交易市场组合而成,如上交所600000.SH,深交所000001.SZ
trading_date String 交易日期
交易日期,格式为YY-MM-DD,如2015-12-31
turnover_in Integer 流入成交额
turnover_out Integer 流出成交额
net_turnover_in Float 资金净流入额
amount_in Integer 流入成交量
amount_out Integer 流出成交量
net_amount_in Float 净流入量
super_in Integer 超大单流入
super_amount_in Float 主动买入特大单成交量
large_in Integer 大单流入
large_amount_in Float 主动买入大单成交量
medium_in Integer 中单流入
medium_amount_in Float 主动买入中单成交量
little_in Integer 小单流入
little_amount_in Float 主动买入小单成交量
super_out Integer 超大单流出
super_amount_out Float 主动卖出特大单成交量
large_out Integer 大单流出
large_amount_out Float 主动卖出大单成交量
medium_out Integer 中单流出
medium_amount_out Float 主动卖出中单成交量
little_out Integer 小单流出
little_amount_out Float 主动卖出小单成交量

请求示例

/gildataastock/v1/astock/quotes/capital_flow?en_prod_code=600570.SH&trading_date=2017-01-18&unit=4

正确返回示例

{"data":[{"amount_in":"","amount_out":"","large_amount_in":"","large_amount_out":"","large_in":"","large_out":"","little_amount_in":"","little_amount_out":"","little_in":"","little_out":"","medium_amount_in":"","medium_amount_out":"","medium_in":"","medium_out":"","net_amount_in":"","net_turnover_in":"","prod_code":"600570.SH","super_amount_in":"","super_amount_out":"","super_in":"","super_out":"","trading_date":"2016-07-31","turnover_in":"","turnover_out":""}]}