Submits an order to modify an open position.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public Order SubmitOrder( string PosID, OrderSettings orderSettings ) |
| Visual Basic (Declaration) |
|---|
Public Function SubmitOrder ( _ PosID As String, _ orderSettings As OrderSettings _ ) As Order |
| Visual C++ |
|---|
public: Order^ SubmitOrder( String^ PosID, OrderSettings^ orderSettings ) |
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
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.