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 (Declaration)
Function SubmitOrder ( _
	order As BrokerOrder, _
	<OutAttribute> ByRef orderId As String _
) As Boolean
Visual C++
bool SubmitOrder(
	BrokerOrder^ order, 
	[OutAttribute] String^% orderId
)

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

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