code: public List<Instrument> getInstruments() throws KiteException, IOException, JSONException {
          KiteRequestHandler kiteRequestHandler = new KiteRequestHandler(proxy);
          return readCSV(kiteRequestHandler.getCSVRequest(routes.get("market.instruments.all"), apiKey, accessToken));
      }
docs: Retrieves list of market instruments available to trade.
  
  Response is array for objects. For example,
  {
  instrument_token: '131098372',
  exchange_token: '512103',
  tradingsymbol: 'NIDHGRN',
  name: 'NIDHI GRANITES',
  last_price: '0.0',
  expiry: '',
  strike: '0.0',
  tick_size: '0.05',
  lot_size: '1',
  instrument_type: 'EQ',
  segment: 'BSE',
  exchange: 'BSE' }, ...]
  @return List of instruments which are available to trade.
  @throws KiteException is thrown for all Kite trade related errors.
  @throws IOException is thrown when there is connection related errors.