| | |
| | | from third_data.third_blocks_manager import BlockMapManager |
| | | from trade import trade_record_log_util |
| | | |
| | | from utils import tool |
| | | from utils import tool, global_util |
| | | from utils.kpl_data_db_util import KPLLimitUpDataUtil |
| | | |
| | | # 用于计算激进买开1的板数:{"代码":(几版,{板块})} |
| | |
| | | @param block: |
| | | @return: 返回增加新题材是否成功 |
| | | """ |
| | | |
| | | # 自由流通股本要大于50亿 |
| | | zyltgb = global_util.zyltgb_map.get(code) |
| | | if not zyltgb or zyltgb < 50e8: |
| | | return False |
| | | if block in constant.KPL_INVALID_BLOCKS: |
| | | return False |
| | | old_blocks = self.__radical_buy_reasons_dict.get(code) |
| | |
| | | """ |
| | | return self.__new_blocks |
| | | |
| | | def is_new_block(self, block): |
| | | """ |
| | | 是否是新题材 |
| | | @param block: |
| | | @return: |
| | | """ |
| | | if self.__new_blocks and block in self.__new_blocks: |
| | | return True |
| | | return False |
| | | |
| | | |
| | | |
| | | class TodayLimitUpReasonChangeManager: |
| | | """ |