From c264c6ca199ace7ab5de7a43d870318f39555880 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 15 十二月 2023 18:10:31 +0800 Subject: [PATCH] 板块代码输入自由流通市值 --- third_data/data_server.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/third_data/data_server.py b/third_data/data_server.py index 7639603..92291ee 100644 --- a/third_data/data_server.py +++ b/third_data/data_server.py @@ -85,7 +85,8 @@ (k, len(limit_up_reason_dict[k]), limit_up_reason_want_count_dict.get(k), limit_up_reason_dict[k][0][5]) for k in limit_up_reason_dict] - limit_up_reason_statistic_info.sort(key=lambda x: len(current_reason_codes_dict[x[0]]) if x[0] in current_reason_codes_dict else 0) + limit_up_reason_statistic_info.sort( + key=lambda x: len(current_reason_codes_dict[x[0]]) if x[0] in current_reason_codes_dict else 0) limit_up_reason_statistic_info.reverse() codes_set = set([d[3] for d in total_datas]) @@ -446,7 +447,8 @@ continue # 浠g爜,鍚嶇О,娑ㄥ仠鏃堕棿,鏄惁鐐告澘,鏄惁鎯充拱,鏄惁宸茬粡涓嬭繃鍗� codes_info.append( - [d[3], d[4], tool.to_time_str(int(d[5])), 1 if d[3] not in now_limit_up_codes else 0, 0, 0, d[12]]) + [d[3], d[4], tool.to_time_str(int(d[5])), 1 if d[3] not in now_limit_up_codes else 0, 0, 0, d[12], + output_util.money_desc(d[13])]) codes_info.sort(key=lambda x: x[2]) # 鏌ヨ鏄惁涓烘兂涔板崟 want_codes = gpcode_manager.WantBuyCodesManager().list_code_cache() -- Gitblit v1.8.0