| | |
| | | if hot_block["limit_up_index"] <= 0: |
| | | hot_block_score.append(0) |
| | | else: |
| | | hot_block_score.append(max(90 - hot_block["limit_up_index"] * 10, 0)) |
| | | hot_block_score.append(max(120 - hot_block["limit_up_index"] * 10, 0)) |
| | | # 板块 - 高位板 |
| | | high_score = 0 |
| | | for high_info in hot_block["high_block_infos"]: |
| | |
| | | if limit_up_time: |
| | | limit_up_time_m = tool.trade_time_sub(limit_up_time, "09:00:00") // 60 |
| | | |
| | | if limit_up_time_m < 240: |
| | | if limit_up_time_m < 240 or True: |
| | | # 14:30之前适用 |
| | | score_list.append(min(int(0 - round(limit_up_time_m / 15) + 12), 10)) |
| | | elif limit_up_time_m <= 270: |
| | | # 15:00之前加 |
| | | score_list.append(100) |
| | | else: |
| | | score_list.append(0) |
| | | # elif limit_up_time_m <= 270: |
| | | # # 15:00之前加 |
| | | # score_list.append(100) |
| | | # else: |
| | | # score_list.append(0) |
| | | |
| | | # 大单成交 |
| | | if deal_big_money_rate < 1: |
| | | score_list.append(0) |
| | | else: |
| | | d_score = int(round(10 * deal_big_money_rate, 0)) |
| | | d_score = min(d_score, 60) |
| | | score_list.append(d_score) |
| | | # if deal_big_money_rate < 1: |
| | | # score_list.append(0) |
| | | # else: |
| | | d_score = int(round(5 * deal_big_money_rate + 10, 0)) |
| | | d_score = min(d_score, 40) |
| | | score_list.append(d_score) |
| | | |
| | | score = 0 |
| | | for s in score_list: |