news_submission.py 文件源码

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

项目:bot2017Fin 作者: AllanYiin 项目源码 文件源码
def __init__(self, jsondict=None):
        if isinstance(jsondict, dict):
            if jsondict is not None:
                self.tag = jsondict['tag']
                self.security_id =jsondict['security_id']
                self.data_date=time.strptime(jsondict['data_date'],"%Y-%m-%d")
                self.d0_wd =jsondict['d0_wd']
                self.d0_open =jsondict['d0_open']
                self.d1_wd = jsondict['d1_wd']
                self.d1_open = jsondict['d1_open']
                self.d2_wd = jsondict['d2_wd']
                self.d2_open = jsondict['d2_open']
                self.d3_wd = jsondict['d3_wd']
                self.d3_open = jsondict['d3_open']

                self.uuid=None
                self.announcelist = []
                self.researchlist = []
                self.newslist = []
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号