| | |
| | | total_lack_money_info[2] |
| | | # ===========判断单次大单成交============== |
| | | current_big_order_deal_money = 0 |
| | | current_big_order_deal_money_info = EveryLimitupBigDealOrderManager.get_big_buy_deal_order_money_info(code) |
| | | current_big_order_deal_money_info = EveryLimitupBigDelegateOrderManager.get_big_buy_delegate_order_money_info(code) |
| | | if current_big_order_deal_money_info: |
| | | if tool.trade_time_sub(tool.get_now_time_str(), current_big_order_deal_money_info[1]) > 60: |
| | | if tool.trade_time_sub(tool.get_now_time_str(), current_big_order_deal_money_info[0][2]) > 60: |
| | | # 60s以上的大单不看 |
| | | current_big_order_deal_money = 0 |
| | | else: |
| | | current_big_order_deal_money = current_big_order_deal_money_info[0] |
| | | current_big_order_deal_money = sum(x[1] for x in current_big_order_deal_money_info) |
| | | current_lack_money = max(0, int(current_threshold_money - current_big_order_deal_money)) |
| | | if for_buy and not tool.is_ge_code(code): |
| | | # 要下单的且不是创业版的目标代码大单数量打8折 |