select_stock.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:stock 作者: Rockyzsu 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号