| | |
| | | |
| | | # 是否具有辨识度 |
| | | is_special = True if k_format and k_format[8][0] else False |
| | | if not WantBuyCodesManager().is_in_cache(code): |
| | | if not WantBuyCodesManager().is_in_cache(code) and not gpcode_manager.BuyOpenLimitUpCodeManager().is_in_cache(code): |
| | | # 不是想买单,也不是排一的代码 |
| | | if not is_special: |
| | | situation = MarketSituationManager().get_situation_cache() |
| | | zylt_threshold_as_yi = buy_condition_util.get_zyltgb_threshold(situation) |
| | |
| | | money_y = min(money_y, 50) |
| | | money_y = max(money_y, 5) |
| | | # 计算大单参考数量 |
| | | threshold_count = int(round(0.4 * money_y)) * 2 |
| | | threshold_count = int(round(0.4 * money_y)) * 4 |
| | | threshold_money = threshold_count * 299 * 10000 |
| | | volume_rate_info = cls.volume_rate_info.get(code) |
| | | |