| | |
| | | if WantBuyCodesManager().is_in_cache(code): |
| | | if total_deal_big_order_result[0] <= 0: |
| | | # 累计大单足够需要加红 |
| | | human_setting_money = TotalDealBigOrderThresholdMoneyManager().get_money_cache(code) |
| | | if not human_setting_money: |
| | | # 没有人为设置累计大单阈值就不能加白 |
| | | return |
| | | gpcode_manager.MustBuyCodesManager().add_code(code) |
| | | trade_record_log_util.add_must_buy(code, "累计成交大单足够") |
| | | cls.__process_add_white(code) |
| | |
| | | return |
| | | if gpcode_manager.WhiteListCodeManager().is_in_cache(code): |
| | | return |
| | | human_setting_money = TotalDealBigOrderThresholdMoneyManager().get_money_cache(code) |
| | | if not human_setting_money: |
| | | # 没有人为设置累计大单阈值就不能加白 |
| | | return |
| | | |
| | | try: |
| | | total_deal_big_order_result = get_total_deal_big_order_info(code, |
| | | gpcode_manager.get_limit_up_price_as_num(code)) |