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