☰
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
154
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
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