☰
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
14K
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
July 2019
Shaha
July 2019
rishiswethan
Exit all open positions without getting orders or anything
Nayan924
July 2019
in
Python client
I want to know if there is a way to check if there is any order placed, if yes, then exit all orders, without executing query to find open orders and all that stuff.
rishiswethan
July 2019
edited July 2019
There is nothing as of now, but, here is a sample of the function I use
https://pastebin.com/6BnaqWn4
Shaha
July 2019
edited July 2019
Yes. Subscribe to order updates. You wont have to query to find open orders.
Sign In
or
Register
to comment.
https://pastebin.com/6BnaqWn4