| | |
| | | big_order_deal_enough = is_big_order_deal_enough(code, volume_rate, 0) |
| | | if not big_order_deal_enough[0] and big_order_deal_enough[2]: |
| | | return False, "交易前两分钟大单不足", False |
| | | if not RealTimeKplMarketData.is_ignore_block_in_money(): |
| | | jx_out_blocks = RealTimeKplMarketData.get_top_market_jingxuan_out_blocks() |
| | | if jx_out_blocks: |
| | | blocks = RadicalBuyBlockManager.get_code_blocks(code)[0] |
| | | if blocks: |
| | | fblocks = set(blocks) |
| | | else: |
| | | fblocks = set() |
| | | for b in blocks: |
| | | # 辨识度的票不看净流出 |
| | | block_codes = BlockSpecialCodesManager().get_block_codes(b) |
| | | if block_codes and code in block_codes: |
| | | # 辨识度 |
| | | fblocks.discard(b) |
| | | same_blocks = fblocks & set(jx_out_blocks) |
| | | if same_blocks: |
| | | return False, f"【{same_blocks}】板块精选流出", False |
| | | # 暂时不管净流出 |
| | | # if not RealTimeKplMarketData.is_ignore_block_in_money(): |
| | | # jx_out_blocks = RealTimeKplMarketData.get_top_market_jingxuan_out_blocks() |
| | | # if jx_out_blocks: |
| | | # blocks = RadicalBuyBlockManager.get_code_blocks(code)[0] |
| | | # if blocks: |
| | | # fblocks = set(blocks) |
| | | # else: |
| | | # fblocks = set() |
| | | # for b in blocks: |
| | | # # 辨识度的票不看净流出 |
| | | # block_codes = BlockSpecialCodesManager().get_block_codes(b) |
| | | # if block_codes and code in block_codes: |
| | | # # 辨识度 |
| | | # fblocks.discard(b) |
| | | # same_blocks = fblocks & set(jx_out_blocks) |
| | | # if same_blocks: |
| | | # return False, f"【{same_blocks}】板块精选流出", False |
| | | return True, "", False |
| | | |
| | | @classmethod |