| | |
| | | elif url.path == "/kpl/get_plate_codes": |
| | | # 获取涨停原因下面的代码 |
| | | ps_dict = dict([(k, v[0]) for k, v in parse_qs(url.query).items()]) |
| | | plate = ps_dict["plate"] |
| | | plate = plate.replace("概念","") |
| | | plate = kpl_util.filter_block(ps_dict["plate"]) |
| | | # 获取板块下的代码 |
| | | # 统计目前为止的代码涨停数量(分涨停原因) |
| | | now_limit_up_codes_info = self.__kplDataManager.get_data(KPLDataType.LIMIT_UP) |
| | |
| | | |
| | | codes_info = [] |
| | | for d in record_limit_up_datas: |
| | | if d[2].replace("概念","") != plate: |
| | | if kpl_util.filter_block(d[2]) != plate: |
| | | continue |
| | | # 代码,名称,涨停时间,是否炸板,是否想买,是否已经下过单 |
| | | codes_info.append( |
| | |
| | | output_util.money_desc(d[13]), 1]) |
| | | |
| | | for d in record_limit_up_datas: |
| | | if d[2] == plate: |
| | | if kpl_util.filter_block(d[2]) == plate: |
| | | continue |
| | | if plate not in [k.replace("概念","") for k in d[6].split("、")]: |
| | | if plate not in [kpl_util.filter_block(k) for k in d[6].split("、")]: |
| | | continue |
| | | # 代码,名称,涨停时间,是否炸板,是否想买,是否已经下过单 |
| | | codes_info.append( |