Please suggest how to cancel CO and BO. I got a code which is for BO kiteConnect.cancelOrder("180116000812153","180116000798058", Constants.VARIETY_BO); will it work if I modify this for CO like kiteConnect.cancelOrder("180116000812153","180116000798058", Constants.VARIETY_CO); Also please let me know what are the parameters used here.
You can read more about params here.