提交 9ceb2aaa 作者: 薛凌堃

新增上市企业信息脚本维护

上级 745ff90a
...@@ -18,7 +18,8 @@ error_list = [] ...@@ -18,7 +18,8 @@ error_list = []
list_all_info = [] list_all_info = []
# 需要提供股票代码、企业信用代码 # 需要提供股票代码、企业信用代码
while True: while True:
com_code1 = baseCore.redicPullData('Ipo_newsAdd:comCode') # com_code1 = baseCore.redicPullData('Ipo_newsAdd:comCode')
com_code1 = '200725'
if com_code1: if com_code1:
pass pass
else: else:
...@@ -101,7 +102,7 @@ while True: ...@@ -101,7 +102,7 @@ while True:
jys = json_1['jbzl'][0]['SECURITY_TYPE'] jys = json_1['jbzl'][0]['SECURITY_TYPE']
if "北京" in jys: if "北京" in jys:
jys_code = '1' jys_code = '1'
short_name = json_1['jbzl'][0]['STR_NAMEA'] short_name = json_1['jbzl'][0]['SECURITY_NAME_ABBR']
zhengquan_type = json_1['jbzl'][0]['SECURITY_TYPE'] zhengquan_type = json_1['jbzl'][0]['SECURITY_TYPE']
# print(zhengquan_type) # print(zhengquan_type)
if 'A' in zhengquan_type: if 'A' in zhengquan_type:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论