☰
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
153
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
403
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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