| | |
| | | return fdatas |
| | | |
| | | |
| | | def load_kpl_open_limit_up(): |
| | | path = f"{constant.get_path_prefix()}/logs/gp/kpl/kpl_open_limit_up.{tool.get_now_date_str()}.log" |
| | | fdatas = [] |
| | | lines = __load_file_content(path) |
| | | for line in lines: |
| | | if line.find("炸板") > 0: |
| | | time_str = __get_log_time(line) |
| | | data = line[line.find(":") + 1:] |
| | | codes = eval(data) |
| | | fdatas.append((time_str, codes)) |
| | | return fdatas |
| | | |
| | | # 加载华鑫本地买入订单号 |
| | | def load_huaxin_local_buy_no(): |
| | | path = f"{constant.get_path_prefix()}/logs/huaxin_local/l2/l2_buy_no.{tool.get_now_date_str()}.log" |
| | |
| | | |
| | | |
| | | if __name__ == '__main__': |
| | | fdatas = get_l2_cant_buy_reasons("002731") |
| | | fdatas = load_kpl_open_limit_up() |
| | | print(len(fdatas)) |
| | | # print(get_h_cancel_compute_info("603912")) |
| | | |