stock.py 文件源码

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

项目:autoxd 作者: nessessary 项目源码 文件源码
def GetLLV(self, type="close"):
        """"""
        a=[]
        for i in range(0, self.getSize()):
            if 0: hisdat = Hisdat
            hisdat = self.getData(i)
            cur = 0
            if type == "close":
                cur = hisdat.close
            if type == "high":
                cur = hisdat.high
            if type == "low":
                cur = hisdat.low
            if type == "open":
                cur = hisdat.open
            if type == "vol" or type == "volume" :
                cur = hisdat.volume
            a.append(cur)
        return min(a)

    #----------------------------------------------------------------------
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号