The getLTP method retrieves data from Ticker API which is used on all our platforms. Can you let us know, how you concluded that the last price you received is 10 minutes old data?
I matched last_price fetched from getLTP and NSE on particular time . At anytime last_price fetched from getLTP and last_price on nse is different and that too much . getLTP fetching data which is more than 10 min old .
Can you tell me some better api which can give me more recent data which is not more than 10-20 sec old .
The last price on NSE website is not live and the time at which data was updated is also mentioned on the website. The last price might have gone up and come down to the same price or gone down and come up to the same price. Kite Connect's getLTP will give you latest price because the source for that data is Kite Ticker which will always give you the latest LTP. If you are not comfortable then you can use Kite Ticker.
@utlsingh Compare with kite.quote('NSE@utlsingh@u )['last_price'] always compare with terminal price not with NSE website mostly it is giving correct price
Can you let us know, how you concluded that the last price you received is 10 minutes old data?
I matched last_price fetched from getLTP and NSE on particular time . At anytime last_price fetched from getLTP and last_price on nse is different and that too much . getLTP fetching data which is more than 10 min old .
Can you tell me some better api which can give me more recent data which is not more than 10-20 sec old .
The last price might have gone up and come down to the same price or gone down and come up to the same price.
Kite Connect's getLTP will give you latest price because the source for that data is Kite Ticker which will always give you the latest LTP.
If you are not comfortable then you can use Kite Ticker.
Compare with kite.quote('NSE@utlsingh@u )['last_price'] always compare with terminal price not with NSE website
mostly it is giving correct price