| | |
| | | JSONObject args = new JSONObject(); |
| | | args.put("channel", POSITIONSWS_CHANNEL); |
| | | args.put("instType", CoinEnums.INSTTYPE_SWAP.getCode()); |
| | | args.put("instId", CoinEnums.HE_YUE.getCode()); |
| | | // args.put("instId", CoinEnums.HE_YUE.getCode()); |
| | | JSONObject updateInterval = new JSONObject(); |
| | | updateInterval.put("updateInterval","2000"); |
| | | args.put("updateInterval", updateInterval); |
| | | updateInterval.put("updateInterval",CoinEnums.UPDATEINTERVAL.getCode()); |
| | | args.put("extraParams", updateInterval); |
| | | argsArray.add(args); |
| | | |
| | | String connId = MallUtils.getOrderNum(POSITIONSWS_CHANNEL); |