code: private Tick getQuoteData(byte[] bin, int x, int dec1){
          Tick tick2 = new Tick();
          tick2.setMode(modeQuote);
          tick2.setInstrumentToken(x);
          double lastTradedPrice = convertToDouble(getBytes(bin, 4, 8)) / dec1;
          tick2.setLastTradedPrice(lastTradedPrice);
          tick2.setLastTradedQuantity(convertToDouble(getBytes(bin, 8, 12)));
          tick2.setAverageTradePrice(convertToDouble(getBytes(bin, 12, 16)) / dec1);
          tick2.setVolumeTradedToday(convertToDouble(getBytes(bin, 16, 20)));
          tick2.setTotalBuyQuantity(convertToDouble(getBytes(bin, 20, 24)));
          tick2.setTotalSellQuantity(convertToDouble(getBytes(bin, 24, 28)));
          tick2.setOpenPrice(convertToDouble(getBytes(bin, 28, 32)) / dec1);
          tick2.setHighPrice(convertToDouble(getBytes(bin, 32, 36)) / dec1);
          tick2.setLowPrice(convertToDouble(getBytes(bin, 36, 40)) / dec1);
          double closePrice = convertToDouble(getBytes(bin, 40, 44)) / dec1;
          tick2.setClosePrice(closePrice);
          setChangeForTick(tick2, lastTradedPrice, closePrice);
          return tick2;
      }
docs: Get quote data (last traded price, last traded quantity, average traded price, volume, total bid(buy quantity), total ask(sell quantity), open, high, low, close.)