☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
384
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
406
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
November 2020
rakeshr
Delay in "last_price" value in "GET /portfolio/positions"
mlearner
November 2020
in
Python client
I am observing lag in
"last_price"
response attribute when using "GET /portfolio/positions" API.
The API returns stale value for last_price, gets updated after 4-5 minutes only.
Is this attribute not supposed to be LTP of the instrument(so should give recent tick value) for which a position is held as mentioned in the documentation:
https://kite.trade/docs/connect/v3/portfolio/#positions
?
Thanks.
Tagged:
LAST price
rakeshr
November 2020
@mlearner
It's not recommended to poll position APIs to fetch last_price, instead, you can use
Websocket streaming
/
Quote APIs
. You can go through
this thread
.
Sign In
or
Register
to comment.
It's not recommended to poll position APIs to fetch last_price, instead, you can use Websocket streaming/Quote APIs. You can go through this thread.