main.py 文件源码

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

项目:glue.cal 作者: flameOnYou 项目源码 文件源码
def getDateFromMarket(id):
    price = {} 
    # 002060
    data = ts.get_hist_data(id)
    for p in data.iterrows():
        # high
        high = float(p[1]['high'])
        # low
        low = float(p[1]['low'])
        price[p[0].encode("utf-8")] = (high + low) / 2
    return price
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号