中国A股资金流向数据


接口:ashare_moneyflow
描述:记录根据level-2数据计算的A股资金流向数据
限量:单次最大20000
数据更新频率:日
数据更新时间:实时

输入参数

名称 类型 必选 描述
code str N 股票代码
trade_date str N 交易日期
start_date str N 开始日期
end_date str N 结束日期

输出参数

名称 类型 默认显示 描述
buy_value_exlarge_order float Y
sell_value_exlarge_order float Y
buy_value_large_order float Y
sell_value_large_order float Y
buy_value_med_order float Y
sell_value_med_order float Y
buy_value_small_order float Y
sell_value_small_order float Y
buy_volume_exlarge_order float Y
sell_volume_exlarge_order float Y
buy_volume_large_order float Y
sell_volume_large_order float Y
buy_volume_med_order float Y
sell_volume_med_order float Y
buy_volume_small_order float Y
sell_volume_small_order float Y
trades_count float Y
buy_trades_exlarge_order float Y
sell_trades_exlarge_order float Y
buy_trades_large_order float Y
sell_trades_large_order float Y
buy_trades_med_order float Y
sell_trades_med_order float Y
buy_trades_small_order float Y
sell_trades_small_order float Y
volume_diff_small_trader float Y
volume_diff_small_trader_act float Y
volume_diff_med_trader float Y
volume_diff_med_trader_act float Y
volume_diff_large_trader float Y
volume_diff_large_trader_act float Y
volume_diff_institute float Y
volume_diff_institute_act float Y
value_diff_small_trader float Y
value_diff_small_trader_act float Y
value_diff_med_trader float Y
value_diff_med_trader_act float Y
value_diff_large_trader float Y
value_diff_large_trader_act float Y
value_diff_institute float Y
value_diff_institute_act float Y
s_mfd_inflowvolume float Y
net_inflow_rate_volume float Y
s_mfd_inflow_openvolume float Y
open_net_inflow_rate_volume float Y
s_mfd_inflow_closevolume float Y
close_net_inflow_rate_volume float Y
s_mfd_inflow float Y
net_inflow_rate_value float Y
s_mfd_inflow_open float Y
open_net_inflow_rate_value float Y
s_mfd_inflow_close float Y
close_net_inflow_rate_value float Y
tot_volume_bid float Y
tot_volume_ask float Y
moneyflow_pct_volume float Y
open_moneyflow_pct_volume float Y
close_moneyflow_pct_volume float Y
moneyflow_pct_value float Y
open_moneyflow_pct_value float Y
close_moneyflow_pct_value float Y
s_mfd_inflowvolume_large_order float Y
net_inflow_rate_volume_l float Y
s_mfd_inflow_large_order float Y
net_inflow_rate_value_l float Y
moneyflow_pct_volume_l float Y
moneyflow_pct_value_l float Y
s_mfd_inflow_openvolume_l float Y
open_net_inflow_rate_volume_l float Y
object_id str Y
s_info_windcode str Y
trade_dt str Y
s_mfd_inflow_open_large_order float Y
open_net_inflow_rate_value_l float Y
open_moneyflow_pct_volume_l float Y
open_moneyflow_pct_value_l float Y
s_mfd_inflow_closevolume_l float Y
close_net_inflow_rate_volume_l float Y
s_mfd_inflow_close_large_order float Y
close_net_inflow_rate_valu_l float Y
close_moneyflow_pct_volume_l float Y
close_moneyflow_pct_value_l float Y
buy_value_exlarge_order_act float Y
sell_value_exlarge_order_act float Y
buy_value_large_order_act float Y
sell_value_large_order_act float Y
buy_value_med_order_act float Y
sell_value_med_order_act float Y
buy_value_small_order_act float Y
sell_value_small_order_act float Y
buy_volume_exlarge_order_act float Y
sell_volume_exlarge_order_act float Y
buy_volume_large_order_act float Y
sell_volume_large_order_act float Y
buy_volume_med_order_act float Y
sell_volume_med_order_act float Y
buy_volume_small_order_act float Y
sell_volume_small_order_act float Y

表信息

表中文名 表名 说明
中国A股资金流向数据 AShareMoneyFlow 记录根据level-2数据计算的A股资金流向数据

示例

安装Python包

pip install dcube

导入datacube

import dcube as dc

用token初始化pro接口

pro = dc.pro_api('your token')

数据调取

df = pro.query('ashare_moneyflow', code='600498.SH', fields='s_info_windcode,trade_dt,buy_value_exlarge_order,sell_value_exlarge_order')

或者

df = pro.ashare_moneyflow(code='600498.SH')
置顶