贵州茅台的净利润相当于整个创业板的20%!!!

策略分享
标签: #<Tag:0x00007f61dd0da228>

(disc) #1
克隆策略

一年净利润(TTM)

In [1]:
cur_date='2017-06-12'
# 创业板股票列表
instrument = [i for i in D.instruments(cur_date, cur_date) if  i[0] == '3']

# 580家创业板净利润数据
cyb = D.features(instrument, cur_date, cur_date, ['fs_net_profit_ttm_0'] )
# 贵州茅台净利润数据
gzmt = D.features(['600519.SHA'], cur_date, cur_date, ['fs_net_profit_ttm_0'] )

# 利润之比
print('贵州茅台一年的净利润占整个创业板的: ',round(gzmt['fs_net_profit_ttm_0'][0] / cyb['fs_net_profit_ttm_0'].sum()*100, 2), '%')
贵州茅台一年的净利润占整个创业板的:  20.57 %

17年1季度净利润

In [2]:
cur_date='2017-06-12'
# 创业板股票列表
instrument = [i for i in D.instruments(cur_date, cur_date) if  i[0] == '3']

# 580家创业板净利润数据
cyb = D.features(instrument, cur_date, cur_date, ['fs_net_profit_0'] )
# 贵州茅台净利润数据
gzmt = D.features(['600519.SHA'], cur_date, cur_date, ['fs_net_profit_0'] )

# 利润之比
print('贵州茅台17年1季度净利润占整个创业板的: ',round(gzmt['fs_net_profit_0'][0] / cyb['fs_net_profit_0'].sum()*100, 2), '%')
贵州茅台17年1季度净利润占整个创业板的:  37.24 %