| | |
| | | else: |
| | | async_log_util.info(logger_l2_radical_buy, |
| | | f"即将炸板:{code}-{is_almost_open_limit_up}-{l2_market_time_str}") |
| | | if is_almost_open_limit_up: |
| | | # 自由流通市值50亿以上的不处理 |
| | | zyltgb = global_util.zyltgb_map.get( |
| | | code) |
| | | if zyltgb and zyltgb > 50e8: |
| | | return |
| | | |
| | | deal_codes = RadicalBuyDealCodesManager().get_deal_codes() |
| | | # 判断今日扫入的代码数量是否大于阈值 |
| | | radical_buy_setting = BuyMoneyAndCountSetting().get_radical_buy_setting() |
| | |
| | | latest_deal_time = l2_market_time_str |
| | | RadicalBuyDealCodesManager.buy_by_l2_delegate_expire_time_dict[code] = ( |
| | | time.time() + 60, latest_buy_no, buy_blocks, |
| | | latest_deal_time, buy_blocks_with_money) |
| | | latest_deal_time, buy_blocks_with_money, is_almost_open_limit_up) |
| | | return False |
| | | else: |
| | | async_log_util.info(logger_l2_radical_buy, f"不能下单:{code}-{result_by_volume}") |