It looks like you're new here. If you want to get involved, click one of these buttons!
{
"status": "success",
"data": {
"change_percent": 0,
"open": 0,
"last_price": 0,
"change": 0,
"close": 0
}
}
{
"status": "success",
"data": {
"change_percent": 0.21,
"open": 21291.45,
"last_price": 21271.95,
"change": 46.54,
"close": 21225.4
}
}
We are looking into this.
We are getting values as 0 from TR, we have reported the issue. We will let you know once we get an update about it.
There is one more issue regarding the KiteConnect Java API for Indices quotes.
There is a method:
public Quote getQuoteIndices(String exchange, String tradingSymbol)
However, the JSON response and the Object are not matching in fields and there is a loss of information.
JSON Response is as such: The Quote object has a structure like this: Thus, only the last_price, change_percentage and change fields get mapped correctly. The open and close fields get lost.
For now I'm using my own objects and methods but I thought I'd let you so this can be fixed later on.
Thank you for notifying, we will update it in next release.