☰
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
14.1K
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
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
February 20
Sravanthi_bh
February 20
SJ2994
February 19
sujith
Getting Intraday m2m net position
SJ2994
February 17
in
Python client
I am using kite.position method for getting intraday m2m position but it is not coming properly. It is showing same m2m repeatedly. How to fix.
Tagged:
@zerodha @kiteapi @kiteconnect @historical @futures @expiredfutures
sujith
February 17
You may check out this
thread
.
SJ2994
February 17
Hi
@sujith
can you please help with the python code how I can get the data.
SJ2994
February 17
edited February 17
Can you elaborate every parameters in details -
pnl = (sellValue - buyValue) + (netQuantity * lastPrice * multiplier);
sujith
February 18
You can refer the
documentation
for the positions API.
SJ2994
February 19
Hi
@sujith
Position is updating after 5mins interval. can we check 1min interval?
Sravanthi_bh
February 19
You may refer the similar discussion
here
and also refer
documentation
for the positions API.
sujith
February 19
@SJ2994
,
Even if you pull positions after a minute it will give you old value. It is better to use Quote API or Websocket API to fetch latest LTP and calculate live m2m.
SJ2994
February 20
Any Documentation for Quote API or Websocket API to fetch latest data?
Sravanthi_bh
February 20
You may refer to the
API doc
for more help.
Sign In
or
Register
to comment.
pnl = (sellValue - buyValue) + (netQuantity * lastPrice * multiplier);
Even if you pull positions after a minute it will give you old value. It is better to use Quote API or Websocket API to fetch latest LTP and calculate live m2m.