Java SmartConnect candleData function is broken
-
-
@pashriva It is possible that the instrument is not traded for the interval you are getting the data from. Try looking at the data from the NFO segment for some NIFTY futures/options. I think they are pretty liquid and are traded almost every second. So, its hard to get same candle assuming the api is correct.
-
@admin
I took Java file from the github, made the fix and compiled and patched to my code, so I was able to proceed. But then I encountered another issue. The data returned by the candleData() function is returning duplicate entries. For example for 1 day candleData for Heromotoco is returning below, which is like same candle 6 times. -
@admin
I took Java file from the github, made the fix and compiled and patched to my code, so I was able to proceed. But then I encountered another issue. The data returned by the candleData() function is returning duplicate entries. For example for 1 day candleData for Heromotoco is returning below, which is like same candle 6 times. -
@admin
This function is broken. The Line 541 throws an exception and hence the function returns null value.Below is response.