☰
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.7K
All Categories
0
Incidents
145
Node JS client
38
Go client
787
.Net API client
375
Kite Publisher
537
.Net / VBA / Excel (3rd party)
455
Algorithms and Strategies
987
Java client
1.1K
API clients
402
PHP client
3.9K
Python client
344
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.3K
General
In this Discussion
August 2022
pavankumarramadugu
August 2022
SRIJAN
Open Positions Python
pavankumarramadugu
August 2022
in
Python client
At a given point in time, how do we know if there are any open positions through python ?
Tagged:
algo trading
API python client
SRIJAN
August 2022
You can use the positions API:
https://kite.trade/docs/connect/v3/portfolio/#positions
Every position has a quantity field.
If the quantity is not 0, it's an open position.
pavankumarramadugu
August 2022
And if I had to know about all the positions at once?
And also what about where are no closed positions as well?
If possible can you please ping the code here?
SRIJAN
August 2022
https://github.com/zerodha/pykiteconnect
Sign In
or
Register
to comment.
https://kite.trade/docs/connect/v3/portfolio/#positions
Every position has a quantity field.
If the quantity is not 0, it's an open position.
And also what about where are no closed positions as well?
If possible can you please ping the code here?