Cancels all orders currently submitted.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
bool CancelAllOrders() |
| Visual Basic (Declaration) |
|---|
Function CancelAllOrders As Boolean |
| Visual C++ |
|---|
bool CancelAllOrders() |
Return Value
True if cancellation requests were successfully sent, or there were no orders to cancel.
Remarks
Only orders with a submitted or pending status can be cancelled. Orders that are filled or
rejected cannot be cancelled.