| | |
| | | return eval(line) |
| | | return None |
| | | |
| | | def export_big_order_deal(self): |
| | | def export_big_order_deal(self, min_money=299e4): |
| | | """ |
| | | 大单成交 |
| | | @return: {"代码":[(买单号, 量, 金额, 时间, 最终成交价)]} |
| | |
| | | data = eval(line) |
| | | if data[1] != 0: |
| | | continue |
| | | if data[2][2] < min_money: |
| | | continue |
| | | if data[0] not in fdatas: |
| | | fdatas[data[0]] = [] |
| | | fdatas[data[0]].append(data[2]) |
| | | return fdatas |
| | | |
| | | def export_big_sell_order_deal(self): |
| | | def export_big_sell_order_deal(self, min_money=299e4): |
| | | """ |
| | | 大单成交 |
| | | @return: {"代码":[(买单号, 量, 金额, 时间, 最终成交价)]} |
| | |
| | | data = eval(line) |
| | | if data[1] != 1: |
| | | continue |
| | | if data[2][2] < min_money: |
| | | continue |
| | | if data[0] not in fdatas: |
| | | fdatas[data[0]] = [] |
| | | fdatas[data[0]].append(data[2]) |
| | | return fdatas |
| | | |
| | | def export_big_order_deal_by(self): |
| | | def export_big_order_deal_by(self, min_money=299e4): |
| | | """ |
| | | 大单成交 |
| | | @return: {"代码":[(买单号, 量, 金额, 时间, 最终成交价)]} |
| | |
| | | data = eval(line) |
| | | if data[1] != 0: |
| | | continue |
| | | if data[2][2] < 299e4: |
| | | if data[2][2] < min_money: |
| | | continue |
| | | if data[2][0] in buy_order_nos: |
| | | continue |
| | |
| | | fdatas[data[0]].append(data[2]) |
| | | return fdatas |
| | | |
| | | def export_big_sell_order_deal_by(self): |
| | | def export_big_sell_order_deal_by(self, min_money=299e4): |
| | | """ |
| | | 大单成交 |
| | | @return: {"代码":[(买单号, 量, 金额, 时间, 最终成交价)]} |
| | |
| | | data = eval(line) |
| | | if data[1] != 1: |
| | | continue |
| | | if data[2][2] < 299e4: |
| | | if data[2][2] < min_money: |
| | | continue |
| | | if data[2][0] in buy_order_nos: |
| | | continue |