| | |
| | | |
| | | if __name__ == "__main__": |
| | | # 测试涨停总卖吃掉的情况 |
| | | code = "300253" |
| | | code = "002681" |
| | | datas = log_export.load_huaxin_l2_sell_deal_list(code).get(code) |
| | | print(datas) |
| | | deal_datas = [] |
| | | deal_order_nos = set() |
| | | for i in range(len(datas)): |
| | | if 133320 <= int(datas[i][0].replace(":", "")) <= 142039: |
| | | if 100100 <= int(datas[i][0].replace(":", "")) <= 100230: |
| | | deal_datas.append(datas[i]) |
| | | for x in deal_datas: |
| | | for xx in x[1]: |
| | |
| | | fdatas = [] |
| | | for x in datas: |
| | | # if int("101821") < int(x[0].replace(":", "")) < int("102841"): |
| | | if 42886361 >= x[2][0] >= 35522478: |
| | | if 14578165 >= x[2][0] >= 14565438: |
| | | fdatas.append(x) |
| | | delegate_order_nos = set() |
| | | total_delegate = 0 |