| | |
| | | import constant |
| | | # 引入掘金桥梁API |
| | | import utils.juejin_api |
| | | from log_module.log import logger_common |
| | | from log_module.log import logger_common, logger_kpl_jingxuan_in |
| | | # 引入开盘啦API模块 |
| | | # 引入全局变量模块 |
| | | # 引入定时器模块 |
| | |
| | | |
| | | # # 开盘啦的板块强度下的个股强度回调函数 |
| | | def get_market_sift_plate_its_stock_power_process(market_sift_plate_stock_dict): |
| | | # print(f"回调成功===精选板块股票强度数据更新==={market_sift_plate_stock_dict}") |
| | | print(f"回调成功===精选板块股票强度数据更新==={market_sift_plate_stock_dict}") |
| | | logger_kpl_jingxuan_in.info(f"{market_sift_plate_stock_dict}") |
| | | data_cache.market_sift_plate_stock_dict = market_sift_plate_stock_dict |
| | | |
| | | # 板块强度下个股强度线程 |
| | |
| | | f"【{k_line_data[0]['sec_name']}】--------------------------------------------------------------------------------------------------------[有强度视界]") |
| | | logger.info( |
| | | f"【无概念 有强度】出现在板块强度大于2的列表中!瞬时量幅比:{round(last_volume_to_growth_ratio, 2)}%,最新价: {current_price},瞬时涨幅:{round(tick_growth, 2)}%,当日当时涨幅:{today_growth}%,当前时间:{current_created_at}。") |
| | | logger_kpl_jingxuan_in.info( |
| | | logger.info( |
| | | f"【强度数据】 == {data_cache.market_sift_plate_stock_dict}") |
| | | strength_plate_set = set(strength_plate) |
| | | intersection_plate = bought_plate_set.intersection(strength_plate_set) |