Submits an order to the broker.

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

Syntax

C#
bool SubmitOrder(
	BrokerOrder order,
	out string orderId
)
Visual Basic
Function SubmitOrder ( 
	order As BrokerOrder,
	<OutAttribute> ByRef orderId As String
) As Boolean
Visual C++
bool SubmitOrder(
	BrokerOrder^ order, 
	[OutAttribute] String^% orderId
)
F#
abstract SubmitOrder : 
        order : BrokerOrder * 
        orderId : string byref -> bool 

Parameters

order
Type: RightEdge.Common..::..BrokerOrder
Fully populated order.
orderId
Type: System..::..String%
out parameter to hold the unique ID generated by the broker plugin.

Return Value

Type: Boolean
true if the order was submitted to the broker, false if not.

Remarks

A true return value does not mean that the order was filled. Listen on the OrderUpdatedDelegate to determine the status of the order as it is changed.

See Also