| | |
| | | logger.info( |
| | | f"【无概念 有强度】出现在板块强度大于2的列表中!瞬时量幅比:{round(last_volume_to_growth_ratio, 2)}%,最新价: {current_price},瞬时涨幅:{round(tick_growth, 2)}%,当日当时涨幅:{today_growth}%,当前时间:{current_created_at}。") |
| | | logger.info( |
| | | f"【强度数据】 == {data_cache.market_sift_plate_stock_dict}") |
| | | f"【强度数据】 == {data_cache.market_sift_plate_stock_dict}") |
| | | strength_plate_set = set(strength_plate) |
| | | intersection_plate = bought_plate_set.intersection(strength_plate_set) |
| | | if len(intersection_plate) > 0: |
| | |
| | | plate_name = i[1] |
| | | log_data = None |
| | | its_stock = json.loads(getCodesByPlate(i[0])) |
| | | if data_cache.OPENING_TIME < now_time < data_cache.NOON_MARKET_TIME: |
| | | now_time_str = tool.get_now_time_str() |
| | | if data_cache.OPENING_TIME < now_time_str < data_cache.NOON_MARKET_TIME: |
| | | log_data = {plate_name: its_stock['list']} |
| | | # 尝试过滤掉无意义的概念板块(plate_name not in ['科创板', '北交所', '次新股', '无', 'ST板块', 'ST摘帽', '并购重组', '国企改革','超跌', '壳资源', '股权转让', '送转填权']) and '增长' in plate_name |
| | | if (plate_name not in ['科创板', '北交所', '次新股', '无', 'ST板块', 'ST摘帽', '并购重组', '国企改革', '超跌', |
| | |
| | | for b in r: |
| | | log_datas[b] = r[b] |
| | | now_time = tool.get_now_time_str() |
| | | if data_cache.L1_DATA_START_TIME < now_time < data_cache.CLOSING_TIME: |
| | | if data_cache.L1_DATA_START_TIME < now_time < data_cache.NOON_MARKET_TIME: |
| | | # logger.info(f"精选板块股票强度数据更新 == {market_sift_plate_stock_dict}") |
| | | # 只在盘中时间获取 |
| | | KPLStockOfMarketsPlateLogManager().add_log(market_sift_plate['list'], log_datas) |