☰
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)
458
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
July 2018
sujith
July 2018
tahseen
Calculating / Monitoring - PnL of trades in Real Time
tahseen
June 2018
in
Python client
Dear Team,
Am trying to monitor my net PnL for which I use kite.positions() and then loop and sum all by using individual stock ["pnl"] key's value.
But I see there is a lag in the total PnL compared to the PnL I seen on Kite Website. Is there a better way to do this ?
Tagged:
Python Client
PNL
tahseen
June 2018
@sujith
Please help answer this question if you can
tahseen
July 2018
Guys, I see faster PnL on Kite Web compared to what the API can provide.
Please help
@sujith
@Kailash
sujith
July 2018
You need to fetch LTP and calculate each item's P&L as mentioned here
https://kite.trade/forum/discussion/3166/getposition-is-not-having-updated-value#latest
.
tahseen
July 2018
Thanks for the approach and suggestion. Coded. Works like a charm
This discussion has been closed.
Please help @sujith @Kailash