| | |
| | | |
| | | |
| | | setInterval(function() { |
| | | if (is_trade_time() || true) { |
| | | if (is_trade_time()) { |
| | | app.get_kpl_market_feelings(); |
| | | } |
| | | }, 3000, 3000); |
| | |
| | | }, |
| | | get_score_data: function(code, name, callback) { |
| | | console.log("获取分数数据:", code, name); |
| | | http_util.get_score_data(code, name, function(res) { |
| | | var date=$("#date").val(); |
| | | http_util.get_score_data(code, name,date, function(res) { |
| | | res = JSON.parse(res) |
| | | console.log("分数请求结果:", res) |
| | | if (res.code == 0) { |
| | |
| | | }); |
| | | }, |
| | | get_limit_up_list: function(code, is_auto_refresh) { |
| | | http_util.get_limit_up_list(code, function(res) { |
| | | day = $("#date").val(); |
| | | http_util.get_limit_up_list(code,day, function(res) { |
| | | res = JSON.parse(res) |
| | | if (res.code == 0) { |
| | | app.first_info = res.data |
| | |
| | | // } |
| | | http_util.cancel_order(app.code, function() { |
| | | //撤单成功,刷新代码 |
| | | app.get_score_data(app.code, null); |
| | | app.get_score_data(app.code,null,null); |
| | | }); |
| | | }, |
| | | forbidden_plate: function(plate, type) { |
| | |
| | | return; |
| | | } |
| | | app.last_show_dialog = Date.now() |
| | | |
| | | http_util.get_plate_codes(plate, function(result) { |
| | | var day = $("#date").val(); |
| | | http_util.get_plate_codes(plate,day, function(result) { |
| | | result = JSON.parse(result); |
| | | console.log("涨停原因成分股返回:", result); |
| | | var datas = result.data; |
| | |
| | | app.get_industry_data(app.industry_data_type); |
| | | app.get_jingxuan_data(app.jingxuan_data_type); |
| | | app.get_limit_up_list(app.code, false); |
| | | app.get_kpl_market_feelings(); |
| | | } |
| | | |
| | | $(".market .child-title").click(function() { |