I have been trying to incorporate the usage of Cover order for commodity. In order to exit the cover order upon hitting the required target, what is the proper way to invoke the API.
The approach I followed is as follows, Plz note: I'm using Python client for this,
@ibot You can use kite Connect Python client, instead of using requests lib.To Exit Cover order, for Python client: kite.cancel_order(variety='co',order_id='Order id for pending limit buy/sell order') Go through this documentation.
You can use kite Connect Python client, instead of using requests lib.To Exit Cover order, for Python client:
kite.cancel_order(variety='co',order_id='Order id for pending limit buy/sell order')
Go through this documentation.
I got it.
Anyways, I also found the solution to use request library. Just posting the solution to help others who found similar issue.