I am trying to download the nifty data for the given period using java api , its returning empty array. as below Download candle...index....6 from=Thu Dec 13 02:04:57 IST 2018 to:Thu Dec 13 13:10:03 IST 2018 token=256265 min:5 SIze....47 Pring downloaded candl:HLCO:0.0:0.0:0.0:0.0 absMin:doji dat...null datv:0 close:0.0 Pring downloaded candl:HLCO:0.0:0.0:0.0:0.0 absMin:doji dat...null datv:0 close:0.0 Pring downloaded candl:HLCO:0.0:0.0:0.0:0.0 absMin:doji dat...null datv:0 close:0.0 Pring downloaded candl:HLCO:0.0:0.0:0.0:0.0 absMin:doji dat...null datv:0 close:0.0 Pring downloaded candl:HLCO:0.0:0.0:0.0:0.0 absMin:doji dat...null datv:0 close:0.0 Pring downloaded candl:HLCO:0.0:0.0:0.0:0.0 absMin:doji dat...null datv:0 close:0.0
Code snippet as below
HistoricalData dat = KiteApi.kiteConnect.getHistoricalData(from, to, ""+256265, "5minute", false); List list = dat.dataArrayList; System.out.println("SIze...."+list.size());
For all the instruments, i am getting the same response ( empty array list)
Thanks