From 40258b39a5d2a7883e735a2327d3f79f67dec0cf Mon Sep 17 00:00:00 2001 From: admin <admin@example.com> Date: 星期三, 18 六月 2025 15:31:26 +0800 Subject: [PATCH] 增加测试/记录精选流入板块 --- strategy/plate_strength_analysis.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/strategy/plate_strength_analysis.py b/strategy/plate_strength_analysis.py index ce2d05a..e8ec8f3 100644 --- a/strategy/plate_strength_analysis.py +++ b/strategy/plate_strength_analysis.py @@ -56,7 +56,7 @@ # 鍒濆鍖栬偂绁ㄥ己搴﹀垪琛� stock_power_list = [] for s in its_stock['list']: - # 杩囨护鎺夋定骞呭ぇ浜� 褰撴棩娑ㄥ箙s[6] < 0% 鐨� 鍜� 鍚嶇О涓寘鍚玈T鐨� 鍜� 娑ㄩ�熷皬浜庣瓑浜�0%鐨� 鍜� 鍙鏄ㄦ棩鏈定鍋� 鍜� 涓婅瘉鎴栨繁璇佺殑姝h偂 and s[9] > 0.0025 涓婂搴︽満鏋勬寔浠� >0 + # 杩囨护鎺夋定骞呭ぇ浜� 褰撴棩娑ㄥ箙s[6] < 0% 鐨� 鍜� 鍚嶇О涓寘鍚玈T鐨� 鍜� 娑ㄩ�熷皬浜庣瓑浜�0%鐨� 鍜� 鍙鏄ㄦ棩鏈定鍋� 鍜� 涓婅瘉鎴栨繁璇佺殑姝h偂 and s[9] > 1(s[9]=娑ㄩ��) 涓婂搴︽満鏋勬寔浠� >0 if s[6] > 0 and s[1].find("ST") < 0 and s[1].find("XD") < 0 and s[23].find("鏉�") < 0 and s[24].find("鏉�") < 0 and (s[0].startswith('60') or s[0].startswith('00')) and s[9] > 1 and int(s[42]) >= 0: # print(f"{s[1]}锛屼釜鑲′唬鐮侊細{s[0]}锛� 娑ㄥ箙锛歿s[6]}% 娑ㄩ�燂細{s[9]}% 姒傚康锛歿s[4]} 涓诲姏璧勯噾鎺ㄦ祴锛歿s[2]} 棰嗘定娆℃暟锛歿s[40]} 浠婃棩绗嚑鏉匡細{s[23]} 鏄惁鐮寸増{s[24]}") # 瀵逛釜鑲″己搴� 涓昏 灞炴�у垪琛ㄨ繘琛岃濉� -- Gitblit v1.8.0