| | |
| | | continue |
| | | if re.match(r"风险|立案", r[2]): |
| | | continue |
| | | if re.match(r"退市", r[1]): |
| | | continue |
| | | if r[1].find("ST") >= 0: |
| | | continue |
| | | if r[1].find("S") >= 0: |
| | |
| | | if not is_for_buy: |
| | | if r[3] < 1: |
| | | continue |
| | | if re.match(r"退市", r[1]): |
| | | continue |
| | | if r[1].find("ST") >= 0: |
| | | continue |
| | | if r[1].find("S") >= 0: |
| | | continue |
| | | else: |
| | | if re.match(r"风险|立案", r[2]): |
| | | continue |
| | | if re.match(r"退市", r[1]): |
| | | continue |
| | | if r[1].find("ST") >= 0: |
| | | continue |
| | |
| | | fdata = K60SLineAnalyzer.get_close_price_of_max_volume(kline_data_60s) |
| | | instance.__setattr__(f"昨日分时最高量价", fdata) |
| | | |
| | | if KTickLineAnalyzer.is_too_high_and_not_relase_volume(kline_data_1d): |
| | | if KTickLineAnalyzer.is_too_high_and_not_release_volume(kline_data_1d): |
| | | instance.涨得高未放量 = True |
| | | else: |
| | | instance.涨得高未放量 = False |
| | | |
| | | if KTickLineAnalyzer.is_latest_limit_up_with_no_release_volume(kline_data_1d): |
| | | instance.涨停过未放量 = True |
| | | else: |
| | | instance.涨停过未放量 = False |
| | | |
| | | return instance |
| | | |
| | |
| | | results = __DataLoader.load_target_plate_and_codes() |
| | | # for k in results: |
| | | # print(k, results[k]) |
| | | plates = ["天然气", "军工"] |
| | | plates = ["锂电池", "化工"] |
| | | print("==========新题材=======") |
| | | for p in plates: |
| | | codes = [x for x in results.get(p)] # if get_zylt(x) < 31e8 |
| | |
| | | |
| | | # __load_target_codes_v1() |
| | | |
| | | __DataLoader = DataLoader("2025-06-04") |
| | | __DataLoader = DataLoader("2025-06-19") |
| | | # __test_jx_blocks(__DataLoader) |
| | | |
| | | # instance = StockVariables() |
| | |
| | | results = __DataLoader.load_target_plate_and_codes() |
| | | # for k in results: |
| | | # print(k, results[k]) |
| | | plates = ["锂电池"] |
| | | plates = ["锂电池", "化工"] |
| | | print("==========新题材=======") |
| | | for p in plates: |
| | | print(p, results.get(p)) |