| | |
| | | @return:大单阈值,是否是临时大单 |
| | | """ |
| | | if not is_first_limit_up_buy(code): |
| | | return self.get_big_order_threshold(code), False |
| | | return self.get_big_order_threshold(code)[0], False |
| | | else: |
| | | money = self.get_temp_deal_big_order_threshold(code) |
| | | if not money: |
| | |
| | | # 获取首板的身位 |
| | | info = RadicalBuyBlockManager().get_history_index(code, block, yesterday_limit_up_codes, |
| | | ignore_open_limit_up=False) |
| | | if info[0] < 3: |
| | | if info[0] < 2: |
| | | # 只能买板块前2 |
| | | if is_for_buy: |
| | | # 买入 |
| | | if tool.get_now_time_as_int() < 100000: |
| | |
| | | fmsges = [] |
| | | msges = [] |
| | | can_buy_blocks = set() |
| | | if code in today_history_limit_up_codes: |
| | | if not is_first_limit_up_buy(code): |
| | | # 回封买入方式 |
| | | match_blocks = open_limit_up_blocks & keys_ |
| | | for b in match_blocks: |
| | |
| | | if result[0]: |
| | | can_buy_blocks.add(b) |
| | | msges.append(f"【{b}】:{result[1]}") |
| | | fmsges.append("板块辨识度判断##" + ",".join(msges)) |
| | | fmsges.append("首封板块辨识度判断##" + ",".join(msges)) |
| | | # 判断板块是否不能买 |
| | | if can_buy_blocks: |
| | | msges.clear() |