Cancels a pending order.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public ReturnCode CancelOrder(
	string PosID,
	string orderID
)
Visual Basic
Public Function CancelOrder ( 
	PosID As String,
	orderID As String
) As ReturnCode
Visual C++
public:
ReturnCode^ CancelOrder(
	String^ PosID, 
	String^ orderID
)
F#
member CancelOrder : 
        PosID : string * 
        orderID : string -> ReturnCode 

Parameters

PosID
Type: System..::..String
The ID of the position with which the order is associated.
orderID
Type: System..::..String
The ID of the order to cancel.

Return Value

Type: ReturnCode
A ReturnCode indicating whether the operation succeeded.

See Also