☰
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
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.