| | |
| | | if limit_up_reason: |
| | | reasons.add(limit_up_reason) |
| | | if not limit_up_reason: |
| | | radical_buy_blocks = RadicalBuyDealCodesManager.radical_buy_blocks_dict.get(dc) |
| | | if radical_buy_blocks: |
| | | reasons |= radical_buy_blocks |
| | | radical_buy_deal_blocks = RadicalBuyDealCodesManager.radical_buy_blocks_dict.get(dc) |
| | | if radical_buy_deal_blocks: |
| | | reasons |= radical_buy_deal_blocks |
| | | for r in reasons: |
| | | if r not in deal_reason_codes: |
| | | deal_reason_codes[r] = set() |
| | |
| | | for b in radical_buy_blocks: |
| | | # 获取板块的最大买入个数 |
| | | max_count = RadicalBuyBlockCodeCountManager().get_block_code_count(b) |
| | | if b in deal_reason_codes and len(deal_reason_codes[b])>=max_count: |
| | | if b in deal_reason_codes and len(deal_reason_codes[b]) >= max_count: |
| | | continue |
| | | f_buy_blocks.add(b) |
| | | async_log_util.info(logger_l2_radical_buy, f"还可以买入的板块:{code}-{f_buy_blocks}") |