def relation(self):
sh_index=ts.get_k_data('000001',index=True,start='2012-01-01')
sh=sh_index['close'].values
print sh
vol_close=sh_index.corr()
print vol_close
'''
sz_index=ts.get_k_data('399001',index=True)
sz=sz_index['close'].values
print sz
cy_index=ts.get_k_data('399006',index=True)
s1=Series(sh)
s2=Series(sz)
print s1.corr(s2)
'''
#?????????????st
评论列表
文章目录