OEC Application Programming Interface

OECClient.CancelOrder Method 

Sends cancel request for an existing Order.

public Void CancelOrder(
   Order order
);

Parameters

order
Order to cancel

Remarks

Cancel Command will be added to the Commands list. Note that the cancel command will be initially in pending state, and the client should monitor OnCommandUpdated event and/or State to see whether the command was executed or failed. Also order State will become Cancelled when cancel command succeed.

See Also

OECClient Class | OEC.API Namespace