☰
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
12.1K
All Categories
91
Node JS client
32
Go client
706
.Net API client
338
Kite Publisher
525
.Net / VBA / Excel (3rd party)
402
Algorithms and Strategies
901
Java client
918
API clients
386
PHP client
3.4K
Python client
314
Mobile and Desktop apps
1.2K
Market data (WebSockets)
2.9K
General
In this Discussion
August 2017
vishnus
August 2017
Srik
WebSocket object at 0x02B95770>>: Route not found
Srik
August 2017
in
Python client
Hi Sujith,
I keep getting this error from the websocket. Can you point me to what could be the reason for this.
Regards,
Srik
Srik
August 2017
Hi Sujith,
I find that the issue is with order_cancel call. Can you give me an example how I can cancel a "regular" order.
vishnus
August 2017
edited August 2017
Hi
@Srik
Can you share the code for websocket issue?
To cancel regular order using python client, you can just do this:
kite.order_cancel(order_id)
Please refer this documentation about order cancelling:
https://kite.trade/docs/connect/v1/#cancelling-orders
Srik
August 2017
Hi Vishnus,
I call the order_cancel API from the on_tick function. This call was wrong and was throwing error. Now it is fixed.
Thanks,
Srik
This discussion has been closed.
I find that the issue is with order_cancel call. Can you give me an example how I can cancel a "regular" order.
Can you share the code for websocket issue?
To cancel regular order using python client, you can just do this:
kite.order_cancel(order_id)
Please refer this documentation about order cancelling:
https://kite.trade/docs/connect/v1/#cancelling-orders
I call the order_cancel API from the on_tick function. This call was wrong and was throwing error. Now it is fixed.
Thanks,
Srik