| | |
| | | l2_trade_util.forbidden_trade(code, "昨日炸板") |
| | | continue |
| | | |
| | | if code_nature_analyse.is_continue_limit_up_not_enough_fall_dwon(code, volumes_data): |
| | | # 判断是否太高 |
| | | l2_trade_util.forbidden_trade(code, "回踩不够") |
| | | continue |
| | | # if code_nature_analyse.is_continue_limit_up_not_enough_fall_dwon(code, volumes_data): |
| | | # # 判断是否太高 |
| | | # l2_trade_util.forbidden_trade(code, "回踩不够") |
| | | # continue |
| | | try: |
| | | if not __is_normal_in_5d(code): |
| | | l2_trade_util.forbidden_trade(code, "最近5天有ST/非正常状态") |
| | |
| | | |
| | | try: |
| | | records = KPLLimitUpDataRecordManager.total_datas |
| | | |
| | | # 计算今日新增的题材概念 |
| | | block_codes = {} |
| | | for x in records: |
| | | b = kpl_util.filter_block(x[2]) |
| | | bs = {kpl_util.filter_block(x[2])} |
| | | if x[6]: |
| | | bs |= set(x[6].split("、")) |
| | | for b in bs: |
| | | if b not in block_codes: |
| | | block_codes[b] = set() |
| | | block_codes[b].add(x[3]) |
| | |
| | | LimitUpCodesBlockRecordManager().add_new_blocks(c, r) |
| | | except: |
| | | pass |
| | | |
| | | self.__kplDataManager.save_data(type_, result_list_) |
| | | except Exception as e: |
| | | logger_debug.exception(e) |
| | |
| | | # 想买单 |
| | | if gpcode_manager.WantBuyCodesManager().is_in_cache(code): |
| | | return 0 |
| | | # 隔夜单拍一 |
| | | # 隔夜单排一 |
| | | if gpcode_manager.BuyOpenLimitUpCodeManager().is_in_cache(code): |
| | | return 0 |
| | | |