| | |
| | | if not WantBuyCodesManager().is_in_cache( |
| | | code) and not gpcode_manager.BuyOpenLimitUpCodeManager().is_in_cache(code): |
| | | # 新题材破前高就不需要加黑 |
| | | need_forbidden = new_block_processor.is_can_forbidden(code) |
| | | # 新题材该拉黑还是拉黑 |
| | | need_forbidden = True #new_block_processor.is_can_forbidden(code) |
| | | if need_forbidden: |
| | | if code_nature_analyse.is_price_too_high_in_days(code, volumes_data, limit_up_price)[0]: |
| | | # 判断是否太高 |
| | |
| | | |
| | | if tool.is_ge_code(code) and float(limit_up_price) < 10: |
| | | l2_trade_util.forbidden_trade(code, "创业板股价10块内") |
| | | continue |
| | | |
| | | if len(k_format) > 14 and k_format[14]: |
| | | l2_trade_util.forbidden_trade(code, "昨日炸板") |
| | | l2_trade_util.forbidden_trade(code, "上个交易日涨停/炸板") |
| | | continue |
| | | |
| | | if len(k_format) > 15 and k_format[15]: |
| | | l2_trade_util.forbidden_trade(code, "上个交易日跌停") |
| | | continue |
| | | |
| | | if len(k_format) > 12 and k_format[12]: |
| | | l2_trade_util.forbidden_trade(code, "上个交易日振幅过大") |
| | | continue |
| | | |
| | | # if code_nature_analyse.is_continue_limit_up_not_enough_fall_dwon(code, volumes_data): |