Public Sub MarketOrderClosingFailed(ByVal LPOrderID As String, ByVal Reason As String, ByVal BuySell As OperationType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByVal BOOrderID As String, ByVal BOAccountID As String)
Description
This function should be called after CloseMarketOrder function if it returns failed result.
Parameter
Part | Description |
LPOrderID | Closingfailedorder number received from the LP. Value of type is String |
Reason | Failed server response reason.Value of type is String |
BuySell | Closing failed order operation type, received by CloseMarketOrder function. Value of type isOperationType |
Amount | Closing failed order amount of lots, received by CloseMarketOrder function. Value of type is Double |
LPSymbolName | Closing failed order symbol name, received by CloseMarketOrder function. Value of type is String |
LPAccountID | LP account number whichclose order failed on, received by CloseMarketOrder function. Value of type is String |
BOOrderID | The BackOffice order number received by CloseMarketOrder function. Value of type is String |
BOAccountID | The BackOffice account number, received by CloseMarketOrder function. Value of type is String |
See Also