| | |
| | | |
| | | not_deal_total_big_num = 0 |
| | | not_deal_total_big_count = 0 |
| | | for i in range(trade_index, trade_index): |
| | | for i in range(trade_index, total_datas[-1]["index"] + 1): |
| | | val = total_datas[i]["val"] |
| | | if not L2DataUtil.is_limit_up_price_buy(val): |
| | | continue |
| | |
| | | else: |
| | | not_deal_total_big_num -= canceled_data["val"]["num"] |
| | | not_deal_total_big_num += val["num"] |
| | | |
| | | |
| | | |
| | | |
| | | real_place_order_after_count = 0 |
| | | real_place_order_after_num = 0 |
| | |
| | | "big_num_count": total_big_count, |
| | | "big_num_money": output_util.money_desc(total_big_num * float(limit_up_price) * 100), |
| | | "not_deal_big_num_count": not_deal_total_big_count, |
| | | "not_deal_big_num_money": output_util.money_desc(not_deal_total_big_num * float(limit_up_price) * 100), |
| | | "not_deal_big_num_money": output_util.money_desc( |
| | | not_deal_total_big_num * float(limit_up_price) * 100), |
| | | "left_count": total_left_count, |
| | | "volume_rate": volume_rate, |
| | | "left_money": output_util.money_desc(total_left_num * float(limit_up_price) * 100), |