It looks like you're new here. If you want to get involved, click one of these buttons!
static {
symbolList = new String[10];
symbolList[0] = "NFO:NIFTY18JUN11100CE";
symbolList[1] = "NFO:NIFTY18JUN11000CE";
symbolList[2] = "NFO:NIFTY18JUN10900CE";
symbolList[3] = "NFO:NIFTY18JUN10800CE";
symbolList[4] = "NFO:NIFTY18JUN10700CE";
symbolList[5] = "NFO:NIFTY18JUN10700PE";
symbolList[6] = "NFO:NIFTY18JUN10600PE";
symbolList[7] = "NFO:NIFTY18JUN10500PE";
symbolList[8] = "NFO:NIFTY18JUN10400PE";
symbolList[9] = "NFO:NIFTY18JUN10300PE";
}
and later :
try {
quoteMap = kite.getLTP(symbolList);
} catch (JSONException e) {
msg = "JSONException in QuoteTest.getQuotes()";
LOGIN_LOGGER.info(msg);
return null;
} catch (IOException e) {
msg = "IOException in QuoteTest.getQuotes()";
LOGIN_LOGGER.info(msg);
return null;
} catch (KiteException e) {
msg = "KiteException in QuoteTest.getQuotes()";
LOGIN_LOGGER.info(msg);
return null;
}
All the time I'm getting KiteException .
setEnableLogging
function immediately after initializing the KiteConnect instance?