☰
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
11.9K
All Categories
85
Node JS client
32
Go client
686
.Net API client
331
Kite Publisher
524
.Net / VBA / Excel (3rd party)
394
Algorithms and Strategies
892
Java client
904
API clients
383
PHP client
3.3K
Python client
310
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