Submits an order to modify an open position.

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

Syntax

C#
public Order SubmitOrder(
	string PosID,
	OrderSettings orderSettings
)
Visual Basic
Public Function SubmitOrder ( 
	PosID As String,
	orderSettings As OrderSettings
) As Order
Visual C++
public:
Order^ SubmitOrder(
	String^ PosID, 
	OrderSettings^ orderSettings
)
F#
member SubmitOrder : 
        PosID : string * 
        orderSettings : OrderSettings -> Order 

Parameters

PosID
Type: System..::..String
The ID of the open position.
orderSettings
Type: RightEdge.Common..::..OrderSettings
An OrderSettings object which contains information about the order to be submitted.

Return Value

Type: Order
An Order object representing the order that was submitted.

Remarks

If there is an error which prevents the order from being submitted, then the Error property of the returned object will contain the error message. If the order was successfully submitted, the Error property will be null.

See Also