It looks like you're new here. If you want to get involved, click one of these buttons!
$kite->exitOrder( 'co', '151220000000000', array( 'parent_order_id' => '151220000000000' ) );
Does the placeOrder() return an array or an object?
stdClass Object( [order_id] => XXXXXX)
And is this the correct code to exit a cover order?