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