| | |
| | | def __process_buy_open_limit_up_datas(cls, datas): |
| | | """ |
| | | 处理排1的数据 |
| | | @param datas: [(代码, 现价, 涨幅, 量, 当前时间, 买1价, 买1量, 买2价, 买2量, 更新时间)] |
| | | @param datas: [(代码, 现价, 涨幅, 量, 当前时间, 买1价, 买1量, 买2价, 买2量, 更新时间, 昨日收盘价(集合竞价才有))] |
| | | @return: |
| | | """ |
| | | # 9:25之后不再处理 |
| | | if tool.get_now_time_as_int() > int("092500"): |
| | | return |
| | | for d in datas: |
| | | # 计算当前是否是涨停状态 |
| | | if len(d)==11: |
| | | async_log_util.info(logger_debug, f"开1数据:{d}") |
| | | if gpcode_manager.BuyOpenLimitUpCodeManager().is_in_cache(d[0]): |
| | | # 09:19:50 到 09:20:00判断是否要撤单 |
| | | if int("091950") <= int(d[9].replace(":", "")) < int("092000"): |