☰
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
12.1K
All Categories
91
Node JS client
32
Go client
706
.Net API client
338
Kite Publisher
525
.Net / VBA / Excel (3rd party)
402
Algorithms and Strategies
901
Java client
918
API clients
386
PHP client
3.4K
Python client
314
Mobile and Desktop apps
1.2K
Market data (WebSockets)
2.9K
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.