☰
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
385
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
June 2019
ytomar
June 2019
sujith
June 2019
rishiswethan
positions api PNL is updating only after a minute.
ytomar
June 2019
in
Python client
The API call keeps giving the same value for a minute. It does get updated but after a minute.
Is this expected?
rishiswethan
June 2019
I'm not seeing this, it's running right now for me. It's instant
sujith
June 2019
You can check out this
thread
.
ytomar
June 2019
These fields
pnl = (sellValue - buyValue) + (netQuantity * lastPrice * multiplier);
Can be picked up from positions response?
sujith
June 2019
You can get everything except for the last price.
You can get the last price from the Websockets API.
ytomar
June 2019
Thanks. This helps
This discussion has been closed.
pnl = (sellValue - buyValue) + (netQuantity * lastPrice * multiplier);
Can be picked up from positions response?
You can get the last price from the Websockets API.