guys i am new here . I would like to know how to square off same order. using kite.place_order method i triggered a buy order for ORDER_TYPE_MARKET. now how to square off the same order when i achieve desired point to sell.
You have to use the same kite.place_order method to place counter order to square off the trade except for CO orders. Go through this thread to know more about this.