| | |
| | | |
| | | http_util.get_l2_datas(app.code, date, app.l2_end_index, function(res) { |
| | | layer.close(index); |
| | | console.log("获取到L2数据:", res) |
| | | res = JSON.parse(res); |
| | | if (res.code == 0) { |
| | | var real_order_indexes = new Array(); |
| | |
| | | big_buy_order+=1; |
| | | } |
| | | |
| | | if(e[2][5] == 6){ |
| | | console.log("小单:", e) |
| | | } |
| | | |
| | | }); |
| | | res.data.data.transactions.forEach(function(e) { |
| | | if(parseFloat(e[2][3])>=299){ |
| | |
| | | console.log("最近真实下单位置:", real_order_indexes); |
| | | app.real_order_indexes = real_order_indexes; |
| | | app.l2_datas = res.data.data; |
| | | console.log("L2数据:", app.l2_datas); |
| | | |
| | | console.log("第1条L2数据:", res.data.data[0]) |
| | | |
| | | // console.log("L2数据:", app.l2_datas); |
| | | var code_name = res.data.code_name; |
| | | var code_ = res.data.code; |
| | | app.l2_code_name = code_ + " " + code_name; |