I can't locate "change_percent" and "change" as per https://kite.trade/docs/connect/v3/market-quotes/ (although there is field 'net_change') I am not sure if I am missing something here. Please advise.
Hi, The getQuote API will return absolute change only. You can calculate change_percent as follows, change percent = ((lastTradedPrice - closePrice) * 100) / closePrice
Thanks @sujith . Also, just to confirm, this means the documentation is not updated for this API (please check "Response attributes" section of https://kite.trade/docs/connect/v3/market-quotes/). Because this section specifies both 'change_percent' and 'change' as the response attributes of getquote API. Wanted to understand the same to ensure that I am looking at the correct/updated documentation.
Any update on the above ?
The getQuote API will return absolute change only. You can calculate change_percent as follows,
change percent = ((lastTradedPrice - closePrice) * 100) / closePrice
Wanted to understand the same to ensure that I am looking at the correct/updated documentation.