Syntax
GetPendingOrdersWithMO ( AccountId As Long )
Description
The GetPendingOrdersWithMO operation is used to return a list of type (Orders) which holds a given account market order in pending mode.
Request Parameters
Name |
Description |
Required |
AccountId |
- The intended account identifier.
- Type: Long.
- Default: None.
- Constraints: Must be a valid account ID, and accessible by a logged-in client.
|
Yes |
Response Elements
Name |
Description |
Result |
This operation returns a given account pending limit/manage order upon success as a list (of type Order).
The following are the Order data members:
- OrderId: Order ID.
- OrderType: Order Type As OrdersTypeEnum
- OrderTypeDesc: (Delivery, LO, MO, SLTP).
- OrderOperationType: Order Operation Type As OperationTypeEnum.
- OrderOperationBuySell: (BuyStop, Buy, SellStop, Sell).
- Amount: Order Amount.
- SymbolId: Symbol Id.
- StopLoss: Order Stop Loss Price
- TakeProfit: Order Take Profit.
- DelItems: Order Delivery Items.
- DateTime: Order Date Time.
- AccountId: Account ID.
- Note: Order Note.
- PositionTicketId: Position Ticket ID.
Otherwise, an explicit error code is returned.
Type: JSON object as List (of Order) |
See Also
VertexFX WCF Service Index